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
 
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 Question related to Data dictionary f... rexx77 SYNCSORT 3 Thu Aug 31, 2017 7:23 am
No new posts Extract Data till prev hour balaji81_k DB2 16 Fri Aug 25, 2017 9:25 pm
No new posts FTP data transfer from PC to Mainfram... AJAYREDDY All Other Mainframe Topics 8 Wed Aug 23, 2017 9:59 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm

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