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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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