Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to create dummy job

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to create dummy job
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: 2360
Location: Israel

PostPosted: Sun Oct 04, 2009 12:34 pm    Post subject:
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    Post subject: Dummy job
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: 8593
Location: Back in jolly old England

PostPosted: Sun Oct 04, 2009 1:02 pm    Post subject:
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: 2360
Location: Israel

PostPosted: Sun Oct 04, 2009 1:12 pm    Post subject:
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: 7914
Location: Bellevue, IA

PostPosted: Sun Oct 04, 2009 7:13 pm    Post subject:
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

Site Director


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

PostPosted: Mon Oct 05, 2009 2:59 am    Post subject:
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    Post subject: Dummy job
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    Post subject:
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    Post subject:
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    Post subject: DUMMY JOB
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    Post subject:
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    Post subject: DUMMY JOB
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    Post subject:
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

Senior Member


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

PostPosted: Mon Oct 05, 2009 11:58 am    Post subject:
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    Post subject: DUMMY JOB
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    Post subject:
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

Senior Member


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

PostPosted: Mon Oct 05, 2009 12:57 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm
No new posts Need to create file with Dynamic Name... kapil27 JCL & VSAM 4 Wed May 25, 2016 9:45 am
No new posts How to create/edit/update a new GDG V... karthikbalakumar8 JCL & VSAM 2 Fri Feb 05, 2016 6:35 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us