|
Joel, one of the things I found when I was writing PSC400 was that subfile record formats act a little differently than others. With subfile record formats, even output-only fields are returned in the input buffer. Odd? Yes. But that's how it works. And believe me, it caught me by surprise the first time one of my clients' programs counted on it. Joe > From: Joel Fritz > > Hmm... I tried making the fields "both" and input protected. That worked. > However, the record format below also works. Where can I look up > the rules? > I'm beginning to get curious. > > A R TRANSF > A*%%TS DD 20020116 170102 QUSER REL-V5.1 iSeries WDT > A SFL > A CIORDDT L O 12 6DATFMT(*USA) > A CIORDTYPE 10 O 12 17 > A CIMERCH R Y O 12 36EDTCDE(3) > A REFFLD(RREF/MER$ U#LIB/U#REFP) > A CITSH$ R Y O 12 45EDTCDE(3) > A REFFLD(RREF/TSH$ U#LIB/U#REFP) > A CISRCCD R O 12 28REFFLD(RREF/SR U#LIB/U#REFP)
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.