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



On 2018-10-20 5:25 PM, Brian Parkins wrote:
I think you have some superfluous code there, Shane.

Your existing code could be written as this single line:

D ADS           EUDS                  EXTNAME(FILE)

- the "U" in column 23 assumes a Data Area Data Structure and reads in the *DTAARA ADS at the start of the program - no need for DEFINE or IN.

The equivalent free format would look like:

     Dcl-DS ADS EXTNAME('FILE') Dtaara(*Auto) End-DS;


Brian, that would make the program behave differently. It would be equivalent to IN *LOCK at the beginning of the program and OUT at the end. Shane's program was just doing an IN, without lock and without any change of the data area.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.