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
 

 

Check special resource availability with PGM/JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Check special resource availability with PGM/JCL
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

Senior Member


Joined: 21 Sep 2010
Posts: 1609
Location: NY,USA

PostPosted: Fri Apr 15, 2016 11:25 pm    Post subject:
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    Post subject:
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: 175
Location: UK

PostPosted: Mon Apr 18, 2016 7:27 pm    Post subject: Reply to: Check special resource availability with PGM/JCL
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    Post subject: Reply to: Check special resource availability with PGM/JCL
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: 175
Location: UK

PostPosted: Tue Apr 19, 2016 12:40 pm    Post subject: Reply to: Check special resource availability with PGM/JCL
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    Post subject:
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: 2422
Location: Netherlands, Amstelveen

PostPosted: Tue Apr 19, 2016 1:31 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts Checking for availability of a data set steve-myers JCL & VSAM 1 Wed Jul 13, 2016 5:17 pm
No new posts Remove Special Characters from Mainfr... Rodger Zhang All Other Mainframe Topics 6 Wed Jul 06, 2016 1:12 am


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