I'm converting some BLDINDEX statements to use logical files..
Some of them use partial fields so I'm having to create logicals with
explicitly named fields once I've created the physical file. I.e if I
want the 36 converted RPG to work I have to name all the fields in the
logical.
A C1COMPX I SST(C1COMP 1 15)
A TEXT('1ST 15 BYTES OF COMPANY')
A COLHDG('1ST 15' 'BYTES OF COMP')
A C1COMPX1 I SST(C1COMP 16 25)
A TEXT('LAST 25 BYTES OF COMPANY')
A COLHDG('LAST 25' 'BYTES OF COMP')
Is this the best way to do this or did I miss something in the DDS manual?
I see a trap if/when the physical is changed.
The rpg programs are currently using internal file definitions - my next
step is to use the external definitions.
Thanks
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 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.