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
 
Facing IMS Error due to PSB Scheduling -

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Facing IMS Error due to PSB Scheduling -
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

Site Director


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

PostPosted: Tue Jun 15, 2010 7:55 pm    Post subject:
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    Post subject: Reply to: Facing IMS Error due to PSB Scheduling -
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Wed Jun 16, 2010 11:16 am    Post subject: Reply to: Facing IMS Error due to PSB Scheduling -
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

Site Director


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

PostPosted: Wed Jun 16, 2010 7:16 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Jun 17, 2010 4:06 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
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 Mainframe scheduling tool ddhar Compuware & Other Tools 2 Wed Sep 27, 2017 12:48 am
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

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