Is there any TSO comamnd to submit the job?



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

Is there any TSO comamnd to submit the job?

Postby parthiban » Wed Apr 20, 2011 6:20 pm

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.
Parthiban jayaraman
mainframe rexxer,
Banglore
parthiban
 
Posts: 66
Joined: Mon Oct 20, 2008 7:54 pm
Location: Bangalore-India
Has thanked: 0 time
Been thanked: 0 time

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

 

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

Postby Akatsukami » Wed Apr 20, 2011 7:23 pm

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?
"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: 1053
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

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

Postby Robert Sample » Wed Apr 20, 2011 7:46 pm

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.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

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

Postby parthiban » Wed Apr 20, 2011 7:48 pm

I want to submit 15 jobs weekly/manually? ..Is it possible to do it in rexx lang ?
Parthiban jayaraman
mainframe rexxer,
Banglore
parthiban
 
Posts: 66
Joined: Mon Oct 20, 2008 7:54 pm
Location: Bangalore-India
Has thanked: 0 time
Been thanked: 0 time

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

Postby NicC » Wed Apr 20, 2011 7:58 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

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

Postby Robert Sample » Wed Apr 20, 2011 8:00 pm

For that matter, what's wrong with typing "submit filename'" five times to submit the different jobs?
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

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

Postby NicC » Wed Apr 20, 2011 8:03 pm

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'
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

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

Postby DFSHDC40 » Thu Apr 21, 2011 6:19 am

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 !]
If the code hasn't been changed, why is the LKED date today?
User avatar
DFSHDC40
 
Posts: 41
Joined: Sat Oct 16, 2010 4:16 pm
Location: IMS.SDFSRESL
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post