Analyze Database Files (ANZDBF)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Analyze Database Files (ANZDBF) command produces two reports that show the physical and logical files in a set of libraries and the relationships between the files. It saves the information in a database file for further analysis by the Analyze Database File Keys (ANZDBFKEY) command. Both reports (physical to logical file relationships and logical to physical file relationships) are written to the printer file QPPTANZD. Two printer files with the same name are produced. The data is saved in member QAPTAZDR of the database file QPFRDATA/QAPTAZDR.

Top

Parameters

Keyword Description Choices Notes
LIBL Application libraries Values (up to 10 repetitions): Name Required, Positional 1
JOB Job name Name, ANZDBF 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

Application libraries (LIBL)

Specifies the libraries that contain the database files on which to report.

This is a required parameter.

You can enter multiple values for this parameter.

library-name
Specify up to 10 library names that are to be included in the Analyze Database File report.
Top

Job name (JOB)

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:

ANZDBF
The command name is used for the job name.
job-name
Specify the name to be used for any and all batch jobs.
Top

Batch job description (JOBD)

Specifies the job description used to submit the job for batch processing.

The possible job description values are:

QPFRJOBD
The IBM-supplied job description, QPFRJOBD, is used.
job-description-name
Specify the name of an alternate job description.
*NONE
A batch job is not submitted; processing continues interactively while the user waits. The user's workstation is not available for other use during this time, which could be significant for long jobs.

The possible library values are:

*LIBL
All libraries in the job's library list are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the job description. If no current library entry exists in the library list, QGPL is used.
library-name
Specify the library in which the job description is located.
Top

Examples

ANZDBF   LIBL(APDTA ARDTA)

This command produces reports showing the relationships for all files in the Accounts Payable (APDTA) and Accounts Receivable (ARDTA) data libraries.

Top

Error messages

*ESCAPE Messages

CPF9801
Object &2 in library &3 not found.
CPF9802
Not authorized to object &2 in &3.
PFR9802
Unexpected message monitored.
Top