IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to create dummy job


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Sun Oct 04, 2009 12:05 pm
Reply with quote

How to create dummy job
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Oct 04, 2009 12:34 pm
Reply with quote

Please explain the term "dummy job"...

O.
Back to top
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Sun Oct 04, 2009 12:37 pm
Reply with quote

I want a job which does nothing.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sun Oct 04, 2009 1:02 pm
Reply with quote

one step of IEFBR14
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Sun Oct 04, 2009 1:12 pm
Reply with quote

Even with IEFBR14, the job still doing "something": Executing program IEFBR14, so it can't be a dummy job.

O.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Sun Oct 04, 2009 7:13 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Oct 05, 2009 2:59 am
Reply with quote

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
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Mon Oct 05, 2009 10:20 am
Reply with quote

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
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Mon Oct 05, 2009 10:34 am
Reply with quote

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
View user's profile Send private message
maheshvamsi

New User


Joined: 22 Mar 2008
Posts: 39
Location: bangalore

PostPosted: Mon Oct 05, 2009 11:23 am
Reply with quote

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
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Mon Oct 05, 2009 11:29 am
Reply with quote

No, we have CA-11
Back to top
View user's profile Send private message
maheshvamsi

New User


Joined: 22 Mar 2008
Posts: 39
Location: bangalore

PostPosted: Mon Oct 05, 2009 11:33 am
Reply with quote

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
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Mon Oct 05, 2009 11:40 am
Reply with quote

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
View user's profile Send private message
maheshvamsi

New User


Joined: 22 Mar 2008
Posts: 39
Location: bangalore

PostPosted: Mon Oct 05, 2009 11:56 am
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Oct 05, 2009 11:58 am
Reply with quote

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
View user's profile Send private message
nkothako

Active User


Joined: 26 Nov 2008
Posts: 125
Location: chennai

PostPosted: Mon Oct 05, 2009 12:07 pm
Reply with quote

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
View user's profile Send private message
maheshvamsi

New User


Joined: 22 Mar 2008
Posts: 39
Location: bangalore

PostPosted: Mon Oct 05, 2009 12:34 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Oct 05, 2009 12:57 pm
Reply with quote

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
View user's profile Send private message
maheshvamsi

New User


Joined: 22 Mar 2008
Posts: 39
Location: bangalore

PostPosted: Mon Oct 05, 2009 8:10 pm
Reply with quote

Sorry Anuj, i mispell your name.

yes, your explanation is correct regarding EXEC=N.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts COBOL - create and write to output fi... COBOL Programming 0
No new posts Best way to create an automated line ... TSO/ISPF 3
No new posts FD Section to Create FB or Vb File Dy... COBOL Programming 1
Search our Forums:

Back to Top