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
 

 

prevcent contention of gdg files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
useit

Active User


Joined: 05 Oct 2006
Posts: 144

PostPosted: Mon Feb 20, 2012 4:23 pm    Post subject: prevcent contention of gdg files
Reply with quote

hi,
i have two sets of jobs. first set contains :job1,job2,job3,job4,
and anoter set of jobs contain: jobA,jobB,jobc,jobD,
first set of job creates gdg(+1), generation. and 2nd set of jobs reads gdg base in order to process all the generations under it.
job are not in a sequence and can run at any time. i cant set up dependency on these jobs.

because of this two jobs can run together and which actually causing contention with above file.

is there any way i can prevent contention without setting up the dependency?

Regds,
useit
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Mon Feb 20, 2012 4:25 pm    Post subject: Reply to: prevcent contention of gdg files
Reply with quote

Quote:
s there any way i can prevent contention without setting up the dependency?


NO!
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 1753
Location: UK

PostPosted: Mon Feb 20, 2012 6:19 pm    Post subject:
Reply with quote

Why can you not set up a dependency?
Back to top
View user's profile Send private message
useit

Active User


Joined: 05 Oct 2006
Posts: 144

PostPosted: Mon Feb 20, 2012 7:24 pm    Post subject:
Reply with quote

as per the existing process..more than one job can run in between.

say..for ex:

between JOB A and JOB B. only job1 can run one day
2 jobs (Job1,job2) can run on another day ..
or job1,job2,job3 can run in between.

based on the first set of jobs the second set will decide whether to use one generations or two generations or 3 generations.

i did not know that contention will be job level.and it would hold at the begining of the job itself.iRegds,
useit.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 660
Location: Pennsylvania

PostPosted: Tue Feb 21, 2012 6:15 pm    Post subject:
Reply with quote

The contention you are receiving IS what you want.

If you want JobA to process ALL generations, you want it to wait until Job1 creates the latest generation.

Conversely, if JOBA has the gdg base, you want Job1 to wait before creating a new generation.

There are ways to speed things up. For example, Have JobA only be a single sort step that copies all the generations to a sequential dataset and free up the gdg. This will minimize the amount of time needed.

Job9 can be the last and only Job that creates a +1 of the gdg. This can be done with a sort only.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Feb 21, 2012 6:44 pm    Post subject:
Reply with quote

Quote:
as per the existing process
Existing processes are not always the best processes - learn to say, change it!
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
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts High CPU consumption Job using IAM fi... aswinir JCL & VSAM 15 Thu Dec 01, 2016 8:28 pm
No new posts Match or compare two files in VB Format anatol DFSORT/ICETOOL 14 Thu Nov 03, 2016 7:41 pm
This topic is locked: you cannot edit posts or make replies. How to use 2 input files in control c... Gunapala CN DFSORT/ICETOOL 23 Thu Oct 13, 2016 3:42 pm
No new posts Adding records from two files into on... shiitiizz SYNCSORT 4 Mon Sep 19, 2016 8:41 pm


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