View previous topic :: View next topic
|
Author |
Message |
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
How to create dummy job |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Please explain the term "dummy job"...
O. |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
I want a job which does nothing. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
one step of IEFBR14 |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Even with IEFBR14, the job still doing "something": Executing program IEFBR14, so it can't be a dummy job.
O. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
The JCL Language Reference manual specifically states that every job must have at least one EXEC so a dummy job that does nothing is not possible under z/OS. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
If you explain what you are actually trying to accomplish, someone may have a suggestion.
Creating "a dummy job" is not the requirement, but rather a way you are trying to accomplish some requirement. If we understood the requirement, we could provide more useful replies. |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
We are supporting 5 applications in mainframes and each application will process data on market wise and EOD of each market will be done separately. Once EOD is performed at the end of process, we will take back up of all the files on that particular day using backup jobs.
Now as per the storage group updates now these jobs are Obsolete. So i planned to do schedule changes accordingly. But seems to very very tedious process, because there are hell of predecessor and successor dependencies on each market to these jobs. So I thought, instead of schedule changes why don't I modify jcl as dummy job instead of back up job. |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Quote: |
Once EOD is performed at the end of process |
EOD is generally stands for End of Day. Looking at your statements it is not making any sense to me..
Is there any process like accounting or so done at EOD which you are calling as Once EOD is performed
Quote: |
Now as per the storage group updates now these jobs are Obsolete |
What does this mean? please explain in generic terms..
have you copy pasted some sentences from your design document? |
|
Back to top |
|
|
maheshvamsi
New User
Joined: 22 Mar 2008 Posts: 39 Location: bangalore
|
|
|
|
nkothako
are you using CA7 for scheduling these jobs ??
If that is the case, It is very easy task.
Just update the Job Defination screen, by setting the jobs which you dont want to run to NOEXECUTION. Just Change EXEC parameter to N. |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
No, we have CA-11 |
|
Back to top |
|
|
maheshvamsi
New User
Joined: 22 Mar 2008 Posts: 39 Location: bangalore
|
|
|
|
I am not familiar with Ca-11. But you can check whether similar option to set a job to NOEXECUTION is avaialbe in ca-11 also. |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
I am aware of this option
If we code a schedule in the below manner then a AFXXDL becomes dummy job. note: this job does not exists physically in any system locations
Code: |
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
AFXXDL ASAPS* D AFXXDBKP =MTWTFSS 0000041 |
but this options also need to be changed in many schedules and also for many jobs. |
|
Back to top |
|
|
maheshvamsi
New User
Joined: 22 Mar 2008 Posts: 39 Location: bangalore
|
|
|
|
In ca7, i will define job like below
Code: |
------------------------- CA-7 CPU JOB DEFINITION --------------------------
FUNCTION: LIST (ADD,DELETE,DD,PURGE,DELPRRN,FORMAT,LIST,UPD)
JOB: TEST11
GENERAL: SYSTEM: JOBNET: OWNER: UID: 0
JCL: ID: 0 MEMBER: TEST11 RELOAD: N EXEC: N RETAIN-JCL: N
LIB: |
IF I define, this job with EXEC=N, where ever you use this job/Whichever schedule it is, CA7 Will be treated as Dummy. So, It wont execute at all.
Just now i googled for CA11, Found that CA7 & CA11 both are almost similar. So, You might be having similar option there also. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
For the response of this
maheshvamsi wrote: |
are you using CA7 for scheduling these jobs ?? |
Not sure why do you say this
nkothako wrote: |
No, we have CA-11 |
CA-11 doesn't schedule jobs, it does resource management (such as deleting files being created by the job).
CA-7 is the job scheduler; in it you can specify which days of the week you want the job to run. |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
maheshvamsi,
How to view the screen which you have pasted
Anju,
thanks for correction.. how do i know whether my scheduler is CA-7 or something... since we login into jobtrac using "TSO JOBTRAC" at command line. |
|
Back to top |
|
|
maheshvamsi
New User
Joined: 22 Mar 2008 Posts: 39 Location: bangalore
|
|
|
|
Anju,
In one of the replies nkothako said that jobs are scheduled & it is having Predecessors & Dependencies, from that I understood that they are using some scheduling tool. Thats why I asked whether they are using CA7 scheduler.
nkothako,
I am not sure how to check which scheduler you are using. You can check with you collegues.
Also, the SCREEN which I pasted is used to Define a Job in CA7. Go to CA7, Type JOB and enter you can get the screen which I showed to you. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Both -- my name spells Anuj not Anju..grin...
EXEC=N seems to be a way to go. That means job will not be submitted for processing, but CA7 will treat the job as a successful completion so that any dependencies or triggering will be honored. Suggest you get in touch with scheduling people at your shop. |
|
Back to top |
|
|
maheshvamsi
New User
Joined: 22 Mar 2008 Posts: 39 Location: bangalore
|
|
|
|
Sorry Anuj, i mispell your name.
yes, your explanation is correct regarding EXEC=N. |
|
Back to top |
|
|
|