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: 4649
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: 4649
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 Passing data from REXX to C programme... chong.zhou All Other Mainframe Topics 0 Wed Jul 26, 2017 4:55 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
No new posts How system know which REXX to excute? jackzhang75 CLIST & REXX 14 Thu Jul 06, 2017 1:09 am
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts REXX - Dynamic file Creation d_sarlie CLIST & REXX 7 Tue Jun 27, 2017 7:30 pm


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