|
Wow, Barbara, is that legal? I thought the RPG compilers were single passes. So how would it know the size of Error in the middle of Error? That's good to know. I've always found it a pain to figure out what size it's going to be then type it in as a constant number. Regards, Jim Langston -----Original Message----- From: bmorris@ca.ibm.com [mailto:bmorris@ca.ibm.com] Maybe even easier is to use %SIZE to initialize the first subfield. D Error DS D Er_BytesPr 1 4I 0 INZ(%SIZE(Error)) D Er_BytesAv 5 8I 0 INZ(0) D Er_MsgID 9 15 D Er_Reserv 16 16 D Er_MsgDta 17 272 Barbara Morris
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.