|
View previous topic :: View next topic
|
| Author |
Message |
Anu Narayanan
New User
Joined: 12 Sep 2005 Posts: 20 Location: USA
|
|
|
|
Hi,
Is there a way to find properties of a GDG that is already present like whether it is created with Noscratch, empty or what is the maximum versions it can hold etc?
Thanks for your replies.
Thanks,
Anu Narayanan |
|
| Back to top |
|
 |
MFRASHEED
Active User
Joined: 14 Jun 2005 Posts: 186 Location: USA
|
|
|
|
Try FileAid Utility option F.FA;3.2
enter GDG base and press enter
| Code: |
GDG base dataset name: xxxx.TESTGDG
GDG dataset limit: 7 (Maximum number of generations, 1-255)
Active generations: 3 (Generations that are currently allocated)
Owner:
Expiration date:
Uncatalog options: NOEMPTY (EMPTY = All generations are uncataloged
NOEMPTY = Oldest generation is uncataloged)
Scratch options: NOSCRATCH (SCRATCH = Scratch when uncataloged
NOSCRATCH = Uncatalog only)
|
|
|
| Back to top |
|
 |
MFRASHEED
Active User
Joined: 14 Jun 2005 Posts: 186 Location: USA
|
|
|
|
You can also submit a job with
| Code: |
//LISTC1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
LISTCAT ENT (xxxx.TESTGDG) ALL
/*
|
|
|
| Back to top |
|
 |
priyesh.agrawal
Senior Member

Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
You would like it rather running a job... Although its same what Rasheed suggested.
Try it on your ISPF Panel.
| Code: |
| TSO LISTC ENT('DATASET.NAME') ALL |
|
|
| Back to top |
|
 |
Anu Narayanan
New User
Joined: 12 Sep 2005 Posts: 20 Location: USA
|
|
|
|
Hi Rasheed,
The JCL worked out. But I am not sure as how to go in to file aid F.FA;3.2
I went to F for file aid from ISPF panel. But I am not able to get in to FA, i tried 3.2 alone after F, But i am not able to see any option for finding the properties of a GDG.
Thanks,
Anu Narayanan |
|
| Back to top |
|
 |
Anu Narayanan
New User
Joined: 12 Sep 2005 Posts: 20 Location: USA
|
|
|
|
Hi priyesh,
Thanks for the information. The command TSO LISTC ENT('DATASET.NAME') ALL in ISPF panel worked out.
Thanks,
Anu Narayanan |
|
| Back to top |
|
 |
MFRASHEED
Active User
Joined: 14 Jun 2005 Posts: 186 Location: USA
|
|
|
|
Anu,
You will need to find in your shop where FileAid is located. Once you get to FileAid , select option '3' from 'Primary Option Menu' and then '2' from
' Extended Utilities' menu. Entering '2' will take you to 'Dataset Utility' menu. Here you can specify GDG base in 'Dataset or path ===>' and press enter.
Hoep this helps. |
|
| Back to top |
|
 |
martin9
Active User

Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
hy Anu,
therefore this was a rexx post:
you can use that TSO command asis in your rexx,
and capture its output for further work...
address tso
"listc ent('gdg-base')......
martin9 |
|
| Back to top |
|
 |
DavidatK
Active Member

Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Martin,
Where have you been? We've missed you  |
|
| Back to top |
|
 |
priyesh.agrawal
Senior Member

Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
| Quote: |
Martin,
Where have you been? We've missed you |
Yeap... Long time no see... |
|
| Back to top |
|
 |
|
|