Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 147

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: 10326
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: 1894
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: 147

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: 683
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 FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us