There is a field in each of the formats, that exist in the same position ( just by virtue of common key ), but the field names are different. I suppose I could blank all 10 of those fields before the read and then see which one had content after.

I guess I was hoping they had devised a simple replacement for the 'I' spec to facilitate going free form. It appears the INFDS is going to be the simplest. ... In which case I will keep Record ID's till they force me to stop. :)

<dlclark@xxxxxxxxxxxxxxxx> 6/12/2018 2:02 PM >>>
"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 06/12/2018 02:53:17
PM:
As a simple replacement for READ and then Record ID. Just the format
name. Seems it would be tough to test a field in the record w/o
knowing what format was found.


Not really. Back in the day (before record format names and
externally-defined files) they would use I-specs to test a fixed position
in the record for a value and that would set the indicator to identify the
record found. So, I just didn't know how old your program (or your file)
was.


Sincerely,

Dave Clark

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