View previous topic :: View next topic
|
Author |
Message |
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
Hello, how are you?
I have two job chains that are executed 2 times during the day. This chains are equal, but I need that when scheduler 1 is executed certain job use certain file, but when scheduler 2 executes another file is have to be used in that same job mentioned.
Is there a clue or something that you can orient me to search ? any idea?
Thanks. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3076 Location: NYC,USA
|
|
|
|
Use the symbolics in DSN , scheduling option will give you what to override per instance. |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1337 Location: Bamberg, Germany
|
|
|
|
Basically as Rohit has pointed out, the Scheduler must have some variables that you can use. JCL symbolics in the DSN could be an option too, but preferable would be an IFTHEN like construct using means of the Scheduler. |
|
Back to top |
|
|
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
Joerg.Findeisen wrote: |
Basically as Rohit has pointed out, the Scheduler must have some variables that you can use. JCL symbolics in the DSN could be an option too, but preferable would be an IFTHEN like construct using means of the Scheduler. |
When you say ''Scheduler must have some variables that you can use'' I dont have acces to control m, can you give me a clue what should I do in this case? |
|
Back to top |
|
|
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
Rohit Umarjikar wrote: |
Use the symbolics in DSN , scheduling option will give you what to override per instance. |
is there some guide or reference in symbolics? for z/OS? |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2144 Location: USA
|
|
|
|
Ali_gezer wrote: |
Rohit Umarjikar wrote: |
Use the symbolics in DSN , scheduling option will give you what to override per instance. |
is there some guide or reference in symbolics? for z/OS? |
Are you banned from Google??!!
Using system symbols and JCL symbols |
|
Back to top |
|
|
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
sergeyken wrote: |
Ali_gezer wrote: |
Rohit Umarjikar wrote: |
Use the symbolics in DSN , scheduling option will give you what to override per instance. |
is there some guide or reference in symbolics? for z/OS? |
Are you banned from Google??!!
Using system symbols and JCL symbols |
Thanks, my mistake. |
|
Back to top |
|
|
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
sergeyken wrote: |
Ali_gezer wrote: |
Rohit Umarjikar wrote: |
Use the symbolics in DSN , scheduling option will give you what to override per instance. |
is there some guide or reference in symbolics? for z/OS? |
Are you banned from Google??!!
Using system symbols and JCL symbols |
what section do you recomend me to see having in mind that I need to make one scheduler use certain file in a jcl and the other scheduler use another file but the same jcl |
|
Back to top |
|
|
sergeyken
Senior Member
Joined: 29 Apr 2008 Posts: 2144 Location: USA
|
|
|
|
Ali_gezer wrote: |
sergeyken wrote: |
Ali_gezer wrote: |
Rohit Umarjikar wrote: |
Use the symbolics in DSN , scheduling option will give you what to override per instance. |
is there some guide or reference in symbolics? for z/OS? |
Are you banned from Google??!!
Using system symbols and JCL symbols |
what section do you recomend me to see having in mind that I need to make one scheduler use certain file in a jcl and the other scheduler use another file but the same jcl |
I recommend to use Google. |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1205 Location: Dublin, Ireland
|
|
|
|
Quote: |
When you say ''Scheduler must have some variables that you can use'' I dont have acces to control m, can you give me a clue what should I do in this case? |
I recommend you get access to the scheduler....
Garry. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
IMO there is a language barrier here
scheduler VS schedule VS scheduled
my guess is that the same job chain is scheduled twice
by the same and only scheduler
so system symbols might not be of help
the only hope is that the scheduler can pass to the job some information about
the run, first/second |
|
Back to top |
|
|
Ali_gezer
Active User
Joined: 06 Apr 2021 Posts: 123 Location: argentina
|
|
|
|
Ali_gezer wrote: |
Rohit Umarjikar wrote: |
Use the symbolics in DSN , scheduling option will give you what to override per instance. |
is there some guide or reference in symbolics? for z/OS? |
I dont have acces to control m, is there anything else I can do? |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1337 Location: Bamberg, Germany
|
|
|
|
Please describe your environment a bit more. Is the Job submitted on two separate LPARs? |
|
Back to top |
|
|
|