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: 1226
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 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 Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm


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