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

How to view the GDG defenition


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

New User


Joined: 29 Mar 2006
Posts: 59
Location: Montreal

PostPosted: Tue Mar 18, 2008 11:24 am
Reply with quote

Hi All,

I have a GDG base, I want to see the information of that base, like LIMIT, NOEMPTY etc...., how can view it?

I tried in 3.4 option, by giving S behind the GDG base, but not accessible from there...pls let me know if anybody knows the answer..

Thanks
Venkat
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Tue Mar 18, 2008 11:35 am
Reply with quote

You can use IDCAMS LISTC, and also FILEAID option
Back to top
View user's profile Send private message
ksk

Active User


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

PostPosted: Tue Mar 18, 2008 11:43 am
Reply with quote

You can get the required information form the following post.


http://www.ibmmainframes.com/viewtopic.php?t=11698&highlight=
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Mar 18, 2008 6:42 pm
Reply with quote

venktv wrote:
I tried in 3.4 option, by giving S behind the GDG base, but not accessible from there


Next time use ISPF Option 3.2, then the suboption V for that you need. Or, as was already posted, learn to use the TSO LISTCAT command when you need it.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Mar 18, 2008 9:27 pm
Reply with quote

venktv wrote:

I tried in 3.4 option, by giving S behind the GDG base, but not accessible from there...
Try using the "LC" command on the *BASE* entry for a LISTCAT.
Back to top
View user's profile Send private message
Bill Dennis

Active Member


Joined: 17 Aug 2007
Posts: 562
Location: Iowa, USA

PostPosted: Tue Mar 18, 2008 9:30 pm
Reply with quote

Oops.

The LC command is site-specific. Here is the CLIST code that must be added to SYSPROC concat to use the "LC" command in 3.4
Code:
PROC 1  ENTRYNM                                                           
/* THIS CLIST WILL DISPLAY THE LISTCAT  ENTRY SHOWING THINGS LIKE:     */ 
/* ALLOCATIONS, BYTES USED, ETC.       USE AS A LINE COMMAND ON 3.4    */ 
CONTROL NOFLUSH                                                           
CLEAR                                                                     
LISTC ENTRY(&ENTRYNM) ALL                                                 
The CLEAR command inside may also not be at your site and may need to be removed.
Back to top
View user's profile Send private message
damuonmail

New User


Joined: 07 Mar 2005
Posts: 12

PostPosted: Thu Mar 20, 2008 12:57 am
Reply with quote

venktv wrote:
Hi All,

I have a GDG base, I want to see the information of that base, like LIMIT, NOEMPTY etc...., how can view it?

I tried in 3.4 option, by giving S behind the GDG base, but not accessible from there...pls let me know if anybody knows the answer..

Thanks
Venkat



Another way which I normally follows. If you have INSYNC tool. Go to INSYNC, then Utilities, Select Vsam option then give the GDG name there.
It will show the Limit, whether it is scratch or empty etc......
Back to top
View user's profile Send private message
the_gautam

Active User


Joined: 05 Jun 2005
Posts: 165
Location: Bangalore

PostPosted: Thu Mar 20, 2008 9:29 pm
Reply with quote

using the LISTCAT option of IDCAMS can also serve the purpose.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Mar 21, 2008 10:18 am
Reply with quote

the_gautam The solution which you are saying was already explained so why you are posting again? You think this is different solution then which is explained above?
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Wed Aug 06, 2008 6:38 pm
Reply with quote

Hi,
This can be done by FILE-AID. And this is how you do it.
fa(FILE-AID) --> 3(Utilities) --> 2(dataset)

Code:
Specify Dataset or HFS Path Information:               
  Dataset or path    ===> 'YOUR.GDG'           
  Volume serial      ===>          (If not cataloged) 
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 SET PATH in View DDL DB2 2
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts Issues with VIEW DATASET Command CLIST & REXX 2
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts How to filter PDS member using LMINIT... CLIST & REXX 4
Search our Forums:

Back to Top