View previous topic :: View next topic
|
Author |
Message |
dream4deepak
New User
Joined: 20 Jul 2006 Posts: 12
|
|
|
|
Hi,
Can i Use LISTCAT Command to find the Primary and Secondary Space used for a dataset.
If yes , How can i do it ? Does the values stored in SYSPRIMARY and SYSSECONDS as it stores in LISTDSI .
If No, then please tell me how can i Find out the Primary and Secondary Space allocated to a VSAM Dataset. |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
Yes, therfore you could use IDCAMS/LISTCAT in JCL.
Also you can Type an I before the dsn in TSO3.4. A special panel will be provided to do a bacht submit.
Anyway, in the output you could find what you want.
IDCAMS SYSTEM SERVICES
/* IDCAMS COMMAND */
LISTCAT ENTRIES(IER1337.KK00.ZASINFO) -
ALL
CLUSTER ------- IER1337.KK00.ZASINFO
IN-CAT --- CATALOG.TAZIE002
HISTORY
DATASET-OWNER-----(NULL) CREATION--------2006.265
RELEASE----------------2 EXPIRATION------0000.000
SMSDATA
STORAGECLASS ----SCMAYCA MANAGEMENTCLASS---(NULL)
DATACLASS --------(NULL) LBACKUP ---0000.000.0000
BWO STATUS------00000000 BWO TIMESTAMP---00000 00:00:00.0
--->
CLUSTER--IER1337.KK00.ZASINFO
ATTRIBUTES
KEYLEN-----------------0 AVGLRECL-------------234
RKP--------------------0 MAXLRECL-------------234
RECORDS/CI------------77 MAXRECS---------17942232
SHROPTNS(1,3) SPEED UNIQUE NOERASE
UNORDERED NOREUSE NONSPANNED
STATISTICS
REC-TOTAL--------------0 SPLITS-CI--------------0
REC-DELETED------------0 SPLITS-CA--------------0
REC-INSERTED-----------0 FREESPACE-%CI----------0
REC-UPDATED------------0 FREESPACE-%CA----------0
REC-RETRIEVED----------0 FREESPC------------55296
ALLOCATION
SPACE-TYPE---------TRACK HI-A-RBA-----------55296
SPACE-PRI--------------1 HI-U-RBA---------------0
SPACE-SEC-------------22
Regards, UmeySan |
|
Back to top |
|
|
dream4deepak
New User
Joined: 20 Jul 2006 Posts: 12
|
|
|
|
SPCAE-PRI and SPCE-SEC denotes primary and secondary space. But how can i extract their values with out doing any String calculation.
As if we use LISTDSI the system will assign values in SYSPRIMARY and SYSSECONDS variables.Similiarly do we hav any Sytem varible which denotes the Primary and second space.
Please help me ...........?
thanks in advance |
|
Back to top |
|
|
|