View previous topic :: View next topic
|
Author |
Message |
harish5002
New User
Joined: 21 Jul 2010 Posts: 23 Location: chennai
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
chavinash2004
New User
Joined: 30 Jun 2010 Posts: 37 Location: hyderabad
|
|
|
|
Very very thanks for your quick response expat.It will help me alot. |
|
Back to top |
|
|
harish5002
New User
Joined: 21 Jul 2010 Posts: 23 Location: chennai
|
|
|
|
thanks expat.It wil be helpful for me. |
|
Back to top |
|
|
|