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
 

 

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

 
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: Thu Jul 15, 2010 11:52 am    Post subject: How to Know, If any other Job is issuing the same PSB -
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: 2433
Location: Netherlands, Amstelveen

PostPosted: Thu Jul 15, 2010 1:09 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Jul 15, 2010 5:07 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 - 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    Post subject: Reply to: How to Know, If any other Job is suing the same PS
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: 2433
Location: Netherlands, Amstelveen

PostPosted: Thu Jul 15, 2010 5:44 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Jul 15, 2010 11:35 pm    Post subject:
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: http://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

Senior Member


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

PostPosted: Thu Jul 15, 2010 11:41 pm    Post subject: Re: Reply to: How to Know, If any other Job is suing the sam
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    Post subject:
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: http://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    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 Issuing IMS-Commands from a program w... SWP COBOL Programming 1 Fri Jun 03, 2016 4:31 pm
No new posts Issuing DEQ before ENQ with same reso... RahulG31 CICS 18 Thu Nov 26, 2015 1:51 am
No new posts CICS program issuing a CALL statement... kunal jain COBOL Programming 4 Fri Dec 21, 2012 6:06 pm
No new posts Problem issuing Exec CICS LINK after ... Craig Schreoder CICS 5 Thu Oct 25, 2012 5:44 pm
No new posts While issuing print ch ids(/) the rec... Hariharan Sukumar COBOL Programming 3 Mon Mar 14, 2011 6:05 pm


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