!
!	File:		DISK.CLD
!	Purpose:	Defined the command syntax for the Disk Reports tool
!
!	Author:		Bauer/STSI
!	DLM:		6/17/88
!

	define verb DISK_REPORTS
		image "devtools:disk"
	
	parameter p1							! List of directory log files
		label = directory_log_file
		prompt = "Directory Log File(s)"
		value (type=$infile, required, list)

	qualifier OUTPUT						! Redirect output to a file
		value (type=$outfile, required)

	qualifier SUMMARY						! /NOSUMMARY will cause header page to be skipped
		default

	qualifier ROOT							! /NOROOT will cause ROOT directory report to be skipped
		default

	qualifier TOP_DIRECTORIES					! /NOTOP_DIRECTORIES will cause TOP DIRECTORY report 
		default							! to be skipped
		value (type=$number, default=10)

	qualifier DISK_SIZE_TABLE
		value (type=$infile, required)

	qualifier COMPLETE

	qualifier MASTER 						! Causes the multiple disk reports to be merged 
		value (type=$infile)					! Can specify a root mapping file

	qualifier MSUMMARY						!/NOMSUMMARY will cause the master root summary report to be skipped
		value (type=msummary_type)

	qualifier TABLE_ONLY						! Used only when /MERGE= file specified
									! Tells tool to ignore all masters not in table first

	qualifier PERCENT						! Calculate percentages based on total disk space
		value (type=percent_type, default=TOTAL_SPACE)		! currently allocated or on maximum disk space available
		
	qualifier OVER_BLOCK_SIZE					! Only print disks in merged or complete reports over
		value (type=$number, required)				! a certain block size

	qualifier MAX_DEPTH						! Only print disks in merged or complete reports that
		value (type=$number, required)				! go no deeper than specified directory level

	define type percent_type
		keyword TOTAL_SPACE
		keyword ALLOCATED_SPACE

	define type msummary_type
		keyword ONLY

