We have to create a schema for the below.
10 :LSRR:-CARD-INFORMATION-COUNT PIC 9(04).
10 :LSRR:-CARD-INFORMATION OCCURS 1 TO 1000 TIMES
15 :LSRR:-CARDSEQUENCENUMBER PIC 9(04).
15 :LSRR:-CARDNUMBER PIC X(19).
10 :Next field
The field LSRR:-CARD-INFORMATION occurs 1000 times depending on the LSRR:-CARD-INFORMATION-COUNT. Does anyone has a sample schema where in a tag can repeat based on another variable. We can create a schema based on that.