Some thoughts

LIKEREC requires you to have an F-spec in the program for the file. This is fine if you are doing native IO - I like using these kinds of DS for host structures in SQL, also. In that case, I don't really want an F-spec whose only purpose is to bring the format definition into the program.

LIKEREC is nice because it is automatically QUALIFIED - one must remember to add QUALIFIED to EXTNAME.

I see that from 7.1, at least, one can specify an F-spec as a TEMPLATE, so that the specs are used only at compile-time - that'd let us use LIKEREC more, seems to me. Have to try it sometime soon!

HTH
Vern

On 6/24/2015 1:33 PM, Gary Thompson wrote:
We have a mix of EXTNAME and LIKEREC in our inventory.
Currently I prefer LIKEREC because there seem to be fewer ways to code it.
Any advice as to which to use and why ?
Thanks!


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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