Page 1 of 1

Is there any TSO comamnd to submit the job?

PostPosted: Wed Apr 20, 2011 6:20 pm
by parthiban
Is there any TSO comamnd to submit the job? instead of opening the jcl and submit .It would help to use it in any programming lang.,just by calling the job name to submit the job.

Re: Is there any TSO comamnd to submit the job?

PostPosted: Wed Apr 20, 2011 7:23 pm
by Akatsukami
parthiban wrote:Is there any TSO comamnd to submit the job? instead of opening the jcl and submit .It would help to use it in any programming lang.,just by calling the job name to submit the job.

This is a joke, right?

Re: Is there any TSO comamnd to submit the job?

PostPosted: Wed Apr 20, 2011 7:46 pm
by Robert Sample
How do you expect to copy each line of JCL to JES if you don't open the file containing the JCL?

Bottom line: what you are asking is not possible using a file. You could use the SUBMIT * command in TSO, but then you have to type in each line of JCL from the terminal -- and if you made a single typo, the job would fail.

Re: Is there any TSO comamnd to submit the job?

PostPosted: Wed Apr 20, 2011 7:48 pm
by parthiban
I want to submit 15 jobs weekly/manually? ..Is it possible to do it in rexx lang ?

Re: Is there any TSO comamnd to submit the job?

PostPosted: Wed Apr 20, 2011 7:58 pm
by NicC
What does the rexx language reference say and the TSO Command Reference manual say? And you should look at the ISPF Edit and Edit Macros manual.
For what it is worth I have Rexx programs that submit jobs.

Re: Is there any TSO comamnd to submit the job?

PostPosted: Wed Apr 20, 2011 8:00 pm
by Robert Sample
For that matter, what's wrong with typing "submit filename'" five times to submit the different jobs?

Re: Is there any TSO comamnd to submit the job?

PostPosted: Wed Apr 20, 2011 8:03 pm
by NicC
For that matter (even more!) you are going to have to fire up your Rexx thingy each time so it is probably quicker to have these jobs in one library, oprn it, open the member and type 'sub'

Re: Is there any TSO comamnd to submit the job?

PostPosted: Thu Apr 21, 2011 6:19 am
by DFSHDC40
Maybe there is a JCL that can do this for me without any need to use TSO/rexx/clist/assembler or any other language .... OK 20 dyas late but still april [i know i can squirt to a rdr dd !]