Theo Kouwenhoven
asked on
Reserverd word in full-free DS
Hi experts,
Trying to create the DS below, but get a compile error on subfield "Select", when I change it in e.g. iSelect it's ok.
I understand that Select is probably a reserved word, but I need this for my WSDL generation.
For now I solved it by using a DS specification with D-sepcs.
I can't imagine that I have to use an old-fashioned D-spec line for this type of constructions in full-free.
Trying to create the DS below, but get a compile error on subfield "Select", when I change it in e.g. iSelect it's ok.
I understand that Select is probably a reserved word, but I need this for my WSDL generation.
Dcl-Ds InDs Qualified;
Select Char(10);
Info Char(10);
Dcl-Ds Details;
Detail_LENGTH Int(5);
Dcl-Ds Detail Dim(10);
DetailText Char(25);
DetailCode Char(10);
End-Ds;
End-Ds;
End-Ds;
For now I solved it by using a DS specification with D-sepcs.
I can't imagine that I have to use an old-fashioned D-spec line for this type of constructions in full-free.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Solved it
ASKER
BTW Nested structures give some issues in "IBM Rational Developer for i V9.5" ; prompting will not work .
InDs. + [ctrl][space] will prompt iSelect, Info, Details
InDs.Details + [ctrl][space] will prompt nothing.
Waiting on patch :-)