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 find the address and status of all tape drives

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri May 18, 2007 8:50 am    Post subject: How to find the address and status of all tape drives
Reply with quote

I need to create alerts to the operations staff if any tape drives are offline.

How would I:

1. Determine the addresses of all tape drives on each LPAR?

2. Determine if they're online or offline. If a drive is offline, how can I suppress the alert if it's offline for maintenance?
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri May 18, 2007 12:12 pm    Post subject:
Reply with quote

Would the HCD hold the device addresses.

But, if it is a shared HCD then the device addresse will be the same for all LPARs within the plex, so at some time some drives will be offline to one LPAR.

Do you, or can you, also share drives across sysplexes.

Do you use a tape drive allocation software, IBM ATAM or CA-MIM/MIA
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri May 18, 2007 1:08 pm    Post subject:
Reply with quote

expat wrote:
Do you, or can you, also share drives across sysplexes.

Yes.

expat wrote:

Do you use a tape drive allocation software, IBM ATAM or CA-MIM/MIA

Yes, BMC TAPESHARE.
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Thu Feb 04, 2010 5:38 pm    Post subject: Reply to: How to find the address and status of all tape dri
Reply with quote

We're still looking for a solution to this. At year-end one of the "critical path" jobs was stuck for more than 8 hours waiting for a tape drive. A follow-up check showed that there are currently over 300 drives offline.
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Thu Feb 11, 2010 4:39 pm    Post subject:
Reply with quote

Are you using Virtual Tape or native attached tape, and are your tapes in an SMS managed library?

The command D SMS,LIB(ALL),DETAIL will indicate what number of drives are defined and what are available etc within the plex for an SMS managed library.

You might want to check the settings in your ALLOCnn member in SYS1.PARMLIB as well which can affect the way tape allocation waits are processed.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Feb 11, 2010 9:43 pm    Post subject:
Reply with quote

Hello,

It has been a long time, but i seem to recall a console display command that was something like:
D U,*TAPE*,OFFLINE

*TAPE* - whatever UNIT is being displayed.

Possibly an operator/monitor could use this when an allocation issue arose. . .?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Thu Feb 11, 2010 9:54 pm    Post subject: Reply to: How to find the address and status of all tape dri
Reply with quote

Hi Kevin!
You would anyway to have to complicate it a bit, You will need at least a few lpar dependent tables in order to avoid false alerts!
usually in every HCD more devices are defined than needed ( You never know )

the first thing that comes to mind is the MXI rexx interface...
run an MXI to find the tape drives offline/online
match the result with Your table to see the match/nomatch and signal accordingly

or search the cbt tape for the UCB scan routines.

I even remember seeing somewhere a REXX external function capable of doing it
as soon I recollect the name I will post it

got it! cbt file634 , seems to fit Your needs

edited to add some more,
but if You are into serious hacking then
http://www.mail-archive.com/ibm-main@bama.ua.edu/msg53317.html
might inspire You better icon_biggrin.gif
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 find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm


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