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

How to Know, If any other Job is issuing the same PSB -


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: Thu Jul 15, 2010 11:52 am
Reply with quote

Hi All,

In our site, a two jobs running concurrently can't use same PSB. If somehow, two jobs are run, one of it will abend.

Now the problem is, there are multiple people using the same job, and all of these are in different location.

So sometimes, it happens, I submit the job, only to see an abend saying the PSB is already being consumed.

SO wanted to know, is there any way, by which I can see, whether the PSB is already being consumed or not.

Regards,
Tushar
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jul 15, 2010 1:09 pm
Reply with quote

/DIS TRAN ALL
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Thu Jul 15, 2010 1:42 pm
Reply with quote

/DIS TRAN ALL will list all PSBs defined to IMS.

Issue a /DIS ACT to se active PSBs.
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 Jul 15, 2010 5:07 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 - it can be solved, if the PSB is defined with SCHDTYP=PARALLEL. Are you using this option already?
Back to top
View user's profile Send private message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Thu Jul 15, 2010 5:32 pm
Reply with quote

@Anuj - Working in Offshore can be sometimes detrimental to your knowledge. For me also, its the same case, as i am not allowed to interact with site admistrator and those who can, they are not interacting for some reason. I guess, schedule type as parallel is not being used for the PSB thats why I am getting the error.

@Kjeld & Peterholland - Where do i issue these command?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Thu Jul 15, 2010 5:44 pm
Reply with quote

They are (master) console commands one can give on the outstanding IMS reply, in Netview by means of extended multiple console support (EMCS) consoles.
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Thu Jul 15, 2010 6:03 pm
Reply with quote

Our test IMS online system provides a IMS command interface screen to developers, so it can be very site specific.

If you are adressing a production master region, you might probably not issue IMS commands for that region at all.
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 Jul 15, 2010 11:35 pm
Reply with quote

Those commands, as others have said, are console commands - you need some interface to issue them. And yes how do you communicate to console from the perspective of these commands, is pretty site-specifc. There are pay-for-product in the market or in house interfaces available to users. Delta IMS, one of such products from BMC, also provides such an interface - please ask someone at your shop, how can you issue them - someone somewhere must know about this.

Here is link to explore a little more on those commands: publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims10.doc.cr/imscmds/ims_displaytran.htm
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 Jul 15, 2010 11:41 pm
Reply with quote

saurabh39 wrote:
@Anuj - Working in Offshore can be sometimes detrimental to your knowledge. For me also, its the same case, as i am not allowed to interact with site admistrator and those who can, they are not interacting for some reason. I guess, schedule type as parallel is not being used for the PSB thats why I am getting the error.
Check the PSB, source code must be availabe to you - no one can hide them from programmers. If they hide - that's cynical.

If you fbelieve that the PSB might be needed by multiple applications at the same time, tell them your suggestion, however, please do some research on that before going to them. If you give good suggestion with politness, they will listen you...
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Fri Jul 16, 2010 1:55 pm
Reply with quote

Anuj Dhawan wrote:
Those commands, as others have said, are console commands - you need some interface to issue them. And yes how do you communicate to console from the perspective of these commands, is pretty site-specifc. There are pay-for-product in the market or in house interfaces available to users. Delta IMS, one of such products from BMC, also provides such an interface - please ask someone at your shop, how can you issue them - someone somewhere must know about this.

Here is link to explore a little more on those commands: publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=/com.ibm.ims10.doc.cr/imscmds/ims_displaytran.htm

My point was that developers may have command console access to some development and test IMS regions, but not to high level test or to production regions, these can usually only be accessed by operators, and possibly system techs.
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 Issuing IMS-Commands from a program w... COBOL Programming 1
No new posts Issuing DEQ before ENQ with same reso... CICS 18
No new posts CICS program issuing a CALL statement... COBOL Programming 4
No new posts Problem issuing Exec CICS LINK after ... CICS 5
No new posts While issuing print ch ids(/) the rec... COBOL Programming 3
Search our Forums:

Back to Top