IDCAMS Listcat

IDCAMS ALTER IDCAMS PRINT

Advertisements


The LISTCAT command used to view dataset attributes, usage statistics, space allocation information, Security information, creation and expiration information etc,..

It is useful when specially listing attributes and characteristics of all VSAM and non-VSAM objects cataloged in a VSAM or ICF catalog.

LISTCAT stands for LIST CATalog entry.


Syntax:

						
LISTCAT  [ALIAS]   
	 [ALTERNATEINDEX]    
	 [CLUSTER]         
	 [DATA]           
	 [GENERATIONDATAGROUP]   
	 [INDEX]       
	 [NONVSAM]     
	 [PAGESPACE]   
	 [PATH]        
	 [SPACE]       
	 [USERCATALOG]     
	 [CREATION(days)]  
	 [ENTRIES(entry name[/password]   
	   [  entryname[/password]...])]  
	   LEVEL(level)]     
	 [EXPIRATION(days)]  
	 [NAME]          
	   HISTORY]        
	   VOLUME]        
	   ALLOCATION]    
	   ALL]        
	 [NOTUSABLE]   
	 [OUTFILE(ddname)]  
	                       
	 [CATALOG(catname[/password])]  


HISTORY: HISTORY option is used to list the information for the above attributes.

VOLUME: VOLUME option is used to list the information about the device type and one or more volume serial number of the storage volumes where the dataset resides.

ALLOCATION: ALLOCATION option used to list the information that has been specified for space allocation including The unit (cylinders, tracks etc), number of allocated units of primary and secondary space and actual extents. This is displayed only for data and index component entries.

ALL: all the above options details are listed with ALL option.


Practical Example:


						
//JOB CARD
//*------------------------------------------------------------------
//* IDCAMS - LISTCAT
//*------------------------------------------------------------------
//STEP01  EXEC PGM=IDCAMS
//SYSPRINT  DD SYSOUT=*
//SYSIN     DD *
          LISTCAT 				-
               ENTRIES(userid.KSDS.LISTCAT) 	-
               CLUSTER 			-
               ALL
/*



IDCAMS ALTER IDCAMS PRINT

Advertisements