Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts Call COBOL or PLI with a click from w... vaibhav gs All Other Mainframe Topics 1 Mon Apr 16, 2018 7:29 pm
No new posts How do I define a DB2 plan for a web ... John Poulakos CICS 5 Sat Apr 14, 2018 1:58 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts LOW VALUES as a KEY juares castro DB2 10 Sat Apr 07, 2018 1:06 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us