MIDRANGE dot COM Mailing List Archive

editing numeric fields in a physical file


I am copying records from an input file to an output file.

Can I use edit codes in the DDS field definition of the output file such that a CPYF *MAP will change a packed numeric field to an alpha or at lease a zoned numeric field with zero suppression?

Is there a method to force the edit code to apply when writing to a PF?


Input physical file:

OrderAmt 7 2P

Output physical file:

OrderAmt 9 EDTCDE(N)

Data example:

x "0012345C"




This outbound email has been scanned for all viruses by the MessageLabs Skyscan service.
For more information please visit http://www.symanteccloud.com

Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2015 by MIDRANGE dot 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 here. If you have questions about this, please contact