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

How pass values from one pgm to another pgm in cics


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
samchris

New User


Joined: 31 May 2005
Posts: 26
Location: pune

PostPosted: Mon Apr 10, 2006 9:59 am
Reply with quote

hello friends
anybody tell me how pass values from 1 pgm to another pgm in cics?

thanks in advance
vasanth
Back to top
View user's profile Send private message
shivani_tech
Warnings : 2

New User


Joined: 08 Jan 2006
Posts: 22
Location: UNITED KINGDOM

PostPosted: Mon Apr 10, 2006 11:29 am
Reply with quote

in the main program use commarea and in the subpgm use dfhcommarea in the linkage section.in the main pgm use xctl command wtith commarea and program name.this is how we do in cics
---shivani
Back to top
View user's profile Send private message
prakash271082

New User


Joined: 09 Sep 2005
Posts: 53

PostPosted: Mon Apr 10, 2006 11:48 am
Reply with quote

Hi,
You Could use XCTL or LINK/CALL to pass on values from one of your program to another.
Hopefully the other information provided by Shivani do apply ( like Commarea to be declared in Linkage Section).
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
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
Search our Forums:

Back to Top