Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Analyze Database File Keys (ANZDBFKEY) command produces, from the data generated by the Analyze Database File (ANZDBF) command, two reports showing the key structure of the database files.
One report is written to the printer file QPPTANZK. The other report is written to the printer file QPPTANKM. QPPTANZK contains a listing of the access paths and (logical files only) selection criteria for each key field or selection rule. QPPTANKM contains a matrix of the key fields for all logical files based on the physical file.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILE | Physical file | Name, *NUMLF | Optional |
NUMLF | Min number of logical files | 1.0-99999.0, 5 | Optional |
JOB | Job name | Name, ANZDBFKEY | Optional |
JOBD | Job description | Single values: *NONE Other values: Qualified object name |
Optional |
Qualifier 1: Job description | Name, QPFRJOBD | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB |
Top |
Specifies which physical files to select from the list processed by the Analyze Database File (ANZDBF) command. The report includes all logical files associated with each selected physical file.
Top |
Specifies the minimum number of logical files associated with a physical file before that physical file is selected. This parameter is valid only when *NUMLF is specified on the Physical file prompt (FILE parameter).
Top |
Specifies the job name to be used if submitting the job for batch processing.
Any value for this parameter is ignored if *NONE is specified for the Job description prompt (JOBD parameter).
Note: If *NONE is specified for the Job description prompt (JOBD parameter), job processing is performed interactively.
The possible job name values are:
Top |
Specifies the job description used to submit the job for batch processing.
The possible job description values are:
The possible library values are:
Top |
ANZDBFKEY FILE(*NUMLF) NUMLF(2)
This command produces reports on the keys for all files that refer to physical files with at least two associated logical files.
Top |
*ESCAPE Messages
Top |