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
 

 

How pass values from one pgm to another pgm in cics

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
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    Post subject: How pass values from one pgm to another pgm in cics
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts CICS Transaction attach count of supp... lind sh CICS 1 Wed Jun 21, 2017 1:33 pm
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts CICS Transaction Timeout Hooman24 CICS 2 Sun Apr 16, 2017 2:16 pm


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