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

How to read the properties of GDG?


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

New User


Joined: 08 Jun 2005
Posts: 27

PostPosted: Wed Jun 14, 2006 1:42 pm
Reply with quote

Hi all,

I just want to get the properties of GDG(information of GDG) such as retention period, creation date, size ,etc.
Is there anyawy to find out this from TSO option and any existing JCLs are there?

Please reply soon.

Thanks in advance,
Sona.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 677
Location: NJ

PostPosted: Wed Jun 14, 2006 2:47 pm
Reply with quote

Hi sona,

As per i worked we can use 'i' in the command near by GDG name to know the info of the GDG i have not seen any JCL on the same. Let us wait for any of our members answer. meanwhile may i know your requirement of the above query..... icon_smile.gif
Back to top
View user's profile Send private message
prashantshinde

New User


Joined: 25 Nov 2005
Posts: 49
Location: Pune

PostPosted: Mon Jun 19, 2006 4:30 pm
Reply with quote

hi ,
u can see properties of GDG same as of any VSAM datasets

Just write following stmt in your sysin dd *
LISTCAT ENTRY(<<GDG name>>) ALL
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Mon Jun 19, 2006 4:46 pm
Reply with quote

Following is the TSO command:

From ISPF command line, issue the following command

TSO LISTC ENT(gdg name) ALL
Back to top
View user's profile Send private message
ksk

Active User


Joined: 08 Jun 2006
Posts: 355
Location: New York

PostPosted: Mon Jun 19, 2006 4:50 pm
Reply with quote

Forgot to mention onething.

Put GDG name in quotes as shown below.

TSO LISTC ENT('gdg name') ALL
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 Error to read log with rexx CLIST & REXX 11
No new posts Random read in ESDS file by using RBA JCL & VSAM 6
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts ICETOOL to Read records SMF CEF it is... DFSORT/ICETOOL 4
Search our Forums:

Back to Top