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

can we fiqure out the calling program from called program


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

New User


Joined: 22 Jun 2006
Posts: 44

PostPosted: Thu Aug 16, 2007 8:17 pm
Reply with quote

Any datanames available in called program to deteremine who the calling program is.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Thu Aug 16, 2007 8:23 pm
Reply with quote

No.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Aug 16, 2007 8:41 pm
Reply with quote

As CICS Guy so eloquently explained, a CICS LINKed to module/CICS XCTLed to/CICS STARTed module can only determine from the CICS control info how the the invoked program was invoked.

If it is necessary for an invoked (CICS LINK/XCTL/START or vanilla COBOL CALL) module to determine which module invoked him, the invoker must supply this info thru application defined areas.
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Fri Aug 17, 2007 10:35 pm
Reply with quote

Look at the ASSIGN Clause and the INVOKINGPROG option.
Back to top
View user's profile Send private message
Mickeydusaor

Active User


Joined: 24 May 2006
Posts: 258
Location: Salem, Oregon

PostPosted: Fri Aug 17, 2007 10:37 pm
Reply with quote

Mickeydusaor wrote:
Look at the ASSIGN Clause and the INVOKINGPROG option.
if you are doing a CALL this
will not help you.
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 DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Calling an Open C library function in... CICS 1
No new posts DB2 Event passed to the Application P... DB2 1
Search our Forums:

Back to Top