Page 1 of 1

Execute a REXX Program via JCL

PostPosted: Thu Mar 26, 2009 8:44 pm
by hakghen
Hello gentlemen,

I have a 'Hello World' test program written in REXX on this data-set:

DDS1235.TSTDEV.REXX(HWORLD)

And I have a member with JCL coding on this data-set:

DDS1235.TSTDEV.JCL(HWJOB)

What I wanna do is: code onto the HWJOB member a JCL code that would run the REXX exec and save the output on a member called HWOUT on the DDS1235.TSTDEV.JCL data-set.

My knowledge got a bit crappy, so I can't figure out how to do this without a proper example, can any of you gimme a little help/advice? ;)

Thanks in advance!

Re: Execute a REXX Program via JCL

PostPosted: Thu Mar 26, 2009 9:39 pm
by MrSpock
12.2.1.1 Using IRXJCL to run a REXX exec in MVS batch from the z/OS V1R8.0 TSO/E REXX Reference manual.

APPENDIX1.1 Appendix A. Executing the terminal monitor program from the z/OS V1R10.0 TSO/E Customization
manual.

Either option will work, it just matters if you want to just run the REXX interpreter or use TSO/E in batch to run your exec.

Re: Execute a REXX Program via JCL

PostPosted: Fri Mar 27, 2009 9:05 pm
by hakghen
Oh, nice! Thanks!! ;D