|
M Hello Rob, You wrote: >CPYTOIMPF FROMFILE(ROB/SPOOL) TOSTMF('/rob/spool.txt') RCDDLM(*CRLF) >CPY OBJ('/rob/spool.txt') TODIR('/qntc/rob/qtemp') TOCCSID(*PCASCII) >CPDA1CB Message . . . . : An equivalent encoding scheme could not be >found. >Cause . . . . . : There is not an equivalent *PCASCII encoding scheme > defined for the coded character set identifier (CCSID) 819. CPYTOIMPF creates a target file with the same CCSID as the source file unless you specify otherwise. It would seem that ROB/SPOOL has a CCSID of 819. TOCODEPAGE(*PCASCII) tries to determine a corresponding ASCII CCSID based on the EBCDIC CCSID of the file. The CPDA1CB message implies that the file /rob/spool.txt is in CCSID 819 which is already an ASCII CCSID. So either specify the desired ASCII CCSID (probably 1252) or let it default to using 819. 1252 is MS Windows, Latin 1 819 is ISO 8859-: Latin Alphabet Number 1; Latin 1 countires NOTE:- TOCCSID(*PCASCII) isn't a valid parameter on CPY at VRM440 so either: o you mistyped the example (although it looks like you used cut and paste) o TOCCSID was added to CPY on your release o TOCCSID replaces TOCODEPAGE on your release I'm assuming that TOCCSID is functionally equivalent to TOCODEPAGE. Regards, Simon Coulter. «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«» «» FlyByNight Software AS/400 Technical Specialists «» «» Eclipse the competition - run your business on an IBM AS/400. «» «» «» «» Phone: +61 3 9419 0175 Mobile: +61 0411 091 400 /"\ «» «» Fax: +61 3 9419 0175 mailto: shc@flybynight.com.au \ / «» «» X «» «» ASCII Ribbon campaign against HTML E-Mail / \ «» «»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«»«» +--- | 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.