Link to home
Start Free TrialLog in
Avatar of hardrock95
hardrock95

asked on

Define external data structure with free d specs in RPG

Would anyone know how to define an external data structure with RPG free D spec?  Thanks ahead for any help.
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America image

DCL-DS myfile EXT END-DS;
DCL-DS extds1 EXTNAME('MYFILE') END-DS;

Note - when using multiple keywords, the EXT or EXTNAME needs to be the first one.

https://www-01.ibm.com/support/knowledgecenter/ssw_ibm_i_72/rzasd/freedatastructure.htm
Avatar of hardrock95
hardrock95

ASKER

Thanks.  To be clear, is this 2 ways of doing it or do I need both lines? Thanks again.
ASKER CERTIFIED SOLUTION
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I may submit a few more questions today that I believe you could answer quickly if you have time.  Thanks again.  Troy