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

2013-05-22 Thread Mike Wood
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

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


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

2013-05-20 Thread I P
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.

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


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

2013-05-17 Thread af dc
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


On Thu, May 16, 2013 at 5:26 PM, Lizette Koehler stars...@mindspring.comwrote:

 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

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
 Behalf Of af dc
 Sent: Thursday, May 16, 2013 9:24 AM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: How to list all tape volumes the shows UNKNOWN on the D SMS,VOL
 cmd
 ??

 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  MEDIA2SGSEG21   BA06V PN  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: SCIARTLM 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-ATTRIBUTEPRIVATE. 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN

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


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


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

2013-05-17 Thread Gonzalo Cengotita
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 acbi...@gmail.com

 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


 On Thu, May 16, 2013 at 5:26 PM, Lizette Koehler stars...@mindspring.com
 wrote:

  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
 
  -Original Message-
  From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
  Behalf Of af dc
  Sent: Thursday, May 16, 2013 9:24 AM
  To: IBM-MAIN@LISTSERV.UA.EDU
  Subject: How to list all tape volumes the shows UNKNOWN on the D SMS,VOL
  cmd
  ??
 
  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  MEDIA2SGSEG21   BA06V PN  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: SCIARTLM 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-ATTRIBUTEPRIVATE. 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
 
  --
  For IBM-MAIN subscribe / signoff / archive access instructions,
  send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
 

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




-- 
*
*
*Gonzalo Cengotita*

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


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

2013-05-17 Thread af dc
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
gonzaloce...@gmail.comwrote:

 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 acbi...@gmail.com

  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
 
 
  On Thu, May 16, 2013 at 5:26 PM, Lizette Koehler 
 stars...@mindspring.com
  wrote:
 
   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
  
   -Original Message-
   From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
 On
   Behalf Of af dc
   Sent: Thursday, May 16, 2013 9:24 AM
   To: IBM-MAIN@LISTSERV.UA.EDU
   Subject: How to list all tape volumes the shows UNKNOWN on the D
 SMS,VOL
   cmd
   ??
  
   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  MEDIA2SGSEG21   BA06V PN  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: SCIARTLM 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-ATTRIBUTEPRIVATE. 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
  
   --
   For IBM-MAIN subscribe / signoff / archive access instructions,
   send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
  
 
  --
  For IBM-MAIN subscribe / signoff / archive access instructions,
  send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
 



 --
 *
 *
 *Gonzalo Cengotita*

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


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


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

2013-05-17 Thread Mike Wood
If you use rmm, you can use rmm SEARCHVOLUME with CLIST to create the ALTER 
IDCAMS commands needed

Mike Wood

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


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

2013-05-17 Thread Mike Wood
... 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.

Mike Wood

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


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

2013-05-16 Thread af dc
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  MEDIA2SGSEG21   BA06V PN  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: SCIARTLM 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-ATTRIBUTEPRIVATE. 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN


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

2013-05-16 Thread Lizette Koehler
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

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of af dc
Sent: Thursday, May 16, 2013 9:24 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: How to list all tape volumes the shows UNKNOWN on the D SMS,VOL cmd
??

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  MEDIA2SGSEG21   BA06V PN  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: SCIARTLM 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-ATTRIBUTEPRIVATE. 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN

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


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

2013-05-16 Thread Jonathan Goossen
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-
For help with verbal communication and leadership skills checkout 
Woodwinds Toastmasters.



IBM Mainframe Discussion List IBM-MAIN@LISTSERV.UA.EDU wrote on 
05/16/2013 11:26:58 AM:

 From: Lizette Koehler stars...@mindspring.com
 To: IBM-MAIN@LISTSERV.UA.EDU
 Date: 05/16/2013 11:27 AM
 Subject: Re: How to list all tape volumes the shows UNKNOWN on the D
 SMS,VOL cmd ??
 Sent by: IBM Mainframe Discussion List IBM-MAIN@LISTSERV.UA.EDU
 
 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
 
 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
 Behalf Of af dc
 Sent: Thursday, May 16, 2013 9:24 AM
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: How to list all tape volumes the shows UNKNOWN on the D SMS,VOL 
cmd
 ??
 
 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  MEDIA2SGSEG21   BA06V PN  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: SCIARTLM 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-ATTRIBUTEPRIVATE. 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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
 
 --
 For IBM-MAIN subscribe / signoff / archive access instructions,
 send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


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.

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


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

2013-05-16 Thread Mike Wood
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

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