|
Yes,.. I code most if not a my report programs in this manner. - Jon -----Original Message----- From: M. Lazarus [mailto:mlazarus@ttec.com] Sent: Sunday, December 12, 1999 11:56 AM To: RPG400-L@midrange.com Subject: RE: PRTF Overflow John, At 07:35 AM 12/10/99 -0800, you wrote: Mark, With the following file spec: FFilename++IPEASFRlen+LKlen+AIDevice+.Keywords+++++ fQprint o f 132 printer Oflind(*InOf) After I've printed the headings in the *INZSR/1st Cycle, I don't have to code the EXCEPT HEADER again. Upon each EXCEPT DETAIL, the (f)etch retrieves the status of the overflow indicator, if *ON, then the HEADER will print. Thus the "o Or Of " means print upon request, (via EXCEPT) Or *InOf = *ON. I didn't realize that the cycle would respect a condition within a Named Except group. Are you sure that's the way it works? -mark -----Original Message----- From: M. Lazarus [ mailto:mlazarus@ttec.com <mailto:mlazarus@ttec.com> ] Sent: Wednesday, December 08, 1999 9:02 PM To: RPG400-L@midrange.com Subject: RE: PRTF Overflow Jon, At 10:47 AM 12/8/99 -0800, you wrote: >I usually print the headings in the *INZSR or First cycle, then on the >definition of the output specs, define the headings EXCNAM definition with >an OR overflow indicator and define the detail EXCNAM to Fetch the overflow >indicator as follows: > >OFilename++DF..N01N02N03Excnam++++B++A++Sb+Sa+ >oQprint e Header 2 1 >o Or Of > >OFilename++DF..N01N02N03Excnam++++B++A++Sb+Sa+ >o ef Detail 2 > I'm a little confused why you have the "o Or Of " > line. Since the Header line is not conditioned and it's an except output > line, the OF conditioning is never executed. -mark +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.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.