Article ID: 184819
Article Last Modified on 11/24/2004
01 LU62RS36-PARAMETER2.
05 ALLTYPES.
10 SIZE-OF-ALLTYPES PIC S9(4) COMP.
10 MEMBER1 PIC S9(4) COMP.
10 FILLER PIC X(3).
10 MEMBER2 PIC S9(5) COMP-3.
10 MEMBER3 PIC S9(9) COMP.
10 MEMBER4 PIC S9(9) COMP-3.
10 MEMBER5 COMP-1.
10 MEMBER6 PIC S9(7)V9(2) COMP-3.
In contrast, when a parameter is defined as a bounded recordset in
Component Builder (upper bounds specified by a number), the exported COBOL
definitions present the recordset (ALLTYPES) as a table where the number of
occurrences equals the bounds specified in Component Builder (100 in this
example).
05 PARAMETER2 OCCURS 100 TIMES.
10 ALLTYPES.
15 SIZE-OF-ALLTYPES PIC S9(4) COMP.
15 MEMBER1 PIC S9(4) COMP.
15 FILLER PIC X(3).
15 MEMBER2 PIC S9(5) COMP-3.
15 MEMBER3 PIC S9(9) COMP.
15 MEMBER4 PIC S9(9) COMP-3.
15 MEMBER5 COMP-1.
15 MEMBER6 PIC S9(7)V9(2) COMP-3.
Keywords: kbprb KB184819