ILE COBOL Programmer's Guide

Checking that Constraints Have Been Successfully Added or Removed

From an ILE COBOL program, the Retrieve File Description (QDBRTVFD) API can be used. Externally, from the OS/400 operating system, the Display File Description (DSPFD) command can be used. A query of the system cross-reference file (QADBFCST) will also show if a constraint has been added to a file.

Both the Retrieve File Description (QDBRTVFD) API and the Display File Description (DSPFD) command retrieve the file definition along with all of the constraints that have been added.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]