Database Error Messages

Release
toggle
  • 23ai
  • 21c
  • 19c
Updated
Jun 24, 2024

PGU-30611

references missing field string specified for string

Cause

The data field d-field containing a clause of the form syntax references a missing field r-field specified by the clause word token. PGAU issues messages 30610 and 30611 consecutively for d-field syntax r-field and token. Typical IBMVSCOBOLII clause syntax for this error includes: d-field OCCURS int-1 TIMES d-field OCCURS int-1 TO int-2 TIMES DEPENDING ON name-1 d-field RENAMES name-1 THRU name-2 d-field REDEFINES name-1 WHEN name-2 = value d-field LENGTH IS name-1 The clause references a field r-field specified by the word token. PGAU GENERATE searched previous fields within the current parameter but failed to find the named field r-field. The word token may be misspelled in the defining clause or the referenced field whose name should match token may be missing from, or misspelled in the PG DD.


Action

In the PG DD, redefine the entry for d-field to change its clause token to specify the correct name of the intended field r-field, or redefine the data name of the intended field r-field to match the subsequent clause's token reference. Also ensure the data field d-field containing the clause follows the intended field r-field in the data definition.