MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

EIBRESP field not getting updated

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
Novice
Beginner


Joined: 27 Dec 2002
Posts: 46
Topics: 15

PostPosted: Wed Jun 11, 2003 11:12 pm    Post subject: EIBRESP field not getting updated Reply with quote

Last week we encountered this problem and will appreciate if any one of you could answer the questions I have.

Our shop is primarily into insurance business and bought a new vendor product, written in CICS and COBOL. One of the online screens developed in our system accesses a COMBO program(Same program can be accessed through both batch and online. While adding it to endevor, we add two link cards one for BATCH with DSNELI call and ONLINE with DSNCLI call. All the CICS calls/statements will be embedded between CICS-BEGIN and CICS-END. Accordingly CICS translator takes care of this during compilation process and two separate LOAD MODULES will be created for BATCH and ONLINE).

The program calls has the following hierarchy

PGM A --> PGM B --> PGMC --> PGMD

PGM A is online program developed and used with in our System. PGM B is a COMBO program newly developed. PGM C and PGM D are vendor supplied programs. PGM D has a file read operation using the START BROWSE and READ NEXT COMMANDS. The STARTBR command has a parameter coded as
Back to top
View user's profile Send private message
Meera
Beginner


Joined: 27 Jun 2003
Posts: 7
Topics: 0

PostPosted: Fri Jun 27, 2003 9:14 am    Post subject: Reply with quote

A mistake often made by new CICS programmers is the use/abuse of DFHCOMMARE and workingstorage - the former is under CICS control while the latter is specific to the particular instance(TransID+TermID) of A program. The VSAM files and operations performed on it are also under CICS control. When you returned from D to A, and evaluate the EIBRESP it should show the same value it had before you called B. Why should it change - you did not call B with pointer to A's EIBRESP. The original method of calling created, in essence, DFHCOMMAREA local to A and another local to D - thus overriding the very definition of COMMarea!
What was the values of the fields in your ws-dfheiblk after the return?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group