I've hit a wall and I'm hoping someone can help me with a simple solution.

About 10 months ago our data warehouse group asked us to remove packed fields from a file they receive from an outside vendor. At the time I did something simple that replaced the packed fields with blanks. I'm pretty sure I didn't write a program. Unfortunately I don't have any notes on what I did and now they are asking to make it a permanent process. I think it involved creating a file as ASCII and copying data but I can't find a combination that works. I have googled ASCII conversions on the iSeries as well as tried various CRTPF, CPYFRMSTMF, CPYFTMIMPF, and SQL variations over the past day and a half.

Does anyone have a way to do this short of writing a program or an SQL update statement? There is an anomaly in the records that precludes just updating fixed positions in the record. I may have to do that anyway but I would prefer not to.


Rick Chevalier
<<Chevalier, Rick.vcf>>

Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.

This thread ...


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

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