View previous topic :: View next topic
|
Author |
Message |
sunilv4u
New User
Joined: 31 Jul 2006 Posts: 5
|
|
|
|
Please let me know how to run a REXX program |
|
Back to top |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
it depends... are you program using ISPF/TSO services? or is just 'plain' Rexx code? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
acevedo
Active User
Joined: 11 May 2005 Posts: 344 Location: Spain
|
|
|
|
maybe one more topic to add to Topics Not Eligible for Discussion list? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
|