473,586 Members | 2,792 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SQL0104N An unexpected token"" was found following"". Expected tokens may:"

2 New Member
I am facing this problem during the migration from oracle to db2, pls. help to remove this error. I am new to DB2.
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 "" was found following "". Expected tokens may
include: "". LINE NUMBER=27. SQLSTATE=42601


CONNECT TO MIGT USER db2inst USING db2inst;
SET CURRENT SCHEMA = 'CS611';
SET PATH = SYSTEM PATH, "CS611";
CREATE OR REPLACE PACKAGE PAYMENT_MANAGEM ENT IS
--PDA *
--PDA Created by : Wael Fahmy
--PDA Date Created : 29 01 2007
--PDA Version : 1.0
--PDA Description :
--PDA This package is used for Payment management and an interface for the TABS API
--PDA
FUNCTION APIPAY( Consubflag CHAR
,Contrno CHAR
,Username CHAR
,Paymode CHAR
,Chqdetails CHAR
,Carddetails CHAR
,Equipdet CHAR
,Invdetails CHAR
,Advdist CHAR
,Checksubscribe r CHAR
,Currency CHAR
,Payment_For CHAR
,Pay_Future_inv ocies CHAR
,IsDepositRefun d CHAR
,IsAdvancePayCo ntrno CHAR
,InRecieptNo CHAR
,additional_par ams CHAR -- agaleel for Back Dated transactions and OnBehalfOf
) RETURN VARCHAR2;
FUNCTION paySubscriber( p_Area IN VARCHAR2 DEFAULT '0'
,p_SubscrType IN VARCHAR2 DEFAULT 'G'
,p_Subno IN VARCHAR2
,p_Amount IN NUMBER
,p_Username IN VARCHAR2
,p_PaymentInfo IN PAYMENTINFOTBL
,p_Currency IN VARCHAR2 DEFAULT 'NULL'
,P_Payment_For IN VARCHAR2 DEFAULT 'NULL'
,P_Pay_Future_i nvocies IN VARCHAR2 DEFAULT 'N'
, P_IsDepositRefu nd IN VARCHAR2 DEFAULT 'N'
, P_IsAdvancePayC ontrno IN VARCHAR2 DEFAULT 'N'
,P_ParamList in PARAMLISTTBL DEFAULT NULL -- agaleel for Back Dated transactions and OnBehalfOf
) return RESULTTBL;
FUNCTION payContract( p_Contract IN VARCHAR2
,p_Amount IN NUMBER
,p_Username IN VARCHAR2
,p_PaymentInfo IN PAYMENTINFOTBL
,p_Currency IN VARCHAR2 DEFAULT 'NULL'
,P_Payment_For IN VARCHAR2 DEFAULT 'NULL'
,P_Pay_Future_i nvocies IN VARCHAR2 DEFAULT 'N'
, P_IsDepositRefu nd IN VARCHAR2 DEFAULT 'N'
, P_IsAdvancePayC ontrno IN VARCHAR2 DEFAULT 'N'
,P_ParamList in PARAMLISTTBL DEFAULT NULL -- agaleel for Back Dated transactions and OnBehalfOf
)return RESULTTBL;
-- Modification by Muhammad Kashif Wateen-CR140785.B[Payments]
FUNCTION payCustomer( p_Customer IN VARCHAR2
,p_Amount IN NUMBER
,p_Username IN VARCHAR2
,p_PaymentInfo IN PAYMENTINFOTBL
,p_Currency IN VARCHAR2 DEFAULT 'NULL'
,P_Payment_For IN VARCHAR2 DEFAULT 'NULL'
,P_Pay_Future_i nvocies IN VARCHAR2 DEFAULT 'N'
, P_IsDepositRefu nd IN VARCHAR2 DEFAULT 'N'
, P_IsAdvancePayC ontrno IN VARCHAR2 DEFAULT 'N'
,P_ParamList in PARAMLISTTBL DEFAULT NULL -- agaleel for Back Dated transactions and OnBehalfOf
) return RESULTTBL;
-- End Modification by Muhammad Kashif Wateen-CR140785.B[Payments]
FUNCTION payMultipleSubs cribers( p_SubscriberInf o IN SUBSCRIBERSINFO TBL
,p_Username IN VARCHAR2
,p_PaymentInfo IN PAYMENTINFOTBL
,p_Currency IN VARCHAR2 DEFAULT'NULL'
,P_Payment_For IN VARCHAR2 DEFAULT 'NULL'
,P_Pay_Future_i nvocies IN VARCHAR2 DEFAULT 'N'
, P_IsDepositRefu nd IN VARCHAR2 DEFAULT 'N'
, P_IsAdvancePayC ontrno IN VARCHAR2 DEFAULT 'N'
,P_ParamList in PARAMLISTTBL DEFAULT NULL -- agaleel for Back Dated transactions and OnBehalfOf
)
return RESULTTBL;
FUNCTION payMultipleInvo ices( p_Contract IN VARCHAR2
,p_Username IN VARCHAR2
,p_InvoicesInfo IN INVOICESINFOTBL
,p_PaymentInfo IN PAYMENTINFOTBL
,p_Currency IN VARCHAR2 DEFAULT 'NULL'
,P_Payment_For IN VARCHAR2 DEFAULT 'NULL'
,P_Pay_Future_i nvocies IN VARCHAR2 DEFAULT 'N'
, P_IsDepositRefu nd IN VARCHAR2 DEFAULT 'N'
, P_IsAdvancePayC ontrno IN VARCHAR2 DEFAULT 'N'
,P_ParamList in PARAMLISTTBL DEFAULT NULL -- agaleel for Back Dated transactions and OnBehalfOf
)
return RESULTTBL;
FUNCTION PayOnSpot( p_OrderType IN VARCHAR2 ,p_Services IN SERVICESTBL
,Consubflag IN VARCHAR2
,p_Contract IN VARCHAR2
,p_Subno IN VARCHAR2
,p_SubscrType IN VARCHAR2
,p_Area IN VARCHAR2
,p_Username IN VARCHAR2
,Paymode IN VARCHAR2
,Chqdetails IN VARCHAR2
,Carddetails IN VARCHAR2
,Currency1 IN VARCHAR2
,P_ParamList in PARAMLISTTBL DEFAULT NULL -- agaleel for Back Dated transactions and OnBehalfOf
)

