| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Display Check Pending Constraint (DSPCPCST) command can be used to show the records that are possibly in violation of established constraints (check pending).
Restrictions:
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| FILE | File | Qualified object name | Required, Positional 1 |
| Qualifier 1: File | Name | ||
| Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
| CST | Constraint name | Character value | Required, Positional 2 |
| OUTPUT | Output | Optional |
| Top |
Specifies the dependent file on which the referential constraint is defined for a referential constraint, or the file for a check constraint.
This is a required parameter.
Qualifier 1: File
Qualifier 2: Library
| Top |
Specifies the constraint that is defined for the file.
This is a required parameter.
| Top |
Specifies whether the output from the command is shown at the requesting work station or printed with the job's spooled output.
| Top |
DSPCPCST FILE(ADMN/PERSONNEL) CST(1994hires)
OUTPUT(*PRINT)
This command prints a list of records that are in check pending for the referential constraint named 1994hires on the dependent file PERSONNEL in the ADMN library.
| Top |
| Top |