MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

-1455 ORACLE ERROR IN EMBEDDED SQL IN COBOL PROGRAM

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
newcobol
Beginner


Joined: 20 Apr 2006
Posts: 88
Topics: 22

PostPosted: Fri Aug 26, 2011 1:22 pm    Post subject: -1455 ORACLE ERROR IN EMBEDDED SQL IN COBOL PROGRAM Reply with quote

ERROR RUNNING THIS PARA:

**AcuBench Column Block**
Code:

SELECT  RRI_ID                                         
  INTO :RSS-FK-RRI-ID                                   
FROM REA_ROOM_INFO_RRI                                 
WHERE RRI_CASE_MANAGER = :RST-CASE-MANAGER             
  AND RRI_ROOM_AVAILABLE_DT <= COD(:WSH-DATE-OF-THE-DAY)
  AND RRI_ACTIVE_IND = :WSV-YES                         
  AND RRI_REA_TYPE_CD = :WSV-RRI-ONE-ONE               

THE INTO VARIABLE IS INITIALIZED TO 0
RST-CASE-MANAGER IS VARCHAR 30. TWO DOTS THEN ST. AUBIN, ALLISON
DATE OF THE DAY IS 01/23/2012
WSV-YES IS 'Y'
TYPE CD IS 3141

THE PROGRAM HAS GONE THRU THIS PARA MANY TIMES AND BLOWS UP ON THIS PERSON.
ANY IDEAS?
Back to top
View user's profile Send private message
newcobol
Beginner


Joined: 20 Apr 2006
Posts: 88
Topics: 22

PostPosted: Fri Aug 26, 2011 1:29 pm    Post subject: Reply with quote

I should mention that this program runs in toad when i copy and paste it there and replace the variables with the values
Back to top
View user's profile Send private message
papadi
Supermod


Joined: 20 Oct 2009
Posts: 594
Topics: 1

PostPosted: Fri Aug 26, 2011 1:38 pm    Post subject: Reply with quote

In Oracle, what is a -1455?
_________________
All the best,

di
Back to top
View user's profile Send private message
newcobol
Beginner


Joined: 20 Apr 2006
Posts: 88
Topics: 22

PostPosted: Fri Aug 26, 2011 1:46 pm    Post subject: Reply with quote

ORA-01455: converting column overflows integer datatype
Cause: The converted form of the specified expression was too large for the specified datatype.
Action: Define a larger datatype or correct the data.
when checking fields, all variables i listed above appear to fit fine. as i said, the program has gone thru this paragraph many times already.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Fri Aug 26, 2011 2:25 pm    Post subject: Reply with quote

newcobol,

http://www.bestremotedba.com/ora-01455-converting-column-overflows-integer-datatype/

http://www.ironspeed.com/Designer/3.2.4/WebHelp/Part_VI/ORA_01455_Converting_column_overflows.htm
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Fri Aug 26, 2011 2:34 pm    Post subject: Reply with quote

well, let's start from scratch.

what is the datatype of column RRI_ID
what is the cobol datatype definition of RSS-FK-RRI-ID

rather, what does the ddl state for RRI_ID
What is the line of cobol look like where you define RSS-FK-RRI-ID?
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group