Execute a REXX Program via JCL



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Execute a REXX Program via JCL

Postby hakghen » Thu Mar 26, 2009 8:44 pm

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!
[]'s,

Hakghen
User avatar
hakghen
 
Posts: 59
Joined: Thu Sep 11, 2008 8:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Execute a REXX Program via JCL

 

Re: Execute a REXX Program via JCL

Postby MrSpock » Thu Mar 26, 2009 9:39 pm

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.
User avatar
MrSpock
Global moderator
 
Posts: 810
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 2 times

Re: Execute a REXX Program via JCL

Postby hakghen » Fri Mar 27, 2009 9:05 pm

Oh, nice! Thanks!! ;D
[]'s,

Hakghen
User avatar
hakghen
 
Posts: 59
Joined: Thu Sep 11, 2008 8:15 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post