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
 

 

passing values from cobol to rexx

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: passing values from cobol to rexx
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: 2360
Location: Israel

PostPosted: Wed Dec 13, 2006 2:26 pm    Post subject:
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: 1228
Location: Israel

PostPosted: Wed Dec 13, 2006 9:17 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Thu Dec 14, 2006 12:28 am    Post subject:
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    Post subject: Re: passing values from cobol to rexx
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
This topic is locked: you cannot edit posts or make replies. Cobol GUI (like Editor) Kala Mainframe COBOL Programming 14 Wed May 10, 2017 12:30 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 COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am


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