Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 10256
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 Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts scheduling between OPC and TWS give u... nsbl IBM Tools 4 Sun Mar 12, 2017 5:35 pm
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us