Re: CPI4323 too often?
- From: Richard Hennessy <rhennessy@xxxxxxxxxx>
- Date: Wed, 28 Jun 2006 09:48:37 +0100
The customer has since been in contact with IBM about another issue and more PTFs are being installed so when I came across this issue the latest ones were not yet on the system.
It is possible that the same statement is coming in from an ODBC client via Client Access and from an AS/400 CLI program. Presumably the safest thing to do here is for the programs to set all the relevant settings and not rely on ODBC settings or job descriptions to be the same.
I presume SQE is being used but I don't know. How can I tell?
Can I look at the contents of the statement cache?
Thanks
Richard
Kent Milligan wrote:
Is it possible that someone else ran that same SQL statements in the CLI program via a different interface like STRSQL that would have different settings?.
There's a SystemWide SQL Statement Cache for Dynamic SQL interfaces such as CLI and they only allow one entry per SQL statement. So if your attributes don't match, then the cached plan cannot be used.
Is the latest DB Group PTF installed on your server? Do you know if the SQL is being run by CQE or SQE?
Richard Hennessy wrote:Hi
I have a SQL/CLI program running on the AS/400. The program is started via remote execution. In the joblog for the program there are lots of CPI4323 with these reason codes
9 - The value of one of the following is different in the current job: date format, date separator, time format, or time separator.
17 - The access plan was generated with a commitment control level that is different in the current job.
My program doesn't set any of the date/time attributes or commitment control, it relys on the defaults.
What could be the reason for the access plan rebuilds? Exactly which job
definition should I look at to compare the attributes that are different.
Richard Hennessy
- Follow-Ups:
- Re: CPI4323 too often?
- From: Kent Milligan
- Re: CPI4323 too often?
- References:
- CPI4323 too often?
- From: Richard Hennessy
- Re: CPI4323 too often?
- From: Kent Milligan
- CPI4323 too often?
- Prev by Date: Re: How to force 'new page' on printer file using C record IO functions from RPG
- Next by Date: Re: Backup AS/400 to Windows Server
- Previous by thread: Re: CPI4323 too often?
- Next by thread: Re: CPI4323 too often?
- Index(es):
Relevant Pages
|