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

LISTCAT For VSAM - For Space Allocation


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
dream4deepak

New User


Joined: 20 Jul 2006
Posts: 12

PostPosted: Thu Sep 28, 2006 2:30 pm
Reply with quote

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
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 771
Location: Germany

PostPosted: Thu Sep 28, 2006 7:39 pm
Reply with quote

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
View user's profile Send private message
dream4deepak

New User


Joined: 20 Jul 2006
Posts: 12

PostPosted: Thu Sep 28, 2006 9:50 pm
Reply with quote

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
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
Search our Forums:

Back to Top