return VARCHAR2;
FUNCTION InsertSpotLevel ( p_Services IN SERVICESTBL
,p_Subno IN VARCHAR2
,p_SubscrType IN VARCHAR2
,p_Area IN VARCHAR2
)
return VARCHAR2;
END;
/
Dec 9 '10 #1
1 10873
Amjad Raza Gill
2 New Member
can any one help to solve this problem pls.
Dec 10 '10 #2

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

Similar topics

1
30209
by: Najm Hashmi | last post by:
Hi all , I am trying to create a store procedure and I get the following error: SQL0104N An unexpected token "END-OF-STATEMENT" was found following "END". Expected tokens may include: "JOIN <joined_table> Explanation: A syntax error in the SQL statement was detected at the specified token following the text "<text>". The "<text>"...
2
2769
by: Gustavo Randich | last post by:
Hello, (Using DB2/LINUX 8.2.0) After compiling the STRIP migration UDF (found at http://www-106.ibm.com/developerworks/db2/library/samples/db2/0205udfs/), if I try to execute: values char(STRIP('0000345.50','L','0'),20) @
3
6933
by: UnixSlaxer | last post by:
Hello All, While doing some TPC benchmark testing on DB2-UDB 8.2, I face the following problem when running this query: select * from lineitem where l_shipdate <= date '1998-12-01' - interval '69' day (3)
2
19983
by: P | last post by:
Hi all, I'm trying to run the following code taken from http://blogs.ittoolbox.com/database/technology/archives/006045.asp# select substr(tablespace_name,1,30) as "Tablespace Name", case (tablespace_type) when 0 then 'DMS' else 'SMS' end as "Type",
4
8964
by: lisa | last post by:
I have an XML file that starts like this: <?xml version="1.0" encoding="ISO-8859-1" xmlns:fn="http://www.w3.org/2005/xpath-functions"?> <Authors> <Author> <ID>2</ID> <UserName>Whoever</UserName> <Title>Whatever</Title> <Internet>email</Internet>
7
92062
by: Warrax | last post by:
I am currently doing online tutorials for C++, and am pretty much stuck in a rut about this problem. It is saying that there's an expected unqualifed-id before '{' token (I will post the code in just a second) on line 11, and an expected ',' or ';' before '{' token also on line 11, however I don't have a clue what the first one means. The program...
0
4246
by: vaibhavsumant | last post by:
<project name="DBCreate" default="usage" basedir="."> <property name="user" value="db2admin"/> <property name="passwd" value="db2admin"/> <property name="dbprefix" value=""/> <property name="driver" value="COM.ibm.db2.jdbc.app.DB2Driver"/> <property name="starturl" value="jdbc:db2:temp"/> <property name="db2dir"...
2
3624
by: atishrg | last post by:
Hello All Need your help.. I created addin for outlook 2007 in vs2005(vb.net)... It is working fine now I Migrated that to vs2008 and created setup for that in vs2008...
3
5443
by: flea2k | last post by:
I am trying to run this select statment against my DB2 database and it is throwing the following error, is there a setting in my db2 database to allow for this call "USE AND KEEP UPDATE LOCKS"? SELECT * FROM user.tableA WHERE FIRST_NAME ='Billy' WITH RS USE AND KEEP UPDATE LOCKS SQL0104N An unexpected token "USE AND KEEP UPDATE LOCKS"...
0
7908
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8199
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8336
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7950
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8212
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5389
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
1
2343
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1447
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
1175
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.