IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

REGARDING TAPE OR DISK


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
harish5002

New User


Joined: 21 Jul 2010
Posts: 23
Location: chennai

PostPosted: Fri Nov 19, 2010 2:15 pm
Reply with quote

Hi gdevng all,
I have the requriement to find whether gdg files are tape or disk.If it is one we can find manually but i have more than 200 files to find.
Is there any job to find the file is in TAPE or DISK.Please help me to find this.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Nov 19, 2010 2:43 pm
Reply with quote

IDCAMS LISTCAT
Code:
IDCAMS  SYSTEM SERVICES                                     
                                                           
 LISTCAT ENT('XXX.XXX.GnnnnV00') VOLUMES                             
NONVSAM ------- XXX.XXX.GnnnnV00
     IN-CAT --- CATALOG.catalog_name                           
     HISTORY                                               
       DATASET-OWNER-----(NULL)     CREATION--------2009.267
       RELEASE----------------2     EXPIRATION------0000.000
       ACCOUNT-INFO-----------------------------------(NULL)
     SMSDATA                                               
       STORAGECLASS ------XXXXX     MANAGEMENTCLASS-XXXXX
       DATACLASS ---------XXXXX    LBACKUP ---2010.323.0054
     VOLUMES                                               
       VOLSER------------VVVVVV    DEVTYPE------X'3010200F'
The DEVTYPE shows that this is a DASD file. For tape the 5th & 6th characters would be 80 instead of 20.
Back to top
View user's profile Send private message
chavinash2004

New User


Joined: 30 Jun 2010
Posts: 37
Location: hyderabad

PostPosted: Fri Nov 19, 2010 3:11 pm
Reply with quote

Very very thanks for your quick response expat.It will help me alot.
Back to top
View user's profile Send private message
harish5002

New User


Joined: 21 Jul 2010
Posts: 23
Location: chennai

PostPosted: Fri Nov 19, 2010 3:26 pm
Reply with quote

thanks expat.It wil be helpful for me.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts CA Disk LISTD SQL CA Products 1
No new posts Deleting a Tape file JCL & VSAM 14
No new posts JCL and TAPE drives: how to maximize ... JCL & VSAM 9
No new posts ADR324E-VOL/DATASET SPECIFIED BY DDNA... JCL & VSAM 6
No new posts Record count of RECFM=U tape file DFSORT/ICETOOL 17
Search our Forums:

Back to Top