View previous topic :: View next topic
|
Author |
Message |
dbamain
New User
Joined: 28 Jun 2005 Posts: 12
|
|
|
|
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 |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
Simply using LISTCA command near the gdgbase in 3.4 option.(see LIMIT) |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
MGindaco,
Is the command a shop dependant one or common? |
|
Back to top |
|
|
dbamain
New User
Joined: 28 Jun 2005 Posts: 12
|
|
|
|
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 |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
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 |
|
|
dbamain
New User
Joined: 28 Jun 2005 Posts: 12
|
|
|
|
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 |
|
|
Prandip
New User
Joined: 04 Mar 2005 Posts: 84 Location: In my tiny cubicle ...
|
|
|
|
I think MGIndaco meant the LISTCAT command (abbreviated LISTC). |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
Hi Prandip, really I mean LISTCA command thru ISPF in option 3.4
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 |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
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 |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
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 |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
And if you call it directly?
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... |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
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 |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
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 |
|
|
dbamain
New User
Joined: 28 Jun 2005 Posts: 12
|
|
|
|
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?
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... |
|
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
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.
I whant apologize to you for the confusion of my replies. |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
listcat gdg ent('GDG') all is working for me. |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
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 |
|
Back to top |
|
|
radhakrishnan82
Active User
Joined: 31 Mar 2005 Posts: 435 Location: chennai, India
|
|
|
|
It works well now.It gives so many information about the GDG base.
Thanks,MG. |
|
Back to top |
|
|
ashish_mainframes
New User
Joined: 19 Apr 2006 Posts: 1 Location: Mumbai
|
|
|
|
you can see this using fileaid option 2 |
|
Back to top |
|
|
zoobink
New User
Joined: 09 May 2006 Posts: 3
|
|
|
|
LISTCAT ENT(/) GDG ALL in 3.4 will do the trick |
|
Back to top |
|
|
vanji
New User
Joined: 26 Dec 2005 Posts: 7 Location: pune
|
|
|
|
still i want more clarifaication
can u please help me out
regards,
vanji |
|
Back to top |
|
|
vanji
New User
Joined: 26 Dec 2005 Posts: 7 Location: pune
|
|
|
|
is it like we will be able to see the GDG versions onlly that we created?
help me out
regards,
vanji |
|
Back to top |
|
|
palas_08 Currently Banned New User
Joined: 26 Feb 2007 Posts: 9 Location: kolkatta
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
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 |
|
|
|