This is a command that I think needs a bit of work,
you are not alone in finding it frustrating.

If you are copying or creating a file in the IFS
then the TOCCSID parameter is ignored, it is used
when you are specifying the TOFILE (data base file)
In the IFS, if you are creating a new file it appears
you get the CCSID of the FROMFILE. If you are
copying (or replacing) an existing file, you get
the CCSID of the existing file.

By using FTP to create files I found that 819 was
the CCSID that gave me the translation I needed.

So to use this command, I keep a dummy file around
with CCSID 819. Then I make a copy of the dummy file
giving it the name I'll use in the TOSTMF parm.
Then when I run the command I specify MBROPT(*REPLACE).

There should be an easier way, but I haven't found it.

 - HTH,
 - steve cotes

-----Original Message-----
From: Vance Stanley []
Sent: Tuesday, January 02, 2001 2:18 PM

Sorry about this because I think its been covered
before but I am having trouble with the CPYTOIMPF cmd
when I use it to copy from a db2 file to an IFS /ROOT
strm file. It looks as though I am not getting it to
Convert to ASCII. I have provided it a CCSID of 00037
and I have tried others as well. Maybe I am missing
the point and this command does not do the conversion.
If this is the case then I know of other was to
accomplish what I need. 

Thanks in advance!


W. Vance Stanley
Sr. Programmer Analyst
Houston, Texas

| This is the Midrange System Mailing List!
| To submit a new message, send your mail to
| To subscribe to this list send email to
| To unsubscribe from this list send email to
| Questions should be directed to the list owner/operator:

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by 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.