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.
hardrock95Asked:
Who is Participating?
 
Gary PattersonVP Technology / Senior Consultant Commented:
Happy to help.  2 ways.  For all the detail, check out the link to the manual that I provided above.
0
 
Gary PattersonVP Technology / Senior Consultant Commented:
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
0
 
hardrock95Author Commented:
Thanks.  To be clear, is this 2 ways of doing it or do I need both lines? Thanks again.
0
 
hardrock95Author Commented:
I may submit a few more questions today that I believe you could answer quickly if you have time.  Thanks again.  Troy
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.