| Data file type | File extension | Description | Required | Parameter in the start procedure |
|---|---|---|---|---|
| Rule file | .dat | Code review rules. | Yes. | RULES |
| CCR file | .ccr | Definitions of custom code review rules. | If you use any custom code review rules. | CUSTRULE |
| z/OS File System Mapping file1 | .zip | An archive of z/OS file system mappings. | If you use any nondefault z/OS file system mappings. | EXTMAP |
| Property group file2 | .xml | SYSLIB entries for copybooks and include files. | If you use any copybooks or include files. | PROPERTY |
| 1You
do not need a mapping file if you plan to use the LIST parameter
when you run the code review application on z/OS. 2You do not need a property group file if you plan to use the SYSLIB parameter when you run the code review application on z/OS. |
||||
To create a rule file, follow these steps:
To create a CCR file, follow these steps.
You do not need a mapping file if you plan to use the LIST parameter when you run the code review application on z/OS.
A z/OS File System Mapping file contains mappings that are exported from the z/OS File System Mapping view. A z/OS File System Mapping file is not required for running the z/OS code review application unless the data sets that you analyze have nondefault file system mappings.
At run time, the z/OS code review application checks the low-level qualifier of each data set that it processes. If it finds a match in the file system mappings, then it processes the data set. If not, then it skips the data set.
The default action is that the z/OS code review application searches the default file system mappings. If a z/OS File System Mapping file is specified, the application searches the mapping file rather than the default mappings.
To create a z/OS File System Mapping file, follow these steps:
You do not need a property group file if you plan to use the SYSLIB parameter when you run the code review application on z/OS.
A property group file contains the names of data sets that you want to be searched to resolve references to copybooks. A property group file is not required for running the z/OS code review application. However, if the application cannot resolve a reference to a copybook, it does not process the copybook.
To specify data sets for qualified or unqualified copybook references in a property group file, follow these steps. Use the same property group file for qualified references and unqualified references.
To specify data sets to be searched for qualified copybook references, follow these steps:
To specify data sets to be searched for unqualified copybook references, follow these steps: