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

Purpose of using COMMAREA in CICS program


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts Calling an Open C library function in... CICS 1
No new posts How to 'Ping' a CICS region in JCL CICS 2
No new posts Parallelization in CICS to reduce res... CICS 4
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top