IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Facing IMS Error due to PSB Scheduling -


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Tue Jun 15, 2010 1:40 pm
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Tue Jun 15, 2010 7:55 pm
Reply with quote

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
View user's profile Send private message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Wed Jun 16, 2010 11:04 am
Reply with quote

@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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Jun 16, 2010 11:16 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Jun 16, 2010 7:16 pm
Reply with quote

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
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Jun 17, 2010 4:06 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top