Page 1 of 1
To get Volume Serial Number for Uncatalog Dataset
Posted: Mon Feb 25, 2013 9:29 pm
by tamilselvan.sampath
Hi All,
Need yours help...
I need to find the Volume Serial Number for uncatalog dataset...
Please give me some inputs...
Posted: Mon Feb 25, 2013 9:42 pm
by William Collins
How did it become uncatalogued? If you look at the messages from the step which created the dataset, you'll see the volume.
Posted: Mon Feb 25, 2013 10:01 pm
by tamilselvan.sampath
Hi William,
Its GDG Versions, So its uncataloged..Then that is created long time back..Can we able to get it ?Its urgent..please give input....
Posted: Mon Feb 25, 2013 11:37 pm
by diwz
Use VTOC (Volume Table of Contents) in FileAid 3.8 option.
Since you have said it is a GDG version, you can search using your base GDG name in the available volume serial numbers in MVS. You should know how many vol serials are available for your MVS environment.
Posted: Mon Feb 25, 2013 11:58 pm
by William Collins
If you mean it is a Generation of a Generation Data Group (Versions are possible, but rare), and you haven't mentioned how it got uncatalogued other than "So its uncataloged" can we assume it just "rolled off" the "end" when the maximum number of Generations were catalogued? It may be gone, for good.
You haven't mentioned whether the VOLUME is DASD or TAPE? If DASD, go with what diwz has suggested. If tape, talk to your tape management people. They probably have some historic data available, if not they should have periodic back-ups of the tape management system itself, where they may be able to get something.
Posted: Tue Feb 26, 2013 6:58 am
by tamilselvan.sampath
Hi William,
Ya your are correct..Its rolled off when the maximum number of Generations were catalogue
Thanks william...
Let me try...
Posted: Tue Feb 26, 2013 6:59 am
by tamilselvan.sampath
Hi diwz,
Thanks...Let me try...
Posted: Tue Feb 26, 2013 6:39 pm
by Anuj Dhawan
I hope you're not talking about "orphan GDG generations" because someone used GDG delete with FORCE?
Posted: Tue Feb 26, 2013 9:33 pm
by tamilselvan.sampath
Hi Dhawan,
This is not that case..
Thanks
Posted: Tue Feb 26, 2013 9:36 pm
by tamilselvan.sampath
Hi diwz,
Thanks for your help...its working..Is that possible to get what is the utility behind that...
Because we need to run in production by using JOB..
Please help on this..
Posted: Wed Feb 27, 2013 2:23 pm
by diwz
Here is the JCL step that use FILEAID options to get volume serial numbers and datasets in the volume.
Code: Select all
//STEP01 EXEC PGM=FILEAID
//*
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSLIST DD SYSOUT=*
//SYSTOTAL DD SYSOUT=*
//SYSIN DD *
$$DD01 VTOCDSN UNIT=3390,DSNAME=A056707.FILEAID.ZADD - searches and displays the file attributes under the specified UNIT.
$$DD01 VTOCDSN VOLSER=VZCE01,DSNAME=A056707.FILEAID.ZADD - searches and displays the file attributes under the specified VOLSER.
/*
SYSOUT for $$DD01 VTOCDSN VOLSER=VZCE01,DSNAME=A056707.FILEAID.ZADD looks like below
Code: Select all
27 FEB 2013 FILE-AID 9.2.0 PRINT FACILITY 04:20:11 PAGE 1
VTOC LIST FOR VOLUME VZCE01
VTOC: 1800 TRACKS ( 17 % USED) 74657 FREE DSCB'S 1 DATASETS
VOL: 150255 TRACKS ( 85 % USED) 15 TRACKS/CYLINDER 0 ALT TRKS
FREE: 1365 CYLINDERS ( 1052 MAX) 22135 TRKS 15780 MAX) 626 FREE XTNT
----- D A T A S E T N A M E -------------- ORG TRKS %USED XTS=
A056707.FILEAID.ZADD PS 15 0 1
Posted: Thu Feb 28, 2013 1:04 pm
by diwz
Did you try?
Posted: Sat Mar 02, 2013 10:54 am
by diwz
Did you find any other way to do it? Let us know as well.