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

How to find the number of limits in GDG


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

New User


Joined: 28 Jun 2005
Posts: 12

PostPosted: Wed Aug 24, 2005 4:15 pm
Reply with quote

hai,

It was an interview question that asked in tcs .How to know the limit of gdg without seeing the jcl(u dont have jcl).Any method to find the limit..help me..thanks in advance....
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed Aug 24, 2005 4:22 pm
Reply with quote

Simply using LISTCA command near the gdgbase in 3.4 option.(see LIMIT)
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Wed Aug 24, 2005 4:35 pm
Reply with quote

MGindaco,

Is the command a shop dependant one or common?
Back to top
View user's profile Send private message
dbamain

New User


Joined: 28 Jun 2005
Posts: 12

PostPosted: Wed Aug 24, 2005 4:35 pm
Reply with quote

MGIndaco wrote:
Simply using LISTCA command near the gdgbase in 3.4 option.(see LIMIT)




It is not coming..can u please explain it clearly...
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Wed Aug 24, 2005 4:40 pm
Reply with quote

In File-AID/SPF extended utilities,you can find it.

GDG base dataset name: aaa.bbb.ccc

GDG dataset limit: 12 (Maximum number of generations, 1-255)

Active generations: 12 (Generations that are currently allocated)

Owner:

Expiration date:

Uncatalog options: NOEMPTY (EMPTY = All generations are uncataloged
NOEMPTY = Oldest generation is uncataloged
Scratch options: SCRATCH (SCRATCH = Scratch when uncataloged
NOSCRATCH = Uncatalog only)
Back to top
View user's profile Send private message
dbamain

New User


Joined: 28 Jun 2005
Posts: 12

PostPosted: Wed Aug 24, 2005 4:44 pm
Reply with quote

radhakrishnan82 wrote:
In File-AID/SPF extended utilities,you can find it.

GDG base dataset name: aaa.bbb.ccc

GDG dataset limit: 12 (Maximum number of generations, 1-255)

Active generations: 12 (Generations that are currently allocated)

Owner:

Expiration date:

Uncatalog options: NOEMPTY (EMPTY = All generations are uncataloged
NOEMPTY = Oldest generation is uncataloged
Scratch options: SCRATCH (SCRATCH = Scratch when uncataloged
NOSCRATCH = Uncatalog only)

Hi,

Thanx radhakrishnan but we dont have any tools ,is it possible without using any tool.
Back to top
View user's profile Send private message
Prandip

New User


Joined: 04 Mar 2005
Posts: 84
Location: In my tiny cubicle ...

PostPosted: Wed Aug 24, 2005 6:16 pm
Reply with quote

I think MGIndaco meant the LISTCAT command (abbreviated LISTC).
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed Aug 24, 2005 6:32 pm
Reply with quote

Hi Prandip, really I mean LISTCA command thru ISPF in option 3.4 icon_sad.gif

LISTCAT can also be used thru IDCAMS(in background mode)or with command
Code:
TSO LISTCAT ENTRIES ALL
and after inserting the gdgbase(in foreground mode).

Quote:
Is the command a shop dependant one or common?


It's common.
Code:
DSLIST - Data Sets Matching Myuserid.gdg                            Row 1 of 1
Command ===>                                                  Scroll ===> CSR
                                                                             
Command - Enter "/" to select action                  Message           Volume
------------------------------------------------------------------------------
LISTCA   Myuserid.gdg                                                   ??????
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Wed Aug 24, 2005 6:34 pm
Reply with quote

I tried it already.but it doesnt working for me.Its RC is 0.But it displays my userid.* info.It didnt show limit of GDG.

Iam using the file-aid to view limit of GDG.
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Wed Aug 24, 2005 6:39 pm
Reply with quote

I replied the prev post for prandip.

MGindaco,
It doesnt work at my end.
I tried the same,but it displays "CATALOG:CATALOG.GENCAT01" information and not limit of the GDG where i gave LISTC
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed Aug 24, 2005 6:42 pm
Reply with quote

And if you call it directly?
Code:
TSO LISTCA

does this message appair?
Code:
IKJ56700A ENTER POSITIONAL PARAMETER PAR1 -

If appair and you insert a GdgBase...nothing as:
Code:
GDG BASE ------ myuser.gdg
IN-CAT --- USERCAT.TRY                               
HISTORY                                               
  DATASET-OWNER----xxxxxx     CREATION--------2005.013
  RELEASE----------------2     EXPIRATION------0000.000
ATTRIBUTES                                             
  LIMIT-----------------20     SCRATCH          NOEMPTY
ASSOCIATIONS--------(NULL)   


I'm really embarrassed with you all... icon_neutral.gif
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Wed Aug 24, 2005 7:25 pm
Reply with quote

Quote:
IKJ56700A ENTER POSITIONAL PARAMETER PAR1 -


The above message doesnt appear if i call it directly.

instead it gave me as i said earlier shown below :

CATALOG:CATALOG.GENCAT01

DB2.DBRMLIB
DB2.ISPTLIB
ISPF.ISPPROF
ON050506.AT014812.CNTL
ON050506.AT014819.CNTL
ON050506.AT014824.CNTL
ON050609.AT024204.CNTL
ON050609.AT024234.CNTL
RECASN
SPFLOG1.LIST
SPFTEMP0.CNTL
SRCHFOR.LIST
.
.
.
.
.
and some of the kind
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Wed Aug 24, 2005 7:42 pm
Reply with quote

Yes I know the reason of that list...
I think that is a different customizing.... and I want apologize to you

I mean... If you look in SYS1.CLIST you will see all this command that we said... that are abbreviation of other instruction.

In my TSOs(I work in 4 different machine of 4 company) I found the same but, to be clearly, TSO LISTCA or simply LISTCA or LISTC(for Prandip, I suppose) the command that is called is:
Code:
TSO LISTCAT ENTRIES ALL

and this command require the name of the entry you want to inquiry.
Back to top
View user's profile Send private message
dbamain

New User


Joined: 28 Jun 2005
Posts: 12

PostPosted: Thu Aug 25, 2005 5:36 pm
Reply with quote

Hi l,
Thanks for ur response,i got the ans to find the limit

To know the limit first u have to go to option 6

1) 6 COMMAND - Enter TSO command or CLIST

2) Enter TSO or Workstation commands below:

