[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Odd SQR Behavior - Return code 256
- Subject: [sqr-users] Odd SQR Behavior - Return code 256
- From: "Schelske, Steve K." <SKSchelske@aaamichigan.com>
- Date: Fri, 7 Sep 2007 15:12:08 -0400
- Delivery-date: Fri, 07 Sep 2007 15:14:22 -0400
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
- Thread-index: Acfxgvwccgj/rCxJSXm1noQ1T/uKaQ==
- Thread-topic: Odd SQR Behavior - Return code 256
We are running SQRs on a Windows server via Perl scripts against an
Oracle 10g RAC database on Linux.
I am coming across a very odd situation with various SQR programs. Here
is what happens.
A program will run that has run successfully many times an it will fail
with the following error
(SQR 5528) ORACLE OCIStmtExecute error 1861 in cursor 7:
ORA-01861: literal does not match format string
In this case Cursor 7 is
Cursor #7:
SQL = Insert INTO PS_A_EARN_TOT_TBL (ERNCD, A_EARNS_TOTAL,
A_HRS_TOTAL, DESCR) Select AA.ERNCD, 0, 0, AA.DESCR From
PS_EARNINGS_TBL AA Where AA.EFFDT = (select MAX(AA1.EFFDT)
From
PS_EARNINGS_TBL AA1 Where AA.ERNCD = AA1.ERNCD And
AA1.EFFDT <=
:1)
where :1 is a string variable containing the current date
Then without making any changes to the program or data, the program is
restarted and runs successfully.
This seems to happen maybe 1 percent of the time and we have only seen
it happen in our production environment.
Does anyone have any ideas what could be causing this?
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users