Within RC/Query for Db2 for z/OS (RCQ) attempt to list the SYS% tables and encounter error:
===========
RQM 20.0.06 ---------------- RC/Q Main Menu --------------- 06-15-2023 12:24
COMMAND ===>
DB2 Object ===> t Option ===> l Where => N
Item Name ===> SYS* > Creator ===> SYSIBM >
Qualifier ===> * > Grantor ===> * >
ACM ==> OFF ACMID ==> xxxxxxx ------------------- xxxxxxx
Location ===> LOCAL DB2 SSID ===> ssid DB2 Version => 121M500
DB2 OBJECTS:
T - Table SG - Storage Group P - Plan
V - View DB - Data Base CL - Collection
I - Index TS - Table Space PK - Package
C - Column BP - Buffer Pool TG - Triggers
S - Synonym H - History L - LOB
A - Alias U - User R - Routines
RI - Ref.Integrity SY - System SC - Schema
CD - Coldist VC - VSAM Catalog DT - Distinct
SQ - Sequence AC - Accl. Server TC - Trusted Context
RO - Role PM - Permission & Mask
===============================================================
PTPSQLET R02.00 ---------------- SQL ERROR --------------- 06-15-2023 12:25:29
COMMAND ===> SCROLL ===> PAGE
The information below describes an error condition detected in DB2. The
error is not necessarily a problem with the application that you are
executing. Carefully examine the error message to determine if the error
could have been caused by entering incorrect data, not holding required
authorization, or possibly a problem with your DB2 system.
********************************* TOP OF DATA ********************************
DSNT408I SQLCODE = -206, ERROR: A.KEYLABEL IS NOT VALID IN THE CONTEXT
WHERE IT IS USED
DSNT418I SQLSTATE = 42703 SQLSTATE RETURN CODE
DSNT415I SQLERRP = DSNXORSO SQL PROCEDURE DETECTING ERROR
DSNT416I SQLERRD = -600 0 0 -1 0 0 SQL DIAGNOSTIC INFORMATION
DSNT416I SQLERRD = X'FFFFFDA8' X'00000000' X'00000000'
X'FFFFFFFF' X'00000000' X'00000000' SQL DIAGNOSTIC
INFORMATION
******************************** BOTTOM OF DATA ******************************
This occurs when attempting to use the Db2 Data Sharing group attach.
When using the member name the T-L report is successful.
The problem was discovered that the Xmanager tasks on the 2 LPARs had not been recycled with the updated hlq.CDBALOAD maintenance.
Once hlq.CDBALOAD was refreshed and the Xmanager tasks recycled, the RC/Query problem was resolved.
Mismatch between RSPMAIN hlq.CDBALOAD maintenance and Xmanager hlq.CDBALOAD maintenance caused this issue.