|
interesting... machine recently upgraded to v5r3 and we are getting usage limit msgs at qsysopr "often".... they have not updated license keys yet. jim----- Original Message ----- From: <fbocch2595@xxxxxxx>
To: <midrange-l@xxxxxxxxxxxx> Sent: Tuesday, January 03, 2006 2:29 PM Subject: Re: embedded sql halt and sql dump
usage limit on sql perhaps? -----Original Message----- From: Jim Franz <franz400@xxxxxxxxxxxx> To: MIDRANGE-L@xxxxxxxxxxxx Sent: Tue, 3 Jan 2006 13:47:43 -0500 Subject: embedded sql halt and sql dump Has anyone else seen this halt ?i have no authority at this customer to start an IBM Service call, and can seealready the ptf cume level is one level back. However, program has been running for many months. OS400 V5R3 ptf level c5207530 and db group 99503 level 6 SQLRPGLE compiled at release V5r2 for prev release V5R1 Very basic select statementSELECT * FROM IVRCYTD WHERE RCRQTY<>0 and RCIVCD <> 'N' and RCDATE> 20051226 ORDER BY RCCONO,RCDIV,RCLOC,RCIVDP,RCPART,RCCOND,RCICNO (i did cut & paste this select into strsql & it runs fine) dump values: SQLCOD -901SQLSTT 58004 (in Info Center as "system error") and produced a qsqlsrv dumpreport in qezdebugNo indication (I can see) and "what" system error, but joblog (below has someinfo).I beleive the sql error occurred "after" a record was read, because program dumpwas at a statement inside this loop dou SqlCod <> *zeroProgram dump does show all field values of selected record as zero and blank.Pgm was missing a statement like c/exec sql whenever sqlerror go to xxx SQL0901 Diagnostic 50 01/02/06 22:39:01.818160 QSQRUN2 QSYS *STMT QSQRUN2 QSYSFrom module . . . . . . . . : QSQFETCHFrom procedure . . . . . . : CK_DEBUGStatement . . . . . . . . . : 14360To module . . . . . . . . . : QSQFETCHTo procedure . . . . . . . : CK_DEBUGStatement . . . . . . . . . : 14360 Message . . . . : SQL system error.Cause . . . . . : An SQL system error hasoccurred. The current SQL statement cannot be completed successfully. The error will not prevent other SQL statements from being processed. Previous messages may indicate that there is a problem with the SQL statement and SQL did not correctlydiagnose the error. The previous messageidentifier was *N. Internal errortype 3943 has occurred. If precompiling,processing will not continue beyondthis statement. Recovery . . . : Seethe previous messages to determine if there is a problem with the SQL statement. To view the messages, use the DSPJOBLOG command if running interactively, or the WRKJOB command to view the output of a precompile. An application program receiving this returncode may attempt further SQL statements.Correct any errors and try the request again. jim franz --This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing listTo post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l. --This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing listTo post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.