Troubleshooting
Problem
Resolving The Problem
If you encounter an SQL catalog issue collect the following information by using either
method A or method B.| Method A - QMGTOOLS |
ADDLIBLE QMGTOOLSb.
GO MGc.
Option 13 - Check IBM for updated QMGTOOLSOption 6 - Database menue.
Option 8 - SQL catalog
*NO is used for FTP then you must manually send to IBM via:
| Method B - Manual Collection |
PTF information:
1. IBM i release of system (in other words, IBM i 7.3, IBM i 7.4, and so on)
2. WRKPTFGRP and F6 to get a QSYSPRT spool file
3. DSPPTF OUTPUT(*PRINT)
Data collection:
1. Log off and back on to get a clean job log.
2. Catalog checks:
Via command line:
CALL QSYS/QSQIBMCHKCALL QSQSYSIBM 'CHECKONLY'SELECT MESSAGE_TIMESTAMP,FROM_USER,FROM_JOB,MESSAGE_TEXTFROM TABLE (QSYS2.HISTORY_LOG_INFO(START_TIME => 'current timestamp'))WHERE FROM_PROGRAM = 'QSQSYSIBM'OR FROM_PROGRAM = 'QSQSIBMUTL'OR FROM_PROGRAM = 'QDBXREF2';3. System job QDBSRVXR2 information:
WRKJOB JOB(QDBSRVXR2) OPTION(*SPLF)
- we'll want each joblog
DSPJOBLOG JOB(QDBSRVXR2) OUTPUT(*PRINT)
(repeat step 3 for each iASP as needed)
Perform steps 4-9 only if catalog problems are on an iASP:
4. STRDBG UPDPROD(*YES)
5. WRKCFGSTS *DEV *ASP
6. Option 1=Vary to vary on the iASP.
7. SETASPGRP ASPGRP(iASP NAME)
8. CALL QSYS/QSQIBMCHK
9. RCLDBXREF *CHECK
10. DSPJOBLOG * *PRINT
Historical Number
N1012164
Was this topic helpful?
Document Information
Modified date:
20 November 2025
UID
nas8N1012164