473,385 Members | 1,707 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Hello all, I am getting a syntax error (see below) while creating a stored

procedure in UDB V9.5, It creates properly in UDB 8.1:

$ db2 -td@ -f FUMT_SP_001.SP

DB21034E The command was processed as an SQL statement because it was not a
valid Command Line Processor command. During SQL processing it returned:
SQL0104N An unexpected token "END-OF-STATEMENT" was found following "|
' I_ASCOS' ". Expected tokens may include: "<psm_semicolon>". LINE
NUMBER=1832. SQLSTATE=42601

=====================
The code at line number 1832 is :


1828 SET L_CURRENT_TS = CURRENT TIMESTAMP;--
1829 SET L_INPUT_DATA = ' I_LINE_OF_BUSINESS_CD:' || I_LINE_OF_BUSINESS_CD ||
1830 ' I_COVERAGE_CD:' || I_COVERAGE_CD ||
1831 ' I_OPERATING_COMPANY_CD:' || I_OPERATING_COMPANY_CD ||
1832 ' I_BUSINESS_UNIT_CD:' || I_BUSINESS_UNIT_CD ||
1833 ' I_STATES' || I_STATES ||
1834 ' I_ASCOS' || I_ASCOS ||
1835 ' I_COUNTRYWIDE_IN:' || I_COUNTRYWIDE_IN ||
1836 ' I_FORM_DISPLAY_IN:' || I_FORM_DISPLAY_IN ||
1837 ' I_FORM_TYPE_CDS:' || I_FORM_TYPE_CDS ||
1838 ' I_WITHDRAWN_IN:' || I_WITHDRAWN_IN ||
1839 ' I_EFFECTIVE_DT:' || CHAR(I_EFFECTIVE_DT) ||
1840 ' I_WRITTEN_DT:' || CHAR(I_WRITTEN_DT) ||
1841 ' I_CLASS_CDS:' || I_CLASS_CDS;--
1842 /************************INITIALIZATION OF VARIABLES ENDS******************************************/



Any direction on this error would be greatly appreciated. This is my first time submitting a question to this forum. If improperly done please let em know and i will redo it.

Thanks Jimmy Rowe
Jun 24 '10 #1
0 1241

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Hu Nan | last post by:
DB2 UDB 8.1 on Red Hat Linux 8: Just installed two Linux machines with UDB 8.1. When creating stored procedure, like "create procedure p1() begin end", got error like: SQL0035N The file...
3
by: kufre | last post by:
I need some fresh eyes to take a look at this code for me and let me know what it is I'm doing wrong because I keep getting all kinds of error message with this code. I've had several people help...
2
by: Roy Rodsson via .NET 247 | last post by:
Hi all! I am using a stored procedure in SQL2000 for retrieving fileinformations from a db. the table as an uniqueidentifier for the file information. The stored procedure has a variable...
14
by: group8perl | last post by:
am getting syntax error, can someone please explain how to insert a hyperlink into a table.
18
by: rahuls | last post by:
Hi everyone, I have a couple of questions? 1.this is part of my main function ////////////////////////////// int main() { FILE *f1; int i,j; j=100000000; int intData;
1
by: ruvi | last post by:
Hi, I am using Vb 6 and Access. I am getting syntax error in the following sql query. strSql = "SELECT ...
1
by: robtyketto | last post by:
Greetings, When checking the syntax under flash mx it displays error (see below) for the code below (Windows MDM Zinc 2.5):- mdm.Database.MSAccess.runQuery("INSERT INTO...
3
paulrajj
by: paulrajj | last post by:
hi to all, i am getting syntax error on my code.. Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in D:\xampp\htdocs\Dummy\paulraj\matrim\exam.php on line 62 ...
7
by: Yesurbius | last post by:
I am receiving the following error when attempting to run my query. In my mind - this error should not be happening - its a straight-forward query with a subquery. I am using Access 2003 with all...
1
by: inbarik | last post by:
Hi, i'm getting syntax error message for this button that tries to get name (of building) with apostrophe. Any idea how to solve this? Note that i must use name with apostrophe e.g. O'neal: ...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.