|
Hi, Iam using FIXNBR opcode (RPG4) on the H-spec to ignore the invalid zoned and packed values(decimal data error). This necesaiates the file sttructure to be defined on the I-Spec, and the file has to be defined as primary file. Instead of defining the file as primary and defining that file data fields on I -Spec,Can't we define the same fields on the D-Spec and use the FIXNBR opcode. Here is an sample source code. H FIXNBR(*ZONED:*INPUTPACKED) FPATHX IP F 705 DISK IPATHX NS 01 I 3 18 ACCTN I 22 25 MERSY I 54 55 DCLRE I P 56 62 2AUTAM Thanks, > Vijayendra V. >
This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message. Any unauthorised review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in reliance on this e-mail is strictly prohibited and may be unlawful. Visit us at http://www.cognizant.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.