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
 

 

REXX Program run

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sunilv4u

New User


Joined: 31 Jul 2006
Posts: 5

PostPosted: Tue Mar 04, 2008 6:30 pm    Post subject: REXX Program run
Reply with quote

Please let me know how to run a REXX program
Back to top
View user's profile Send private message

acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Tue Mar 04, 2008 6:53 pm    Post subject:
Reply with quote

it depends... are you program using ISPF/TSO services? or is just 'plain' Rexx code?
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Mar 04, 2008 6:55 pm    Post subject: Reply to: REXX Program run
Reply with quote

IRXJCL is the program you can use to run a REXX exec in MVS batch from JCL.

See this link for more details.

If you want to invoke TSO in MVS batch, and then run your REXX exec from within a TSO/E Address space, you can invoke the TSO Terminal Monitor Program (TMP) from JCL:

See the "z/OS V1R7.0 TSO/E Customization" Appendix A:

APPENDIX1.1 Appendix A. Executing the Terminal Monitor Program.

If you want to invoke TSO and ISPF in MVS batch, you still need to invoke the TMP program, but then you also need to start ISPF services and include all of the necessary ISPF libraries in your job step:

1.1 Invoking an ISPF Application.

For what it's worth, if you have plans to use TSO services, then there's no good reason NOT to just use the IKJEFT* TMP programs instead of IRXJCL.
Back to top
View user's profile Send private message
acevedo

Active User


Joined: 11 May 2005
Posts: 344
Location: Spain

PostPosted: Tue Mar 04, 2008 6:58 pm    Post subject:
Reply with quote

maybe one more topic to add to Topics Not Eligible for Discussion list? icon_question.gif
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Mar 04, 2008 7:01 pm    Post subject: Reply to: REXX Program run
Reply with quote

Yep, I plan to. Also, I'm going to add anything to do with the proper allocation of TSO libararies (SYSPROC or SYSEXEC) to a session, the use of TSO ALTLIB, etc.
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 -> JCL & VSAM 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 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 Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am


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