Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to list all tape volumes the shows UNKNOWN on the D SMS,VOL cmd ??

563 views
Skip to first unread message

af dc

unread,
May 16, 2013, 12:23:59 PM5/16/13
to
Hello,
I have the following D SMS,VOL output cmd:

CBR1180I OAM tape volume status: 387
VOLUME MEDIA STORAGE LIBRARY USE W C SOFTWARE LIBRARY
TYPE GROUP NAME ATR P P ERR STAT CATEGORY
HH9891 MEDIA2 SGSEG21 BA06V P N N NOERROR UNKNOWN
-------------------------------------------------------------------
RECORDING TECH: 36 TRACK COMPACTION: YES
SPECIAL ATTRIBUTE: NONE ENTER/EJECT DATE: 2011-02-24
CREATION DATE: 2011-02-24 EXPIRATION DATE:
LAST MOUNTED DATE: 2011-06-22 LAST WRITTEN DATE: 2011-06-19
SHELF LOCATION:
OWNER:
LM SG: SGLIB21 LM SC: SCIART LM MC: MCGRID LM DC: DC40
LM CATEGORY: 000F
-------------------------------------------------------------------
Logical volume.
Valid copy in each distributed library.

I want to list all tape volumes that have Library category=Unknown. On TCDB
it shows USE-ATTRIBUTE----PRIVATE. Doisn LI REQ cmd it shows:
CATEGORY: 000F

Where the unknown value cames from ?? and I wanted to list all tapve
volumes with that status, can anyone give me an help ??

May thxs, A.CEcilio

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to list...@listserv.ua.edu with the message: INFO IBM-MAIN

Lizette Koehler

unread,
May 16, 2013, 12:27:04 PM5/16/13
to
If you have access to ISMF, the Option for Volumes maybe helpful.

Most shops use ISMF from the ISPF Primary panel or you might be able to do
an =ISMF command.

Or your shop may have not set it up that way. Then you need to find out
where ISMF is.


Or your tape management software may have information (CA1, RMM, TLMS,
etc...)


Lizette

Jonathan Goossen

unread,
May 16, 2013, 3:01:20 PM5/16/13
to
ISMF 2.3 (volume List) doesn't appear to have that field. The field looks
to be a combination of two other fields: Use Attribute and Media Type.
Scratch tapes look like SCRMED? where the ? is the media type. (We have 5
and 7.) Non-scratch show as PRIVATE. In ISMF 2.3 sort on columns 3 and 8
to locate bad or missing values.

If you don't have direct access to the panels, Naviquest in batch can get
a full list of volumes that can then be filtered/processed with another
tool.

Thank you and have a Terrific day!

Jonathan Goossen, DTM
ACT Mainframe Storage Group
Personal: 651-361-4541
Department Support Line: 651-361-5555
For help with verbal communication and leadership skills checkout
Woodwinds Toastmasters.



IBM Mainframe Discussion List <IBM-...@LISTSERV.UA.EDU> wrote on
05/16/2013 11:26:58 AM:
This e-mail message and all attachments transmitted with it may
contain legally privileged and/or confidential information intended
solely for the use of the addressee(s). If the reader of this
message is not the intended recipient, you are hereby notified that
any reading, dissemination, distribution, copying, forwarding or
other use of this message or its attachments is strictly
prohibited. If you have received this message in error, please
notify the sender immediately and delete this message and all
copies and backups thereof. Thank you.

Mike Wood

unread,
May 16, 2013, 6:57:57 PM5/16/13
to
Hi, I suspect your DEVSUPxx MEDIAx values dont contain the values being used for LM categories.
You can see that OAM is getting back 000F as the LM catgeory. It then uses the DEVSUPxx (or default) values to translate that to something meaningful.
i.e The volume belongs to another partition.

Mike Wood

af dc

