Connected Query Integrity

The following table describes the audit queries and resolutions for this area:

Query Description Resolution

SysConqrs-01

Identifies Connected Query definitions in the PSCONQRSMAP table that do not exist in the PSCONQRSDEFN table.

Delete the invalid definition from the PSCONQRSMAP table and the PSCONQRSFLDREL table (if it exists).

SysConqrs-02

Identifies Connected Query definitions in the PSCONQRSDEFN table that do not exist in the PSCONQRSMAP table.

Delete the invalid definition using Connected Query Manager.

SysConqrs-03

Identifies Connected Query definitions in the PSCONQRSFLDREL table that do not exist in the PSCONQRSMAP table.

Delete the invalid definition using Connected Query Manager or delete invalid definition directly from the PSCONQRSFLDREL table and the PSCONQRSDEFN table (if it exists).

SysConqrs-04

Identifies Connected Query definitions being used in the PSCONQRSRUNCNTR table that do not exist in the PSCONQRSDEFN table.

Delete the invalid definition from the PSCONQRSRUNCNTR table and the PSCONQRSRUNPRM table (if it exists).

SysConqrs-05

Identifies Connected Query definitions being used in the PSCONQRSRUNPRM table that do not exist in the PSCONQRSRUNCNTR table.

Delete the invalid definition from the PSCONQRSRUNPRM table.

SysConqrs-06

Verifies query definition usage according to the following rules:

  • Query definitions being used in PSCONQRSMAP table should exist in PSQRYDEFN table.

  • Only public query definitions should be used for public Connected Query definitions.

  • Private query definitions can be used for private Connected Query definitions only if they have the same owner.

If the query referenced in a Connected Query definition does not exist, delete it or open it in the Connected Query Manager and correct query selection and file mapping.

If a public Connected Query uses a private query, delete it or open it in the Connected Query Manager and correct query selection and file mapping.

You can also save an invalid Connected Query as a private query (with the same owner) with a new name and delete the original invalid public query. After deleting the original Connected Query, save the new private Connected Query using the original name.

SysConqrs-07

Verifies Connected Query structure (PSCONQRSMAP table), ensuring:

  • No duplicate parents exist for child queries.

  • No duplicate combinations of parent and child queries exist for a Connected Query.

Delete the invalid definition using Connected Query Manager.

SysConqrs-08

Verifies Connected Query structure (PSCONQRSMAP table), ensuring a parent(root) query is defined for all Connected Query definitions.

Delete the invalid definition using Connected Query Manager.

SysConqrs-09

Verifies Connected Query structure (PSCONQRSMAP table), checking if any parent query exists as a child query.

Delete the invalid definition using Connected Query Manager.

SysConqrs-10

Verifies Connected Query structure (PSCONQRSMAP table), ensuring that the number of child queries should be equal to the maximum value of the SEQNUM field.

Open the Connected Query and re-map member query fields.

If the Connected Query can't be opened, it should be deleted using Connected Query Manager.