View previous topic :: View next topic
|
Author |
Message |
SanthamoorthyRajamani
New User
Joined: 06 Nov 2008 Posts: 10 Location: Chennai
|
|
|
|
There are two different jobs usually ran at different time, which will use the same KSDS, then both the jobs are ended fine.
If both the jobs are ran at same time then both are ended with file contention error.
Is there any way to avoid this error without changing the Control-M schedule of the jobs? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What do the programs do, both read, both update, one read one update.
What business dependencies are there in the schedule, i.e. JOB1 must finish updates before JOB2 reads/updates. |
|
Back to top |
|
|
SanthamoorthyRajamani
New User
Joined: 06 Nov 2008 Posts: 10 Location: Chennai
|
|
|
|
Both are in SHR mode in JCL and one program is used in read mode and other is update mode.
We don't have any business dependency between these jobs. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
sharing a dataset makes the program, business related,
anyway are there any issues of data consistency , if not,
speak to the storage group to properly define/alter the shareoptions attribute of the vsam involved |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
There may not be a business dependency between jobs, but the data is shared which IMHO makes this a business related issue as well as a data sharing issue.
Could be one of few things, SHROPTS is the first that springs to mind. Do you use RLS at your shop ? - need to talk to your storage gurus for the answer to that one. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi,
May be little stubborn nature of mine but would like to ask - Why do you have such a design at first place ?
And if this
Quote: |
We don't have any business dependency between these jobs. |
is true, trying making them predecessor/successor of each other as per your need. |
|
Back to top |
|
|
|