|
Have you looked at CPYFRMIMPF and CPYTOIMPF? Those are more of the replacement for CPY...PCD. IBM got rather tyrannical about code pages and ccsid's in V5R3 and beyond. Even had to update their Memo to Victims(Users) about it. Some people got around the V5R3 BS by using combining CPY...STMF as an intermediary between CPY...IMPF. Other people got around it by not using the CPY...IMPF and using RPGLE to read/write from the IFS directly. As a side benefit they found out: - they could better handle exceptions like someone trying to upload a 30 character part number into a 15A field. - And, it ran FASTER rolling your own than using the CPY...IMPF commands! Run a CPY...IMPF in debug one time and see the SQL going on under the covers. Rob Berendt
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.