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
 

 

Purpose of using COMMAREA in CICS program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
BALU

New User


Joined: 27 Apr 2005
Posts: 3

PostPosted: Wed Apr 27, 2005 5:15 pm    Post subject: Purpose of using COMMAREA in CICS program
Reply with quote

Hi all,

Could you explain the use of COMMAREA in CICS program. How values are passed from one program to another program using COMMAREA. How length of COMMAREA is specified.
Back to top
View user's profile Send private message

elango

New User


Joined: 27 Apr 2005
Posts: 12
Location: chennai

PostPosted: Wed Apr 27, 2005 8:09 pm    Post subject: Purpose of using COMMAREA in CICS program
Reply with quote

hai

COMMAREA (DFHCOMMAREA). The commarea is used to pass user data between programs. The Commarea is specified in the LINKAGE SECTION of your program. There will always be a DFHCOMMAREA in your program whether you specify it or not. If you don?t specify a DFHCOMMAREA in the program then a one byte DFHCOMMAREA is placed in the Linkage Section at compile time. (The compiler will also insert the USING DFHCOMMAREA after the Procedure Division statement).
The maximum size of DFHCOMMAREA is 32K, however it is recommended (by IBM) that it not exceed 24K. The length of the Commarea is returned to your program in the variable EIBCALEN.

This COMMAREA Link from one of your application programs to another, either locally or remotely, anticipating subsequent return to the requesting program (EXEC CICS LINK).

if u have any further clarifications reply me...

regards

elango
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 Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts Asynchronous CICS Processing Question moezbud CICS 0 Mon Mar 06, 2017 6:13 pm
No new posts CICS Question RE: Browse, Readnext an... moezbud CICS 7 Sun Mar 05, 2017 5:45 am
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


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