===> listcat gdg ent('I004.TEST.GDG') all

3) PRESS ENTER

U WILL GET THE DETAILS ......HOPE IT WILL BE USEFUL







MGIndaco wrote:
And if you call it directly?
Code:
TSO LISTCA

does this message appair?
Code:
IKJ56700A ENTER POSITIONAL PARAMETER PAR1 -

If appair and you insert a GdgBase...nothing as:
Code:
GDG BASE ------ myuser.gdg
IN-CAT --- USERCAT.TRY                               
HISTORY                                               
  DATASET-OWNER----xxxxxx     CREATION--------2005.013
  RELEASE----------------2     EXPIRATION------0000.000
ATTRIBUTES                                             
  LIMIT-----------------20     SCRATCH          NOEMPTY
ASSOCIATIONS--------(NULL)   


I'm really embarrassed with you all... icon_neutral.gif
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Thu Aug 25, 2005 6:01 pm
Reply with quote

Quote:
1) 6 COMMAND - Enter TSO command or CLIST

2) Enter TSO or Workstation commands below:

===> listcat gdg ent('I004.TEST.GDG') all

3) PRESS ENTER


Without going in option 6 and other you can also write from everywhere

Code:
TSO LISTCAT ENT ALL
<ENTER>
PULL YOUR GDGBASE
<ENTER>


and you will find the same screen. icon_wink.gif
I whant apologize to you for the confusion of my replies.
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Thu Aug 25, 2005 6:01 pm
Reply with quote

listcat gdg ent('GDG') all is working for me.
Back to top
View user's profile Send private message
MGIndaco

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Thu Aug 25, 2005 6:22 pm
Reply with quote

Ok, the original from is that of IDCAMS:
From Option 6
Code:
LISTCAT ENT('mybase') ALL

or from everywhere
Code:
TSO LISTCAT ENT('mybase') ALL

I must apologize to you again and call my customizer icon_redface.gif
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 435
Location: chennai, India

PostPosted: Thu Aug 25, 2005 6:27 pm
Reply with quote

It works well now.It gives so many information about the GDG base.
Thanks,MG.
Back to top
View user's profile Send private message
ashish_mainframes

New User


Joined: 19 Apr 2006
Posts: 1
Location: Mumbai

PostPosted: Sat Apr 29, 2006 4:39 pm
Reply with quote

you can see this using fileaid option 2
Back to top
View user's profile Send private message
zoobink

New User


Joined: 09 May 2006
Posts: 3

PostPosted: Fri May 12, 2006 9:37 am
Reply with quote

LISTCAT ENT(/) GDG ALL in 3.4 will do the trick
Back to top
View user's profile Send private message
vanji

New User


Joined: 26 Dec 2005
Posts: 7
Location: pune

PostPosted: Wed Jul 19, 2006 12:13 pm
Reply with quote

still i want more clarifaication
can u please help me out

regards,
vanji
Back to top
View user's profile Send private message
vanji

New User


Joined: 26 Dec 2005
Posts: 7
Location: pune

PostPosted: Wed Jul 19, 2006 12:23 pm
Reply with quote

is it like we will be able to see the GDG versions onlly that we created?

help me out

regards,
vanji
Back to top
View user's profile Send private message
palas_08
Currently Banned

New User


Joined: 26 Feb 2007
Posts: 9
Location: kolkatta

PostPosted: Fri Aug 03, 2007 6:40 pm
Reply with quote

hi,
In tso file- aid u can see .

step :

first go to option f to go to file -aid. then give 3.2
give the name of gdg base and enter
-------------

U will see limit af that gdg
.

Using idcams utilities u can do .If u want i can code fro u.

with regards
Palas
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6248
Location: Mumbai, India

PostPosted: Fri Aug 03, 2007 7:01 pm
Reply with quote

Alas..! you are replying for nearly one year old post, see the last post details of this thread, they are:
Quote:
Posted: Wed Jul 19, 2006 11:53 am Post subject:
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 sort to find out the char which repea... Mainframe Interview Questions 10
No new posts Compare 2 alphabets in a REXX and fin... CLIST & REXX 2
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Substring number between 2 characters... DFSORT/ICETOOL 2
No new posts To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:

Back to Top