View previous topic :: View next topic
|
Author |
Message |
pinimo
New User
Joined: 11 Apr 2016 Posts: 5 Location: Italy
|
|
|
|
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 |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3049 Location: NYC,USA
|
|
|
|
Welcome!
Almost same here, take a look. |
|
Back to top |
|
|
pinimo
New User
Joined: 11 Apr 2016 Posts: 5 Location: Italy
|
|
|
|
I had already seen , but there is not a viable solution. |
|
Back to top |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
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 |
|
|
pinimo
New User
Joined: 11 Apr 2016 Posts: 5 Location: Italy
|
|
|
|
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 |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
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 |
|
|
pinimo
New User
Joined: 11 Apr 2016 Posts: 5 Location: Italy
|
|
|
|
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 |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Did you ever consult your OPC/TWS support? |
|
Back to top |
|
|
pinimo
New User
Joined: 11 Apr 2016 Posts: 5 Location: Italy
|
|
|
|
I sent him an email but at the moment he has not yet Answered. |
|
Back to top |
|
|
|