IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to calculate the commarea?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
babujangam

New User


Joined: 14 Dec 2005
Posts: 8

PostPosted: Thu Dec 29, 2005 3:41 pm
Reply with quote

Hi to all,
If we add an extra record in copy book and try to implement the same in our cobol program. how will we do change the commarea.

give me answer asap.
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Thu Dec 29, 2005 4:26 pm
Reply with quote

The length of the commarea is not affected unless you are passing the copybook in the commarea.
Back to top
View user's profile Send private message
shamtab

New User


Joined: 19 Aug 2005
Posts: 4
Location: INDIA

PostPosted: Fri Dec 30, 2005 4:12 pm
Reply with quote

Thanks Rexx Guy for the reply.

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.

Please suggest ASAP.
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Fri Dec 30, 2005 4:41 pm
Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts how to calculate SUM value for VB fil... DFSORT/ICETOOL 1
No new posts how to calculate SUM for VB file usin... JCL & VSAM 1
No new posts CICS COMMAREA CICS 3
No new posts Calculate with timestamp PL/I & Assembler 19
No new posts calculate the record count and based ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top