But the issue here is that we are changing the copybook with an extra new field and pass the added field length in the Linkage section of the main COBOL Program as DFHCOMMAREA
So how do we adjust the length of the COMMAREA to the new length.
We already have 01 DFHCOMMAREA PIC X(2105) in the main program and we are adding a new field of length X (20) in the copybook so how we will add the DFHCOMMAREA in the main program.
Joined: 24 Mar 2005 Posts: 106 Location: Douglasville, GA USA
You will need to add the 20 bytes to the comarea length and the area you are moving it into. Perhaps I'm failing to see the problem this appears to be a simple change.