View previous topic :: View next topic |
Author |
Message |
nbdtrjk Beginner
Joined: 08 Mar 2006 Posts: 17 Topics: 11
|
Posted: Wed Mar 22, 2006 4:21 am Post subject: Automatic Job trigger |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Wed Mar 22, 2006 5:35 am Post subject: |
|
|
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 |
|
|
nbdtrjk Beginner
Joined: 08 Mar 2006 Posts: 17 Topics: 11
|
Posted: Wed Mar 22, 2006 10:30 pm Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Thu Mar 23, 2006 6:39 am Post subject: |
|
|
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 |
|
|
|
|