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
 

 

Call DFHEIBLK area in CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: Call DFHEIBLK area in CICS
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    Post subject:
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
www.rick.co.in
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    Post subject:
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: 1224
Location: Israel

PostPosted: Tue Feb 05, 2008 6:29 pm    Post subject:
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    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 INDEPENDENT CICS TS 4.1 MRO REGION UP... Kyle Carroll CICS 0 Wed Dec 14, 2016 6:55 pm
No new posts CICS START AND CANCEL blayek CICS 1 Wed Dec 07, 2016 3:27 am
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm


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