|
Bob, You need to set the codepage for the output file before running the cpytoimpf command. You can do this using the mov or cpy commands and specifying a tocodepage of 00367 which I believe is 7 bit ascii. For full list of code pages look at the International Application Development guide on IBM's online library web page. David Morris >>> Bob Clark <bclark@ussafety.com> 06/30/99 11:28AM >>> I am trying to use the CPYTOIMPF command to write a text file to the IFS so that it may be used by a PC. I am able to get the file written ok using this command: CPYTOIMPF FROMFILE(LIB1/DBFILE) TOSTMF('/DirA/dummy.s38') MBROPT(*REPLACE) RCDDLM(*CRLF) DTAFMT(*FIXED) STRDLM('"') FLDDLM(',') the problem is that it appears to be writing it in EBCDIC. When I open the file on a PC with Client Access, it looks fine(because i have the extension set up to be automatically converted to ASCII). However, the PC that will be reading this file does not have Client Access. Is there any way to make the CPYTOIMPF command convert this file to ASCII? +--- | 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-2024 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.