View previous topic :: View next topic
|
Author |
Message |
smile_rajeev
New User
Joined: 22 Apr 2005 Posts: 24
|
|
|
|
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 |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
|
|
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 |
|
|
arunjosephaj
New User
Joined: 21 Mar 2006 Posts: 20 Location: India
|
|
|
|
The first point is the best.. Use TSQ.. Well said Kulkarni.. |
|
Back to top |
|
|
smile_rajeev
New User
Joined: 22 Apr 2005 Posts: 24
|
|
|
|
Thnx kulkarni. |
|
Back to top |
|
|
|