MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Automatic Job trigger

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
nbdtrjk
Beginner


Joined: 08 Mar 2006
Posts: 17
Topics: 11

PostPosted: Wed Mar 22, 2006 4:21 am    Post subject: Automatic Job trigger Reply with quote

Hi All..
Daily i am getting some files(GDG) from production. Manually i am doing concatenation process using SORT utitlity. Whatever i am getting file from production is not a fixed one. Some time i'll get 2 file some time i'll get 15 or 20 files. My requirement is i want a one jcl to run automatically every forthnight( 22 March 1:00 AM) to Concatenate the previous day(21 March) file into onefile whatever i am gettingfrom production. Is it possible to trigger without using CA7?


Thanks In Advance
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Wed Mar 22, 2006 5:35 am    Post subject: Reply with quote

nbdtrjk,

Schedule your Job at 1 AM every day and read the GDG base as input. Once you are done with the processing delete all the generations so that the next day you will have all the files for that day.

Also create an empty in the last step of the job , so if there are no incoming files for that day your job should not abend since you are reading the gdg base. If you do not receive any files on any day you will read empty gen and the job would not abend.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
nbdtrjk
Beginner


Joined: 08 Mar 2006
Posts: 17
Topics: 11

PostPosted: Wed Mar 22, 2006 10:30 pm    Post subject: Reply with quote

Thanks for your help...


But i don't have access to delete or update that dateset. Because tht is production files and even some others systems also going refer that one... Any other way ?
How do Sechdule the JOb without CA7> Plz help me
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Thu Mar 23, 2006 6:39 am    Post subject: Reply with quote

Quote:

How do Sechdule the JOb without CA7> Plz help me


nbdtrjk,

You have to manually trigger the job or you can use the WINDOWS schedule manager to FTP the JCL to trigger the Job exactly at 1 AM every day.
Quote:

But i don't have access to delete or update that dateset. Because tht is production files and even some others systems also going refer that one... Any other way ?

You can copy the incoming GDG into a new GDG where you are the owner of that GDG and you have the authority to delete it

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group