Trying to define a nested data structure in free form definitions, and the
compiler is complaining. Do you know what I'm doing wrong? I've inserted
the error messages where they're reported by the compiler

dcl-ds T2_t qualified template;
RNF3556: END-DS statement missing for a group containing free-form
statements
dcl-ds Fam qualified;
Col like(CurCol) INZ;
Wid uns(5) inz(10);
Hdg1 like(ColHdr_t) inz('Product');
Hdg2 like(ColHdr_t) inz('Family');
end-ds;

dcl-ds Fac qualified;
Col like(CurCol) INZ;
Wid uns(5) inz(10);
Hdg1 like(ColHdr_t) inz('Dekko');
Hdg2 like(ColHdr_t) inz('Facility');
end-ds;
end-ds T2_t;

RNF3551: END-XX is not expected.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 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.