× 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.



you can't go back to line 1. your loop needs to read both files B and C and
print accordingly. Something like:

          READ FILEA                     99
*IN99          DOWEQ'0'
KEY       CHAINFILEB               98
KEY       CHAINFILEC               97

Use dou to ensure line always printed for filea

*IN97          DOUEQ'1'
*IN98          ANDEQ'1'
          EXCPTLINE
*IN98          IFEQ '0'
KEY       READEFILEB                     98
          ENDIF
*IN97          IFEQ'0'
KEY       READEFILEC                     97
          ENDIF
          ENDDO
          READ FILEA                     99
          ENDDO

Your output specs need to then condition the output from records on FILEB
and FILEC with indicators 97 and 98.



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.