Troubleshooting
Problem
The operating system includes a tool to dump the SQL CLI handle array.
Resolving The Problem
The IBM i operating system includes a tool to dump the SQL CLI handle array. The program is run against the job making the CLI calls (not the QSQSRVR job).
To create the dump, type the following from an operating system command line:
CALL PGM(QSQDMPHA) PARM('123456')
where 123456 is the job number of the CLI job. Press the Enter key.
Sample Output:
CLI Handle Array - Job Number "024195"
-
Environment
Handles
00001
-
Connection ENV Local Commit Next Off Next Off Target
Handles Server Handle Connected Connection Control WORK DWORK DBMS/RLS
00002 00001 Y Y N 0000003488 0000000000
-
Statement DBC DESC DESC DESC DESC Stmt Fetch
Handles Cursor Name Handle Imp Row Imp Parm App Row App Parm Prep Fetched Only
00003 SQLCURSOR000000003 00002 00004 00000 00005 00000 Y Y Y
-
Scroll Row Rslt Cursor Descriptor DBC SQLDA User
Cursor Size Set Open Handles Handle Offset SQLDA
N Y N Y 00004 00002 0000000256 N
00005 00002 0000001872 N
-
Historical Information: This tool was added at V4R5.
Historical Number
19954511
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1017730