Question

ORACLE - STORE PROCEDURE Declaration problem : PLS-00103: Encountered the symbol "(" when expecting one of the following

Rating6.6Good

I am getting following errors:
Compilation errors for PROCEDURE APP.GETSTEXT

Error: PLS-00103: Encountered the symbol "(" when expecting one of the following:
       
          := ) , default varying character large
       The symbol ":=" was substituted for "(" to continue.
Line: 2
Text: (RMC                      IN CHAR(2) ,

Error: PLS-00103: Encountered the symbol "(" when expecting one of the following:
       
          := ) , default varying character large
       The symbol ":=" was substituted for "(" to continue.
Line: 4
Text: Claim_Form                IN CHAR(1),

Error: PLS-00103: Encountered the symbol "(" when expecting one of the following:
       
          := ) , default varying character large
       The symbol ":=" was substituted for "(" to continue.
Line: 5
Text: ICD_Proc_Code             IN CHAR(4),

Error: PLS-00103: Encountered the symbol "(" when expecting one of the following:
       
          := . ) , @ % default character
       The symbol ":=" was substituted for "(" to continue.
Line: 6
Text: Proc_Code                 IN VARCHAR2(5),

Error: PLS-00103: Encountered the symbol "(" when expecting one of the following:
       
          := ) , default varying character large
       The symbol ":=" was substituted for "(" to continue.
Line: 7
Text: Modifier_Code             IN CHAR(2),

Error: PLS-00103: Encountered the symbol "(" when expecting one of the following:
       
          := ) , default varying character large
       The symbol ":=" was substituted for "(" to continue.
Line: 8
Text: Revenue_Code              IN CHAR(3),

Error: PLS-00103: Encountered the symbol "(" when expecting one of the following:
       
          := . ) , @ % default character
Line: 9
Text: ICDDiagnosis_Code         IN VARCHAR2(5) := NULL,


CREATE OR REPLACE PROCEDURE getTEST
  (RMC                      IN CHAR(2) , 
  Service_Date              IN DATE , 
  Claim_Form                IN CHAR(1), 
  ICD_Proc_Code             IN CHAR(4), 
  Proc_Code                 IN VARCHAR2(5), 
  Modifier_Code             IN CHAR(2), 
  Revenue_Code              IN CHAR(3), 
  ICDDiagnosis_Code         IN VARCHAR2(5) := NULL, 
  TypeBill_Code             IN CHAR(3) := NULL, 
  PlaceTreatment_Code       IN NUMBER(2) := NULL,
  ProvCat_Code              IN CHAR(4) := NULL,
  ServiceCat_Code           OUT VARCHAR2(10)) AS
   
   
   
RMCGrpCd CHAR(2);
 
                                                                                                                                                                                                                                                                                                                                                                                             
                                                                                                                                                                                                                                                                                                                                                                                             
BEGIN
 
...
 
END getTEST
                              
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:

Select allOpen in new window

  1. Executing a stored procedure
    I am trying to execute a stored procedure but I keep getting this error... SQL> execute C_FixFloorStockCommit(ARIMFG); BEGIN C_FixFloorStockCommit(ARIMFG); END; * ERROR at line 1: ORA-06550: line 1, column 29: PLS-00103: Encountered the symbol "`" …
  2. PLS-00103
    Can anyone please tell me why I am getting the error shown below! drop TYPE Budget_objtyp; CREATE TYPE Budget_objtyp as object( Year number, Value number(6), Current_Expenditure number(6,2), member procedure UpdateExpenditure( p_Year number,p_CostofAttraction number, p_cu…
  3. PLS-00103: Encountered the symbol ")…
    i have the following procedure, can anyone tell me what's wrong? create or replace PROCEDURE ABC() BEGIN DECLARE policyid CHAR(36); FOR c AS cur1 CURSOR FOR select policy from policy where policy not in (select t1.policy from policy t1, policyfield t2 where t1.policy = t2.policy and t2.fieldname = 'R…
  4. PLS-00103: Encountered the symbol "UI_…
    I go the following error when run a procedure. I post the run code also. Please help. Thanks. ERROR at line 4: ORA-06550: line 4, column 6: PLS-00103: Encountered the symbol "UI_PKG" when expecting one of the following: := . ( @ % ; The symbol ":=" was substituted for "UI…
  5. procedure errors
    PROCEDURE EMP_PROCEDURE(EM_ID NUMBER) is CURSOR CUR_EMP IS SELECT * FROM EMP; END EMP_PROCEDURE; 1.when to use BEGIN END in procedures. Compilation errors for PROCEDURE XXXXXX.EMP_PROCEDURE Error: PLS-00103: Encountered the symbol "END&qu…

Solution

Sign up now to view this solution! It's quick, easy, and secure to subscribe. We will return you to this solution, unlocked, when you’re done.

About this Solution
View This Solution - Start Your 30 Day Free Trial
Zone
General
Tags
Participating Experts
1
Solution Grade
A

Replies

 
by: sdstuber

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: DDB

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: sdstuber

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: DDB

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: sdstuber

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: sdstuber

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: sdstuber

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: DDB

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: sdstuber

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: sdstuber

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: DDB

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by:

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: sdstuber

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: DDB

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

 
by: sdstuber

All comments and solutions are available to Premium Service Members only. Sign up to view the solution to this question. Already a member? Log in to view this solution.

Stay Connected

Oracle Around the Web

The latest Oracle news, tips, and tricks

Oracle Unveils Netra SPARC T3 Servers

New Carrier-Grade Blade and Rackmount Servers Deliver Better Performance, Density and Power Efficiency for the Communications Industry ...

read more

Oracle fixes 21 flaws in Java SE, Java for Business

Oracle is fixing 21 flaws in its Java SE and Java for Business products in its February critical patch update issued this week ...

read more

Obama’s Silicon Valley “Tech Supper”

Why was he there? Who wasn’t invited and why? What did they talk about? Why was he really there? These are the questions being debated ...

read more

Featured Oracle Experts

slightwv

slightwv has answered more than 2,000 Oracle questions and oversees database management within the U.S. Government. Slightwv

sdstuber

A regular presenter at the Collaborate conference, Oracle developer sdstuber is a top expert in PL/SQL and Oracle 9, 10 and 11. sdstuber

Testimonials

What users are saying about our experts

"The Oracle gurus provide answers, solutions and valuable workarounds"

User: schwertner

"Wow! Excellent, valuable explanation. Hats off to you"

User: aseshu70

"Solution worked fantastic and performs excellent! Thanks heaps"

User: klausbrandlhuber

Top Experts

  1. slightwv

    2,000

    0 points yesterday

    Profile

BrowseBecome an Expert