unread,
May 17, 2013, 7:05:01 AM5/17/13
to
Hi all,
I'm correcting tape volume library category by using ISMF panel and doing
an ALTER. How can I do that in batch ?? I've hundreads of lvols to correct
??? Is it by using CBRUXCUA exit ?? Any hint is welcome.

Many thx,A.CEcilio

Gonzalo Cengotita

unread,
May 17, 2013, 8:10:43 AM5/17/13
to
Hi,

When I want to change a value of a tape entry in the VOLCAT, I use the
IDCAMS command ALTER VOLUMEENTRY. You can create a list of the tapes you
need with "LISTCAT VOLUMEENTRY" and manipulate it, to get the ALTER
commands you need.




2013/5/17 af dc <acb...@gmail.com>
--
*
*
*Gonzalo Cengotita*

af dc

unread,
May 17, 2013, 9:17:39 AM5/17/13
to
Hi Gonzalo,
yes, but I presume that will only change on VOLCAT and not change lvol
status on VTS.
AFAIK ISMF ALTER using panels invokes api exit to transfer the lvol status
to the VTS. That's what I need.

Thks for the hint, A.Cecilio.


On Fri, May 17, 2013 at 1:10 PM, Gonzalo Cengotita
<gonzal...@gmail.com>wrote:

Mike Wood

unread,
May 17, 2013, 1:57:20 PM5/17/13
to
If you use rmm, you can use rmm SEARCHVOLUME with CLIST to create the ALTER IDCAMS commands needed....

Mike Wood

Mike Wood

unread,
May 17, 2013, 2:04:09 PM5/17/13
to
... as prompted by another post ..... yes IDCAMS ALTER only changes the TCDB - There is no outboard communication.
To change a category outboard you have to go via OAM .... Iether from ISMF or rmm (or another tms perhaps - some have sync options)
All you can do is change the STATUS o PRIVATE/SCRATCH and OAM uses the DEVSUPxx specified values to set the outboard category. So DEVSUPxx must be correct and you have to be on the correct partition.

ISMF allows you to change the STATUS to the same value it already is...... which can result in category change.
rmm will not direct via OAM unless the status really changes - so you may need to go scratch-> master->scratch

Usually 000F category is PRIVATE on all partitions - only SCRATCH volumes have different categories based on the partition.

I P

unread,
May 20, 2013, 9:36:15 AM5/20/13
to
Sorry for a small OT with this, but I've seen Naviquest in batch is mentioned so I'll have to ask ^^

Does anyone know is it possible to change a tape storage group from private to scratch in batch?

In ISMF 2.3 the list is accessed via *SCRTCH* storage group name, but can batch handle that properly because of the wildcards?

Thanks.

Mike Wood

unread,
May 22, 2013, 3:05:32 PM5/22/13
to
Hi,
Do you want to change status from private to scratch, and as part of that to set SG=*SCRTCH* ??
Or something else?

If you have rmm as tape manager you can make the change driven from rmm commands, That will update TCDB and LM.
Any change from private to scratch for a system managed volume also changes the storage group name to '*SCRTCH*' This is not a mask/generic value. It really is this value.

In ISMF you can use a primary command to apply to all those tape volumes in the search results list. Once started, just walk away and dont worry about the batch.....

Hope that helps,
Mike Wood

amir ghorbani

unread,
Feb 18, 2021, 4:37:12 PM2/18/21
to
hi

amir ghorbani

unread,
Feb 18, 2021, 4:39:18 PM2/18/21
to
On Wednesday, May 22, 2013 at 11:35:32 PM UTC+4:30, Mike Wood wrote:
We use it tape libary for backups, but when the tape are private and we want to convert them to scratch through the job (jcl). Converts scratch but does not add the number of scratch statistics when we use the command d sms,oam
But if we convert the same type into a scratch using the panel ismf it will be added to the number of scratches apparently TCDB . it will not be updated when we use the job (JCL) for scratches .

amir ghorbani

unread,
Feb 18, 2021, 4:40:09 PM2/18/21
to
can anyone help me ? how to update TCDB ?
0 new messages