The Report Command
Top  Previous  Next


Purpose: To generate project reports.
Syntax: CSRCS Report command-switches
Abbreviation: None
Switches:
/p"ProjectName" – Generates reports on the project.  
/r "ReportDescription"– Report definition string. The report definition string consists of the following fields: Note: All fields are optional. Fields are concatenated and may be specified in any order.  
·O:"OutputFileName" – Output is saved in the file specified by OutputFileName. When this field is not specified, the Project Report Dialog is invoked.  
Tip: Omit this parameter to debug all other parameter settings.  
·R:A|H|X – Specify the report type: A - Text; H - HTML; X - XML.  
·C:ColNum[…] – Specify one or more columns to report:  
· 0 - Document name  
· 1 - Document type  
· 2 - Folder name  
· 3 - RCS Status  
· 4 - Time modified  
· 5 - Head revision number  
· 6 - Last author/locker  
· 7 - Document description  
·S:ColNum[A|D] – Column number used as the sort key (column numbers, as above in C:ColNum). Optionally, specify the sort order: A - Ascending; D - Descending.  
·F:From[,To] – Specify alpha-numeric filter. The filter is applied on the selected sort fields.  
Note: This filter is available on alpha-numeric fields only (e.g. document name, Document type, Folder name,    Last author/locker, Document description)  
 
Exit code: 0 – success; 1 – otherwise.

Example:
   CSRCS report /p"Test" /rR:HO:"C:\Temp\rcsreport.htm"C:3201S:0A

This command generates an HTML report of project Test into file C:\Temp\rcsreport.htm. The report consists of the first 4 columns and is sorted by document name in ascending order.