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

Check special resource availability with PGM/JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
pinimo

New User


Joined: 11 Apr 2016
Posts: 5
Location: Italy

PostPosted: Fri Apr 15, 2016 8:18 pm
Reply with quote

I'd like to know if there is a way to check the current availability of a special ressource without using the TWS interface.

I've been using a jcl with the pgm EQQEVPGM to modify a special resource availabilty with SRSTAT command, but it can only modify and gives no information on the current status. Using TRACE parameters, doesn't display the SR status.

I've tried to use the pgm EQQYCAIN but it's the same problem : you attach/delete special ressources but it gives no information on the current status.

Isn't there an utility to check the special resource availability ?

Thank you in advance
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2572
Location: NYC,USA

PostPosted: Fri Apr 15, 2016 11:25 pm
Reply with quote

Welcome!
Almost same here, take a look.
Back to top
View user's profile Send private message
pinimo

New User


Joined: 11 Apr 2016
Posts: 5
Location: Italy

PostPosted: Fri Apr 15, 2016 11:55 pm
Reply with quote

I had already seen , but there is not a viable solution.
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 197
Location: UK

PostPosted: Mon Apr 18, 2016 7:27 pm
Reply with quote

In what way is this not viable?

Also search on the TWS toolkit, also known as SOE. You can use this to set a return code based on the availability of a special resource.
Back to top
View user's profile Send private message
pinimo

New User


Joined: 11 Apr 2016
Posts: 5
Location: Italy

PostPosted: Tue Apr 19, 2016 10:40 am
Reply with quote

There is no example or something to call.
It is very complicated to check the status of a special resources.
Do you have a jcl example?

Why there aren't IBM simple utilities to do that?
Back to top
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 197
Location: UK

PostPosted: Tue Apr 19, 2016 12:40 pm
Reply with quote

I do have some sample JCL, but it's not going to help you much without downloading the SOE toolkit, since you won't have the EQQYXJCL proc.

Code:
//PIFSTEP EXEC EQQYXJCL,
// SUBSYS=OPCC
//SYSIN   DD *
LISTSTAT CSRCOM RESNAME(HBBIZHBPAYROLL) POLICY(Y=0,N=8)


The POLICY statement defines the return code that will result from the special resource being un/available.

There are simple IBM utilities to do this. It's called the SOE toolkit.
Back to top
View user's profile Send private message
pinimo

New User


Joined: 11 Apr 2016
Posts: 5
Location: Italy

PostPosted: Tue Apr 19, 2016 1:10 pm
Reply with quote

Thank you very much for your support.
I downloaded the SOE Toolkit but now I need permission from my company
to install it.

I could try to find an online version but I think it will serve the entire tollkit installed.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


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

PostPosted: Tue Apr 19, 2016 1:31 pm
Reply with quote

Did you ever consult your OPC/TWS support?
Back to top
View user's profile Send private message
pinimo

New User


Joined: 11 Apr 2016
Posts: 5
Location: Italy

PostPosted: Tue Apr 19, 2016 1:33 pm
Reply with quote

I sent him an email but at the moment he has not yet Answered.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Converting Hex to PD Special Condition SYNCSORT 3
No new posts Want to check if trailer count is 0 a... JCL & VSAM 10
No new posts special characters pipes "|"... COBOL Programming 1
No new posts FTP - Special characters are converte... TSO/ISPF 3
No new posts SARBCH PRINTJOB option not Works with... CA Products 4
Search our Forums:

Back to Top