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
 
How to pass values from REXX to COBOL ( ISPF environment )

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Ruthran

New User


Joined: 28 Feb 2009
Posts: 3
Location: India

PostPosted: Fri Apr 16, 2010 12:57 pm    Post subject: How to pass values from REXX to COBOL ( ISPF environment )
Reply with quote

Hi,

Someone please help me in this.

I am trying to pass some values to cobol from REXX. My code is like below.

/*rexx*/
parm1='Sample data'
ADDRESS ISPEXEC "LIBDEF ISPLLIB DATASET ID('"<load module>"')"
ADDRESS ISPEXEC "Select Pgm(pgm name) parm(&parm1)"
exit

However it looks like not sending the proper values to my cobol program.

Assist how to send values to cobol program from REXX

Thanks, Ruthran
Back to top
View user's profile Send private message

enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10478
Location: italy

PostPosted: Fri Apr 16, 2010 1:02 pm    Post subject: Reply to: How to pass values from REXX to COBOL
Reply with quote

the call is done properly, as per
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ISPZRS61/3.63?SHELF=ISPZPM61&DT=20071211172749

telling does not work is not enough for problem determination

here is a link to the full bunch of the ISPF manuals
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/ISPZPM61

more ispf related, moved where it belongs
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 -> TSO/ISPF 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. Issue in suppressing leading zeros &a... Vijay_Sirisha COBOL Programming 21 Thu Jun 07, 2018 8:01 pm
No new posts VBS to VB in COBOL and JCL srajendran2 COBOL Programming 12 Fri Jun 01, 2018 3:04 am
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts SYSADATA - COBOL - Structure displace... ganasrinivasan COBOL Programming 3 Thu May 24, 2018 9:45 pm

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