DFS2295E SOME SENSEG STATEMENT IS INVALID FOR FAST PATH SECONDARY INDEX dbdname FOR PCB pcbname IN PSB psbname

Explanation

One or more SENSEG statements are invalid for Fast Path secondary index dbdname for PCB pcbname in PSB psbname. If the target segment is not a root segment, only a subset of the segments are accessible.

System action

The ACB Maintenance utility stops processing for the PSB. The PSB is deleted from the ACB library. The ACB Maintenance utility continues to run and the return code is set to 8.

Programmer response

Use the rules for SENSEG statements when the target segment is not a root segment to make the appropriate corrections, run the PSBGEN utility again, and run the ACBGEN utility with a BUILD statement for the PSB.

Correct the invalid SENSEG statements using the following rules:

  • If the target segment is not a root segment:
    • All direct parent segments from the root segment to the target segment must be specified in physical order of the database structure.
    • The direct parent segments of the target segment are accessible. If you do not want a direct parent segment of the target segment to be returned, specify the PROCOPT=K operand on the SENSEG statement for that direct parent segment.
    • The child segments of the target segment are accessible. If you want to access a child segment of the target segment, specify a SENSEG statement for that child segment.
    • Segments that are not the direct parent segments of the target segment or the child segments of the target segment are not accessible. The segments that are not accessible cannot have a SENSEG statement specified.
  • If the target segment is a root segment, all segments under the target segment are accessible.

Module

DBFUDLB0