niks_jude Beginner
Joined: 23 Nov 2006 Posts: 8 Topics: 2
|
Posted: Tue Nov 28, 2006 1:21 am Post subject: Format change program in cobol required |
|
|
I need to convet a table in the format 1 to format 2.
Format 1
Code: |
DC CL2'00' PLAN CODE
DC CL1'A' RULE CODE
DC CL2'**' STATE CODE
DC CL1'*' DB CODE
DC CL1'*' S EX CODE
DC CL1'*' RATE CLASS
DC CL1'*' BAND CODE
DC PL2'899' EFFECTIVE YEAR
DC PL2'998' EFFECTIVE DAY
DC PL2'001' HIGH DURATION
DC PL2'999' HIGH ISSUE AGE
DC PL2'000' GRACE PERIOD
DC PL6'00000000000' CHARGE AMOUNT
DC PL4'0000006' CHARGE PERCENTAGE
DC CL1'M' ALLOWANCE CODE
DC PL4'0000010' FREE PERCENTAGE
DC PL3'00000' MONTHS FREE CHARGE
|
to Format 2
Code: |
DC C'00',C'G',C'**',C'*',C'*',C'*',PL2'899',PL2'998'
DC PL2'999',PL2'999',PL2'030',PL6'00000000000'
DC PL4'0000000',C' ',PL4'0000000',PL3'00000'
|
|
|