how to submit a jcl



IBM's Command List programming language & Restructured Extended Executor

how to submit a jcl

Postby syamcs » Thu Mar 03, 2011 12:52 pm

hi all
i have got a small requirement, can any one tell me how to submit a jcl using REXX.
regards
syam
syamcs
 
Posts: 56
Joined: Thu Feb 10, 2011 5:36 pm
Location: chennai
Has thanked: 0 time
Been thanked: 0 time

Re: how to submit a jcl

 

Re: how to submit a jcl

Postby Akatsukami » Thu Mar 03, 2011 3:42 pm

syamcs wrote:hi all
i have got a small requirement, can any one tell me how to submit a jcl using REXX.
regards
syam

No, because the TSO SUBMIT command works whether it is embedded in Rexx or CLIST or is entered manually. To the left, it is possible to run Rexx outside the TSO environment, in which case the SUBMIT command will not work (I suppose that you could write your JCL to the internal reader, but now we're talking about being to program).
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1054
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: how to submit a jcl

Postby Pedro » Thu Mar 03, 2011 8:15 pm

Use the SUBMIT command. See the help for SUBMIT

1. You can specify a dataset to submit
-or-
2. you can QUEUE the JCL statements and then SUBMIT *
Pedro Vera
User avatar
Pedro
 
Posts: 571
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 40 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post