Re: Recataloging VSAM Dataset

2010-04-19 Thread Kevin Kinney
Try one of these.  The first is a standard dataset and the second is a
linear dataset.

//STEP01   EXEC PGM=IDCAMS   
//SYSPRINT DD SYSOUT=*   
//SYSIN DD * 
  DEFINE CLUSTER -   
  (NAME(|) - 
  VOLUMES(Z9CI32) -  
  INDEXED RECATALOG) -   
  DATA (NAME(|.DATA)) -  
  INDEX (NAME(|.INDEX)) -
  CATALOG(XYZZY) 
 
  DEFINE CLUSTER -   
  (NAME(|) - 
  VOLUMES(Z8DB82) -  
  LINEAR   RECATALOG) -  
  INDEX -
  (NAME(XYZZY))  

Regards,
Kevin Kinney

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Recataloging VSAM Dataset

2010-04-19 Thread Klein, Kevin
I restored the dataset from a DFDSS full-volume backup.  DFDSS won't allow a 
rename for a VSAM dataset coming from a full-volume backup and won't catalog 
the dataset when the catalog name from the backup didn't match the catalog I 
now have it's high-level alias pointing to.  IDCAMS DEFINE with RECATALOG has 
the same issue.

I did get over this when a coworker showed me a fixcat utility he has that lets 
me change the catalog the VVDS has recorded for the dataset.  I changed it to 
the new catalog name and was able to use IDCAMS to catalog what I needed.

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Lizette Koehler
Sent: Friday, April 16, 2010 1:03 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Recataloging VSAM Dataset

What was used to restore the dataset?  FDR, DFDSS, ???  Some have RENAME 
capability that can be used to put it down as a cataloged vsam dataset, then 
you could copy (REPRO) to the correct dataset name.

There is also a RECAT option on the DEF VSAM function.  You might want to 
review that.

Lastly is the VSAM dataset on the same volser name it was before it was 
deleted?  Or did you restore it to a whole new volume?

Lizette



 Behalf Of Klein, Kevin Wrote

 Is there a way to recatalog a VSAM dataset (non-SMS) that I've
 restored from an old backup tape?  The original volume and catalog for
 these datasets no longer exist.



--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at 
http://bama.ua.edu/archives/ibm-main.html
Attention:
The information contained in this message and or attachments is intended only 
for the person or entity to which it is addressed and may contain confidential 
and/or privileged material.  Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon, this information by persons 
or entities other than the intended recipient is prohibited. If you received 
this in error, please contact the sender and delete the material from any 
system and destroy any copies.  (GWCC)


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Recataloging VSAM Dataset

2010-04-16 Thread Klein, Kevin
Is there a way to recatalog a VSAM dataset (non-SMS) that I've restored from an 
old backup tape?  The original volume and catalog for these datasets no longer 
exist.


Attention:
The information contained in this message and or attachments is intended only 
for the person or entity to which it is addressed and may contain confidential 
and/or privileged material.  Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon, this information by persons 
or entities other than the intended recipient is prohibited. If you received 
this in error, please contact the sender and delete the material from any 
system and destroy any copies.  (GWCC)


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Recataloging VSAM Dataset

2010-04-16 Thread Linda Mooney
Hi Kevin, 



VSAM doesn't function without being catalogued.  How did you restore it?  Have 
you tried an IDCAMS listcat for the cluster?  Can I see your restore jcl? 



Linda Mooney 


- Original Message - 
From: Kevin Klein k.kl...@gwccnet.com 
To: IBM-MAIN@bama.ua.edu 
Sent: Friday, April 16, 2010 9:39:02 AM GMT -08:00 US/Canada Pacific 
Subject: Recataloging VSAM Dataset 

Is there a way to recatalog a VSAM dataset (non-SMS) that I've restored from an 
old backup tape?  The original volume and catalog for these datasets no longer 
exist. 


Attention: 
The information contained in this message and or attachments is intended only 
for the person or entity to which it is addressed and may contain confidential 
and/or privileged material.  Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon, this information by persons 
or entities other than the intended recipient is prohibited. If you received 
this in error, please contact the sender and delete the material from any 
system and destroy any copies.  (GWCC) 


-- 
For IBM-MAIN subscribe / signoff / archive access instructions, 
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO 
Search the archives at http://bama.ua.edu/archives/ibm-main.html 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Recataloging VSAM Dataset

2010-04-16 Thread Elliot, David
Has this dataset been recovered with a full volume restore? Is there a VVDS 
available on the output volume?

David Elliot
 
zSeries Software Support

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Klein, Kevin
Sent: Friday, April 16, 2010 11:39 AM
To: IBM-MAIN@bama.ua.edu
Subject: Recataloging VSAM Dataset

Is there a way to recatalog a VSAM dataset (non-SMS) that I've restored from an 
old backup tape?  The original volume and catalog for these datasets no longer 
exist.


Attention:
The information contained in this message and or attachments is intended only 
for the person or entity to which it is addressed and may contain confidential 
and/or privileged material.  Any review, retransmission, dissemination or other 
use of, or taking of any action in reliance upon, this information by persons 
or entities other than the intended recipient is prohibited. If you received 
this in error, please contact the sender and delete the material from any 
system and destroy any copies.  (GWCC)



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Recataloging VSAM Dataset

2010-04-16 Thread Lizette Koehler
What was used to restore the dataset?  FDR, DFDSS, ???  Some have RENAME
capability that can be used to put it down as a cataloged vsam dataset, then
you could copy (REPRO) to the correct dataset name.

There is also a RECAT option on the DEF VSAM function.  You might want to
review that.

Lastly is the VSAM dataset on the same volser name it was before it was
deleted?  Or did you restore it to a whole new volume?

Lizette



 Behalf Of Klein, Kevin Wrote 
 
 Is there a way to recatalog a VSAM dataset (non-SMS) that I've restored
 from an old backup tape?  The original volume and catalog for these
 datasets no longer exist.
 
 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html