I am using the following OPNQRYF statement:
OPNQRYF FILE((*LIBL/INPOP30H) (*LIBL/MSVMP100)) FORMAT(G#MHP001) QRYSLT('poiglCS *EQ + "0000030" *AND RQ3DT *GE "' *CAT &FRYMDL + *CAT '" *AND RQ3DT *LE "' *CAT &TOYMDL + *CAT '" ') KEYFLD(*FILE) JFLD((1/VNDNO + 2/VNDNO)) MAPFLD((VNDNO '1/vndno') + (POIGLC '%digits(poigl)' *CHAR 15) + (POIGLCS '%sst(poiglc 1 7)' *CHAR 7)) + OPNID(G#MHP001) OPTIMIZE(*MINWAIT)OPTALLAP(*YES) TYPE(*PERM)
The above statement has been working and only recently began failing with the following error message: Pointer no set for location referenced. Internal failure occurred in query processor. CPF4204
I do not know how to resolve. Any ideas?
An internal failure error message usually means you have hit a defect in the operating system. I would verify that you have the latest Database Group PTF installed and if you do, then report the problem to IBM Support.
MORE INFORMATION ON THIS TOPIC
Search400.com's targeted search engine: Get relevant information on DB2/400.
The Best Web Links: tips, tutorials and more.
Check out this online event, Getting the Most out of SQL & DB2 UDB for the iSeries.
Dig Deeper on DB2 UDB (universal databases)
Related Q&A from Kent Milligan
When working with DB2 files with columns that have both short and long names, there is no option choose which column names are returned via ODBC ... Continue Reading
When developing tables in a parent-child relationship, use a primary key and a foreign key along with a unique ID to make your database easier to ... Continue Reading
IBM did not change the default of the reuse deleted files function to YES for physical files in order to minimize the impact on any existing ... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.