Space utilization report of datasets using JCL



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Space utilization report of datasets using JCL

Postby antu » Fri Jul 03, 2009 2:16 am

Is there is any JCL by which i can get the space utilization report of all the dataset starting with USER1.*

for example:
VOLUME DS/ORG CR DATE SMS STORCLAS Storage group Tracks Allocated Current Tracks allocated % Used


Thanks in advance!!!

Antu
8-)
antu
 
Posts: 9
Joined: Wed Jul 02, 2008 3:13 am
Has thanked: 0 time
Been thanked: 0 time

Re: Space utilization report of datasets using JCL

 

Re: Space utilization report of datasets using JCL

Postby dick scherrer » Fri Jul 03, 2009 3:18 am

Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Space utilization report of datasets using JCL

Postby antu » Tue Jul 07, 2009 2:04 am

Hi,
First of all Thanks a lot Dick..... I have submitted the below JCL

//DATAVAL JOB 'BISWP',CLASS=A,NOTIFY=&SYSUID
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//OUTDS DD DSN=USER.TEST.OUTPUT,
// STORCLAS=LARGE,
// DSORG=PS,
// DCB=(RECFM=VB,LRECL=644,BLKSIZE=0),
// SPACE=(1,(100,100)),
// DISP=(NEW,CATLG,DELETE)
//SYSIN DD *
DCOLLECT -
OFILE(OUTDS) -
VOLUME(DMPU17)
//

and it is working fine... but i am not able to see that %USED, Tracks Allocated and Tracks Used information in the output file USER.TEST.OUTPUT.....

Could anyone help me out!!!!

Thanks
antu
 
Posts: 9
Joined: Wed Jul 02, 2008 3:13 am
Has thanked: 0 time
Been thanked: 0 time

Re: Space utilization report of datasets using JCL

Postby dick scherrer » Tue Jul 07, 2009 3:00 am

You're welcome :)

You might add a second step like this:
//LISTVTOC EXEC PGM=IEHLIST                                 
//SYSPRINT DD SYSOUT=*                                       
//DISK     DD UNIT=3390,VOL=SER=DMPU17,DISP=SHR             
//SYSIN    DD *                                             
  LISTVTOC FORMAT,VOL=3390=DMPU17                             
/*                                                           
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Space utilization report of datasets using JCL

Postby expat » Tue Jul 07, 2009 3:23 pm

and it is working fine... but i am not able to see that %USED, Tracks Allocated and Tracks Used information in the output file USER.TEST.OUTPUT.....

You would not see this information on DCOLLECT as it is recorded in Kb and not in tracks and cylinders

DCOLLECT data is discussed in great depth in the IDCAMS manual.

Click HERE to read the IDCAMS manual.
expat
 
Posts: 382
Joined: Sat Jun 09, 2007 3:21 pm
Has thanked: 0 time
Been thanked: 1 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post