View previous topic :: View next topic
|
Author |
Message |
saurabh39 Warnings : 1 Active User
Joined: 11 Apr 2008 Posts: 144 Location: Jamshedpur
|
|
|
|
HI,
While running a COBOL-Db2 in batch i got the following error -
Quote: |
A BMP or IFP region was started for a PSB already
scheduled in another region.
Determine the reason for the duplicated PSB
specification. If this is not a duplication of a
current job, resubmit job when the current job is
complete, or correct the PSB with a parallel scheduling
option at IMS system definition.
|
The error is, because two user submitted the same job, as a result error came up.
Now the question is -
1. Where can i find the scheduling of PSB for COBOL
2. How to change it.
Please let me know, if you want some other information |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
I don't "do" ims, but i believe you simply have to change the schedule or whatever so that these are not trying to run at the same time.
Other ways include using the same job name or using a job class that exists in only one initiator (either will cause single-threading). |
|
Back to top |
|
|
saurabh39 Warnings : 1 Active User
Joined: 11 Apr 2008 Posts: 144 Location: Jamshedpur
|
|
|
|
@Dick - The Jobs are running with different names, but yes they are having same class...but that should not be an issue, since we can run multiple jobs with same class at our site......... |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10872 Location: italy
|
|
|
|
the message You quoted tells everything You need to know,
reread it slowly and talk to Your support.
the program cannot do anything about the issue,
the system setup has been done that way, investigate why ( with Your support )!
the way to prevent a PSB from being scheduled multiple times is an issue that Your operations support must solve.
but again,
speak to the IMS and OPERATIONS support
the program cannot do anything to prevent the abend |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
but that should not be an issue, since we can run multiple jobs with same class at our site......... |
That is true for many (most) jobs. These need to run serially or the system setup needs to change (per Enrico). |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
When an IMS program excutes, it locks the PSB it is using. So, if there is some other event wants to use the PSB concurrently it will fail because the PSB is already scheduled.
But if you insist, to run programs using the same PSB concurrently, the PSB needs to be defined with SCHDTYP=PARALLEL. You should contact your IMS DBA, as others have also suggested, to make the changes or confirm if the PSB already has SCHDTYP=PARALLEL. |
|
Back to top |
|
|
|