On 2017-09-26 11:13 AM, Vernon Hamberg wrote:
I believe one can also /include or /copy non-**free stuff into a **freesource - I can't verify it for I-specs, and it does mean maintaining an extra source member just for I-specs.


You're right, you can copy non-**FREE source into **FREE source and vice versa.

If you had multiple sections of fixed-form code, say both I and O specs, you could put them in the same "extra" source file and use /IF to choose which section of code you wanted. That way you'd only need one extra source member.

Source member ABC001:
**FREE
...
/DEFINE ISPECS
/COPY ABC001H
...
/DEFINE OSPECS
/COPY ABC001H

Source member ABC001H:

/if defined(ISPECS)
IRECORDB
I BFIELD1 AFIELD1
I BFIELD2 AFIELD2
/undefine ISPECS
/eof
/endif

/if defined(OSPECS)
Oqprint e
O afield
O 'some text'
/undefine OSPECS
/eof
/endif

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2020 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].