To get Volume Serial Number for Uncatalog Dataset
Moderators: Frank Yaeger, DikDude, Moderator Group
-
- Member
- Posts: 26
- Joined: Mon Jan 23, 2012 11:17 pm
To get Volume Serial Number for Uncatalog Dataset
Hi All,
Need yours help...
I need to find the Volume Serial Number for uncatalog dataset...
Please give me some inputs...
Need yours help...
I need to find the Volume Serial Number for uncatalog dataset...
Please give me some inputs...
-
- Active Member
- Posts: 732
- Joined: Thu May 24, 2012 4:07 am
-
- Member
- Posts: 26
- Joined: Mon Jan 23, 2012 11:17 pm
-
- Active Member
- Posts: 732
- Joined: Thu May 24, 2012 4:07 am
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.
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.
-
- Member
- Posts: 26
- Joined: Mon Jan 23, 2012 11:17 pm
-
- Member
- Posts: 26
- Joined: Mon Jan 23, 2012 11:17 pm
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
-
- Member
- Posts: 26
- Joined: Mon Jan 23, 2012 11:17 pm
-
- Member
- Posts: 26
- Joined: Mon Jan 23, 2012 11:17 pm
Here is the JCL step that use FILEAID options to get volume serial numbers and datasets in the volume.
SYSOUT for $$DD01 VTOCDSN VOLSER=VZCE01,DSNAME=A056707.FILEAID.ZADD looks like below
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.
/*
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
FREE TUTORIALS
Tutorials
Free tutorials from mainframegurukul
- JCL Tutorial
Covers all important JCL concepts. - Cobol Tutorial
This tutorials covers all Cobol Topics from STRING to COMP-3. - DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. - SORT Tutorial
This Tutorial covers all important aspects of DFSORT with examples - CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page