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
 

 

Reg: Passing data to anotehr program

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
smile_rajeev

New User


Joined: 22 Apr 2005
Posts: 24

PostPosted: Thu May 18, 2006 11:36 am    Post subject: Reg: Passing data to anotehr program
Reply with quote

hi everybody,
Cud anyone let me know that is there any way to pass the information from one program to another other than DFHCOMMAREA.
If so, let me know in detail.

Send me a reply ASAP.
Thnx in advance

Rajeev
Back to top
View user's profile Send private message

gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Thu May 18, 2006 2:22 pm    Post subject:
Reply with quote

Wierd!
Any program calling other program uses CALL, LINK or XCTL statements in CICS environment.
However, if you want to CALL requires USING parameter, LINK and XCTL require COMMAREA to be passed. The called program receives this data in its linkage.

If you have a condition where you want to pass data to another program but not to use the linkage, then here are few options:
1) Calling program can create a TSQ with called program's name as part of TSQ NAME. and then write the required data to this TSQ. Called program then can read this TSQ data.
2)Instead of TSQ one can use TDQ as well in above example
3) Calling program can write the data to be passed in an existing file which can be accessed thru CICS.Then the Called program can read this file. One can use DB2 for this as well. However i think this is a lousy idea.
Back to top
View user's profile Send private message
arunjosephaj

New User


Joined: 21 Mar 2006
Posts: 20
Location: India

PostPosted: Thu May 18, 2006 2:53 pm    Post subject:
Reply with quote

The first point is the best.. Use TSQ.. Well said Kulkarni..
Back to top
View user's profile Send private message
smile_rajeev

New User


Joined: 22 Apr 2005
Posts: 24

PostPosted: Thu May 18, 2006 6:43 pm    Post subject: REg: passing data
Reply with quote

Thnx kulkarni.
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm


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