Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to pass data thru COMMAREA more than 64kb
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Fri Dec 19, 2008 2:24 am    Post subject:
Reply with quote

Quote:
generally we do not manipulate DFHCOMMAREA. Another variable is created in WORKING-STORAGE section with the same size as DFHCOMMAREA and data is moved into that variable, before the program uses it and manipulates it


FYI: AREAS in a COBOL WORKING STORAGE are known as fields,
and are fixed length. They are not the same as variables found in languages such as JAVA and XMScript.
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Fri Dec 19, 2008 4:25 am    Post subject: Re: How to pass data thru COMMAREA more than 64kb
Reply with quote

muthukumarapandian wrote:
Hi,

The size of the commarea is 64 kb if i want to store more than that means is it possible or not.


The maximum size of a commarea is 32,763 (CICS owns the last 4-Bytes of EIBCALEN), even though EIBCALEN is a signed Binary halfword.

If you view it as an unsigned Binary halfword, then yes, it can have a maximum of X'FFFF' (decimal 65,535). However, it is signed and therefore, has a maximum of X'7FFF', minus 4.

Carefully review the following LINK as it discusses the COMMAREA alternative, which is ===> CONTAINERS -

http://ibmmainframes.com/viewtopic.php?p=164265&highlight=#164265

Regards,

Bill
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Fri Dec 19, 2008 5:10 am    Post subject:
Reply with quote

Quote:
The maximum size of a commarea is 32,763 (CICS owns the last 4-Bytes of EIBCALEN), even though EIBCALEN is a signed Binary halfword.


Bill, I stand corrected.


Thanks,
Earl
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
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts masking data with HPU jzhardy DB2 0 Tue May 14, 2019 2:43 pm
No new posts How to browse RECFM=VBS DSORG=PSE seq... Alan Playford JCL & VSAM 7 Fri May 10, 2019 2:59 pm
No new posts data conversion error maxsubrat PL/I & Assembler 4 Thu May 09, 2019 10:57 pm
No new posts How to Hash a data inCOBOL Log Thangavel COBOL Programming 10 Tue May 07, 2019 8:35 pm
No new posts refresh data from production - update... jzhardy DB2 1 Mon May 06, 2019 5:06 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us