[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
[sqr-users] Can execute Oracle stored procedure only x number oftimes?
- Subject: [sqr-users] Can execute Oracle stored procedure only x number oftimes?
- From: Clark Murray <gyozaking@yahoo.com>
- Date: Mon, 7 Aug 2006 13:09:56 -0700 (PDT)
- Delivery-date: Mon, 07 Aug 2006 16:12:24 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com;h=Message-ID:Received:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type;b=CBtTAluzz2w53CMzUeva1P1PbuqsxX3ddkvYFcsM8uMOqzZLt2l/pFXePecVwNCciO6Eu8zWJKBs6xKkI2tnidG4GpOoXTiamNJnzV2q7p7YPr1vXjq9/Lpjv+3zyFhn2HnK9jQmoOKFJhlFOgwql31KTB7TQ9CWbZbgN8JNnEo=;
- List-id: "This list is for discussion about the SQR database reportinglanguage from Hyperion Solutions." <sqr-users.sqrug.org>
Our environment is:
SQR server 8.2 on Win 2003 SP1
Oracle 9.2.0.5
The program generates lists of customers. It loops through a list of
customer IDs and for each one it calls a stored procedure to get the customer's
name, address, etc. It works just fine until it has done 253 records, then it
reports an error in executing the procedure. I don't know whether or not this
is significant, but the last character of the procedure name is truncated in
the error message:
Error on line 91:
(SQR 3913) Could not EXECUTE stored procedure or function.
SQL: EXEC Transcription_Utilities.Get_Transcription_Recor
Error on line 91:
(SQR 3913) Could not EXECUTE stored procedure or function.
SQR: Program Aborting.
Is there an issue with the record it's trying to process? No -- it's handled
just fine if I change the selection criteria so that that customer is within
the first 253. If I rerun it, it processes the remainders just fine (so long
as there are less that 254, I assume).
The code I believe to be relevant follows.
!------------------------------------------------------------ Get_Record
begin-procedure Get_Record
execute do=write_transcription_record
! on-error=Oracle_Error
@#proc_return_status = Transcription_Utilities.Get_Transcription_Record
@p_customer_id = #customer_id
, @p_output_record = $transcription_record OUTPUT
end-procedure Get_Record
!-------------------------------------------- Write_Transcription_Record
begin-procedure Write_Transcription_Record
!display $transcription_record
write 1 from $transcription_record
add 1 to #record_count
end-procedure Write_Transcription_Record
Any insight into this issue will be greatly appreciated.
Clark Murray
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users