Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

REGARDING TAPE OR DISK

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: REGARDING TAPE OR DISK
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: 8593
Location: Back in jolly old England

PostPosted: Fri Nov 19, 2010 2:43 pm    Post subject:
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: 13
Location: hyderabad

PostPosted: Fri Nov 19, 2010 3:11 pm    Post subject: Reply to: REGARDING TAPE OR DISK
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    Post subject: Reply to: REGARDING TAPE OR DISK
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts stacking files on a tape Pedro JCL & VSAM 7 Wed Aug 17, 2016 11:11 pm
No new posts Reading selected volumes of a multi-v... RickBig JCL & VSAM 6 Wed Jul 13, 2016 7:26 pm
No new posts How to copy Tape dataset to unix main... chaky All Other Mainframe Topics 4 Fri Jul 08, 2016 2:52 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us