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

Call DFHEIBLK area in CICS


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

New User


Joined: 18 Dec 2007
Posts: 9
Location: India

PostPosted: Mon Jan 14, 2008 4:45 pm
Reply with quote

Hi All,

In CICS program i am calling some other program in this process i am making use of DFHEIBLK. But my problem is for every call DFHEIBLK this is not populating with the same values. For few calls it is populating with junk because of which my program is getting abended. Could anyone tell me what is the reason it is populating differently? and the data is same for all the cases.

Regards,
Swaraj.
Back to top
View user's profile Send private message
rick

New User


Joined: 18 Jun 2004
Posts: 59
Location: Chennai

PostPosted: Mon Jan 28, 2008 12:07 am
Reply with quote

Swaraj,

There could be a lot of reasons for it.. Try to initialize it... if it doesn't work try to see if there any of the operation happens which overflows data.

Thanks,
Rick
Use [URL] BBCode for External Links
Back to top
View user's profile Send private message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Tue Feb 05, 2008 5:18 pm
Reply with quote

Make sure Task ID is same for both Call and called Module.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Tue Feb 05, 2008 6:29 pm
Reply with quote

The main CICS program receives the DFHEIBLK in its LINKAGE section,
which means it is a piece of storage that does not belong to the program,
but instead belongs to its caller (in that case, CICS).

You cannot initialize it !

The DFHEIBLK is populated only once (time/date can be updated on request).
You are passing the same area from program to program.

You have to make sure that the parameters passed and the one received are corresponding:
If calling program contains:
CALL 'PROG1' USING DFHEIBLK PARAMA PARAMB
Then called program ('PROG1') should contain (during the COBOL compile):
PROCEDURE DIVISION USING DFHEIBLK DFHCOMMAREA PARM2.

Can't you use Intertest (or other equivalent tool) to check the values before, during and after each call ?
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 How to avoid duplicating a CICS Web S... CICS 0
Search our Forums:

Back to Top