|
I think you will find this is working-as-designed. Because you have placed the Packed Decimal field in a (non-external) Data Structure, you are effectively re-defining the variable. The default numeric type is Zoned Decimal for a Data Structure subfield. Try this: DDS FOR MYFILE A R MYFMT A PACKED 2P 0 A ZONED 2S 0 A CHARACTER 2A RPG FOR MYPGM FMyFile IF E Disk D FileDS DS D Packed Inz D Zoned Inz D Character Inz /Free Dsply Packed '*REQUESTER'; *InLR = *on; /End-Free COMPILER X-REF LIST (IGNORE THE I-SPECS) Global Field References: Field Attributes References (D=Defined M=Modified) *INLR N(1) 16M *RNF7031 CHARACTER A(2) 7D 14D *RNF7031 FILEDS DS(6) 4D PACKED S(2,0) 5D 12D 15 <<<<<<< *RNF7031 ZONED S(2,0) 6D 13D To preserve the Data Type as Packed, define as an externally (E) defined Data Structure. Brian Parkins
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.