IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

passing values from cobol to rexx


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
krisdilip

New User


Joined: 13 Dec 2006
Posts: 2
Location: chennai

PostPosted: Wed Dec 13, 2006 2:17 pm
Reply with quote

Can anyone tell me how to pass values from a cobol program to a rexx program.

thanks & regards
dilip
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Dec 13, 2006 2:26 pm
Reply with quote

How do you call the REXX from the COBOL?

O.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Wed Dec 13, 2006 9:17 pm
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Dec 14, 2006 12:28 am
Reply with quote

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
View user's profile Send private message
krisdilip

New User


Joined: 13 Dec 2006
Posts: 2
Location: chennai

PostPosted: Thu Dec 14, 2006 10:11 am
Reply with quote

Thank u very much i wl try that
thanks & regards
dilip
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
Search our Forums:

Back to Top