Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to calculate the commarea?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: how to calculate the commarea?
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    Post subject:
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    Post subject: Re: how to calculate the commarea?
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to calculate an specific transact... lind sh CICS 2 Tue Sep 13, 2016 9:20 pm
No new posts Calculate a timeframe with DFsort Gerd Hofmans DFSORT/ICETOOL 6 Thu Jan 14, 2016 5:30 pm
No new posts Calculate Keylen parameter provided i... kratos86 IMS DB/DC 5 Wed Aug 27, 2014 1:19 am
No new posts Can I calculate the total MIPS consum... ocjohnh All Other Mainframe Topics 2 Thu Jan 09, 2014 9:36 pm
No new posts How do I coding assembly code for hex... Mansik Kim PL/I & Assembler 32 Fri Dec 27, 2013 7:23 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us