Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

how to find the number of limits in gdg...
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: how to find the number of limits in gdg...
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    Post subject:
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: 436
Location: chennai, India

PostPosted: Wed Aug 24, 2005 4:35 pm    Post subject:
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    Post subject: HI MGIndaco,
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: 436
Location: chennai, India

PostPosted: Wed Aug 24, 2005 4:40 pm    Post subject:
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    Post subject: thanx..
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: 85
Location: In my tiny cubicle ...

PostPosted: Wed Aug 24, 2005 6:16 pm    Post subject: Re: how to find the number of limits in gdg...
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    Post subject:
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: 436
Location: chennai, India

PostPosted: Wed Aug 24, 2005 6:34 pm    Post subject:
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: 436
Location: chennai, India

PostPosted: Wed Aug 24, 2005 6:39 pm    Post subject:
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    Post subject:
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: 436
Location: chennai, India

PostPosted: Wed Aug 24, 2005 7:25 pm    Post subject:
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    Post subject:
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    Post subject: HI MGIndaco,
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    Post subject:
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: 436
Location: chennai, India

PostPosted: Thu Aug 25, 2005 6:01 pm    Post subject:
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    Post subject:
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: 436
Location: chennai, India

PostPosted: Thu Aug 25, 2005 6:27 pm    Post subject:
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    Post subject:
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    Post subject:
Reply with quote

LISTCAT ENT(/) GDG ALL in 3.4 will do the trick
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm
No new posts Casting a Binary Number to Numeric in... Bob Steinkraus Java & MQSeries 6 Tue Aug 09, 2016 5:58 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us