11.1.7 REPORT Statement
The REPORT statement is used to customize reports by specifying the fields to be printed, and the order in which to print them; it will be honored if RPTYPE=CUSTOM is specified, or if RPTYPE= is omitted. The report generated by REPORT will use the same input data as RPTYPE=HISTORY or BACKUP. If the fields do not include any fields related to the backup data sets, the report will report on history records only; if backup fields are included, it will report on history and backup data (including backup data that has no matching history records). SELECT/EXCLUDE statements, if present, will filter the data reported.
Syntax
REPORT FIELD=(field1,field2,...)
OPERANDS
FIELD=
This specifies the names of one or more FIELDs to be printed in the custom report. The available field names are in the following table. The fields will be printed in the order specified. There will be one space between fields, except that you can include field names of SPn (where "n" is 0 to 9) which will cause the specified number of spaces to appear between the preceding and following fields. For example,
REPORT FIELD=(VERSION,SP3,BKDSN,BKVOL)
will insert 3 spaces between VERSION and BKDSN, but only one space between BKDSN and BKVOL.
FIELD NAME TABLE
This table lists the field names which are available for inclusion in the FIELD operand of the REPORT statement (many of these can also be used on SELECT/EXCLUDE statements). For each field, the table shows:
Field Names | Function |
|---|---|
NAME | The field name as used in the FIELD= operand. |
DESCRIPTION | A brief description |
ATTR | How the field will be displayed: |
LEN | The number of print positions it will occupy in the report |
Name | Description | Attr | Len |
|---|---|---|---|
BKDSN | Backup data set name for Backups | CHAR | 44 |
BKDS1 | 1st half ofSplitbackup data set name | CHAR | 27 |
BKDS2 | 2nd half ofSplitbackup data set name | CHAR | 27 |
BKSPLDSN | Backup data set name split two lines | CHAR | 27 |
BKTYPE | Backup type: DASD, TAPE, NONE, ARCH, KEYD | CHAR | 4 |
BKVOLS | Three volsers per line of backup DSN | CHAR | 21 |
BLK | Alias for BLOCKS | NUM | 8 |
BLOCKS | Number of Blocks transmitted. | NUM | 8 |
BYT | Alias for BYTES | NUM | 8 |
BYTES | Number of Bytes transmitted | NUM | 8 |
COMPCODE | Alias for CONDCODE. | CHAR | 9 |
COMPRESSTYPE | Compression type used. HI-1/2/3 FAST | CHAR | 4 |
COMPTYPE | Alias for COMPRESSTYPE | CHAR | 4 |
COND | Abbreviation for CONDCODE. | CHAR | 9 |
CONDCODE | Completion code of event | CHAR | 9 |
CPU | Abbreviation for CPUTIME | NUM | 8 |
CPUTIME | CPU time in Seconds used for event | NUM | 8 |
DATE | Date in YY/MM/DD of event | NUM | 8 |
ELAPS | Abbreviation for ELAPSEDTIME | NUM | 6 |
ELAPSEDTIME | Elapsed time for event in minutes. | NUM | 6 |
FIL | Abbreviation for FILES | NUM | 8 |
FILES | Number of FILES transmited. | NUM | 8 |
FLAGS | Alias for HFLAGS | HEX | 5 |
HFLAGS | History Flags HISTSFL1 and HISTSFL2 | HEX | 5 |
HISTSFL0 | History TYPE flag | HEX | 2 |
HISTSFL1 | History Flag 1 | HEX | 2 |
HISTSLF2 | History Flag 2 | HEX | 2 |
LU | Abbreviation for LUNAME | CHAR | 8 |
LUNAME | LUNAME of origination of event | CHAR | 8 |
MBLK | Alias for MERGEBLOCKS | NUM | 8 |
MBYT | Alias for MERGEBYTES | NUM | 8 |
MERGEBLOCKS | Number of BLOCKS merged by event | NUM | 8 |
MERGEBYTES | Number of BYTES merged by event | NUM | 8 |
MERGEFILES | Number of FILES merged by event | NUM | 8 |
MFIL | Alias for MERGEFILES | NUM | 8 |
MIGFIL | Alias for MIGRATEFILES | NUM | 8 |
MIGRATEFILES | Number of Files Migrated | NUM | 8 |
MINS | Alias for ELAPSEDTIME | NUM | 6 |
OPERNAME | Operation NAME of event | CHAR | 8 |
OPERTYPE | Operation TYPE of event | CHAR | 4 |
OPNAME | Alias for OPERNAME | CHAR | 8 |
OPTYPE | Alias for OPERTYPE | CHAR | 4 |
PROFI | Abbreviation for PROFILENAME | CHAR | 8 |
PROFILE | Abbreviation for PROFILENAME | CHAR | 8 |
PROFILENAME | Name of PROFILE used for event | CHAR | 8 |
SFL0 | Alias for HISTSFL0 | HEX | 2 |
SFL1 | Alias for HISTSFL1 | HEX | 2 |
SFL2 | Alias for HISTSLF2 | HEX | 2 |
TAP | Abbreviation for TAPES | NUM | 7 |
TAPES | Number of TAPES used for Backup | NUM | 7 |
TIME | TIME of event | NUM | 8 |
TRACKS | Number of TRACKS used for backup on DASD | NUM | 7 |
TRK | Alias for TRACKS | NUM | 7 |
US | Abbreviation for userid | CHAR | 8 |
USERID | User ID recorded for event | CHAR | 8 |
VERSION | Combination of DATE+TIME | CHAR | 17 |