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
 
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: 4650
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: 4650
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
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm

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