View previous topic :: View next topic
|
Author |
Message |
krisdilip
New User
Joined: 13 Dec 2006 Posts: 2 Location: chennai
|
|
|
|
Can anyone tell me how to pass values from a cobol program to a rexx program.
thanks & regards
dilip |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
How do you call the REXX from the COBOL?
O. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
We can suppose that the REXX routine is calling the COBOL program and wants to get a result from it.
In that case, in the COBOL program, you can issue a CALL 'ISPLINK' to execute an ISPF VDEFINE and then a VPUT command.
The REXX routine can then retrieve the value using VGET.
Unfortunately I don't have a running example at hand, so you'll have to search the documentation. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
If this is the case, he can also use one of the TSO/E REXX service routines, which are documented in the fina manual.
O. |
|
Back to top |
|
|
krisdilip
New User
Joined: 13 Dec 2006 Posts: 2 Location: chennai
|
|
|
|
Thank u very much i wl try that
thanks & regards
dilip |
|
Back to top |
|
|
|