|
You must need a ptf. I haven't a clue as to the number. I thought it was
standard equipment after v4r3. We're at v4r4. You can either get the ptf,
do what you've been doing, or create the file using cpytostmf or a text
editor first (one time only). The code page parm really does exist--here's
a prompted screen that's stitched together from the two pages of available
parms:
Copy To Import File (CPYTOIMPF)
Type choices, press Enter.
From file: FROMFILE
File . . . . . . . . . . . . . > XXXX
Library . . . . . . . . . . *LIBL
Member . . . . . . . . . . . . *FIRST
To data base file: TOFILE
File . . . . . . . . . . . . .
Library . . . . . . . . . . *LIBL
Member . . . . . . . . . . . . *FIRST
To stream file . . . . . . . . . TOSTMF > '/xxxxxx'
Replace or add records . . . . . MBROPT > *REPLACE
To CCSID . . . . . . . . . . . . TOCCSID *FILE
Record delimiter . . . . . . . . RCDDLM > *CRLF
Record format of import file . . DTAFMT *DLM
String delimiter . . . . . . . . STRDLM '"'
Field delimiter . . . . . . . . FLDDLM ','
Mo
Copy To Import File (CPYTOIMPF)
Type choices, press Enter.
Null field indicator . . . . . . NULLIND *NO
Decimal point . . . . . . . . . DECPNT *PERIOD
Date format . . . . . . . . . . DATFMT *ISO
Time format . . . . . . . . . . TIMFMT *ISO
STREAM FILE CODE PAGE . . . . . STMFCODPAG > *PCASCII
> -----Original Message-----
> From: rob@dekko.com [mailto:rob@dekko.com]
> Sent: Tuesday, February 27, 2001 10:44 AM
> To: MIDRANGE-L@midrange.com
> Subject: RE: SNDEMAIL: Having problems with a text file
>
>
>
> Keyword STMFCODPAG not valid for this command.
>
>
> Rob Berendt
>
> ==================
> Remember the Cole!
>
>
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.