how to schedule a job without using scheduler(sw)



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

how to schedule a job without using scheduler(sw)

Postby abkumarch » Tue Oct 30, 2007 8:22 pm

U want to run a job in 27th of each month, with out using scheduler (control-M)
how can u do it?
abkumarch
 
Posts: 21
Joined: Tue Oct 30, 2007 3:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: how to schedule a job without using scheduler(sw)

Postby MrSpock » Tue Oct 30, 2007 9:30 pm

You'll need software that's:

1. Always active and
2. is date & time aware.

If you know of a way to setup a schedule on another system or server, you can always use an FTP process to submit a job directly into the JES internal reader. Outside of that, you need SOMETHING.
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: how to schedule a job without using scheduler(sw)

Postby abkumarch » Wed Oct 31, 2007 9:15 pm

i m sorry mr spoke bt i m not satisfied, plz elaborate... I dont thk any spl sw will b used.. rather i thk there may b some option in the class parameter or any job stmt parameter
abkumarch
 
Posts: 21
Joined: Tue Oct 30, 2007 3:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: how to schedule a job without using scheduler(sw)

Postby William Thompson » Thu Nov 01, 2007 3:20 pm

abkumarch wrote:i m sorry mr spoke bt i m not satisfied, plz elaborate... I dont thk any spl sw will b used.. rather i thk there may b some option in the class parameter or any job stmt parameter

Are you texting this on your phone or do you have a full keyboard in front of you?
Please try to spell out words and preview you writing before submitting.....

You are not satisfied? Why not? You asked a question and it got answered. If you do not like the answer, why not?
If you think the answer is in the CLASS Parameter or any JOB Statement parameter, please point it out to us......
William Thompson
 
Posts: 81
Joined: Sat Jun 09, 2007 4:24 am
Location: Tucson AZ
Has thanked: 0 time
Been thanked: 1 time

Re: how to schedule a job without using scheduler(sw)

Postby abkumarch » Thu Nov 08, 2007 1:32 am

I GOT it GUYS.....

1. Setup your job in the production job scheduling system.

2. Use the JES2 "Set Automatic Command" facility:

$TA,T=hh.mm,i=nnn,'$VS,''S JOB,N=myjob'''

where "T=hh.mm" is the time you want to submit the job, "i=nnn" is the amount of time (in seconds) to wait before repeating the command, and the rest is the JES2 command to be issued. You can find out more about the "$TA" and "$VS" commans in the "JES2 Commands Reference Manuals".

3. Modification of #2. Submit your job with "TYPRUN=HOLD". Then, use the "$TA" JES2 command to schedule a command to release your job at a specified time (the "$A" command). Of course, your job would then have to reload itself with the "TYPRUN=HOLD" enabled for the next runtime.

4. On a Netview console, setup an "EVERY" timer event to submit your job, i.e. "EVERY 24:00,SUBMIT 'MY.JCL(MYJOB)' ".


i got this ans in the experts forum.. so thank god
abkumarch
 
Posts: 21
Joined: Tue Oct 30, 2007 3:14 am
Has thanked: 0 time
Been thanked: 0 time

Re: how to schedule a job without using scheduler(sw)

Postby dick scherrer » Thu Nov 08, 2007 2:06 am

Hello,

If you have what you need, great :)

However;
1. Setup your job in the production job scheduling system.
your solution violates the "rules" (i.e. the subject of this topic).
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: how to schedule a job without using scheduler(sw)

Postby CICS Guy » Thu Nov 08, 2007 3:47 am

abkumarch wrote:i got this ans in the experts forum.. so thank god
Kinda wonder where the "experts forum" is...grin....
CICS Guy
 
Posts: 246
Joined: Wed Jun 20, 2007 4:08 am
Has thanked: 0 time
Been thanked: 0 time

Re: how to schedule a job without using scheduler(sw)

Postby dick scherrer » Thu Nov 08, 2007 4:03 am

I suspect it is an "s" and a "forum" away. . . ;)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post