` Printed Icetips Article

Icetips Article



Par2: LIKE in a "derived" file declaraton
2007-09-11 -- Randy Goodhew
 
FWIW:
The following Typed Group structure also works:

MyRecord      GROUP,TYPE
LinkWidth         BYTE
LinkType          STRING(1)
LinkFile            STRING(64)
                     END ! group type

DupFile    FILE,DRIVER('TopSpeed'),PRE(DupSAV),CREATE
Record     RECORD
                  LIKE(MyRecord)
                END
                END

Note: The above Group Type could also be used to create a Queue
structure that exactly matches the Record Structure!



Printed November 21, 2024, 10:10 am
This article has been viewed/printed 35218 times.