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
 

 

LISTCAT For VSAM - For Space Allocation

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: LISTCAT For VSAM - For Space Allocation
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: 743
Location: Germany

PostPosted: Thu Sep 28, 2006 7:39 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am
No new posts REXX DB2: Dynamic allocation of DB2.D... BHAS CLIST & REXX 3 Mon Dec 19, 2016 8:26 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am


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