× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm working with some S/36 RPG II code shown below. I can "sort of"
understand the repeated definition of the field in column 66, to have more
than one name for the same byte (although the field names in column 66 are
not otherwise used in the program).



I am unclear why the L3 indicator is defined more than once for the fields.
It seems to me that a single definition of L3 would work the same.



Is this some level break idiom that I missed or am not remembering? The
programs are otherwise OK in terms of being straightforward to understand
and work with (given that they are RPG II), so I think the original
programmer must have had some specific reason for coding like this.



<code>

IPRDIST NS 03 1 CP 2 CR 62 C3

I/COPY PAYLIB/QS36SRC,PRDIST

I 66 660GL2 L3

I 66 660GL2A L3

I 66 660GL2B L3

I 66 660GL2C L3

I 66 660GL2D L3

I 67 700DETAILL2

I 62 650GL1 L1

I 71 760DRRN

</code>



Craig Pelkie


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.