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

REXX Program run


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
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

Global Moderator


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

PostPosted: Tue Mar 04, 2008 6:55 pm
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
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

Global Moderator


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

PostPosted: Tue Mar 04, 2008 7:01 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
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 isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top