Source does not have a target executable.

Can anyone of you help me please with this long stored procedure that gives me "Source doesn't have a target executable."

Thanks for all the help in advance.

Kind regards


-Code
CREATE OR REPLACE PROCEDURE SP_CHANGE_NAMES AS
BEGIN
DECLARE
A_moalternatename TANK (32 BYTES);
NUMBER OF A_BASE_LEVEL_RC;
A_base_level_rc_type VARCHAR2 (10 BYTE);
A_NEW_NAME VARCHAR2 (64 BYTE);
A_OLD_NAME VARCHAR2 (64 BYTE);
NUMBER OF A_VALID;
DATE OF A_PROCESS_DATE;
A_NEW_NAME1 VARCHAR2 (64 BYTE): = 'A ';
A_OLD_NAME1 VARCHAR2 (64 BYTE): = 'A ';
A_EQUIPMENT_DESCR_OLD VARCHAR (255): = 'A ';
A_EQUIPMENT_DESCR_NEW VARCHAR (255): = 'A ';
A_EQUIPMENT_RC1 (240 BYTES) VARCHAR2: = 'A ';
A_EQUIPMENT_RC (240 BYTES) VARCHAR2: = 'A ';
A_AREA_PROCESS_CLASS VARCHAR2 (240 BYTES).
A_AREA_PROCESS_SHORT_FORM VARCHAR2 (4);
A_AREA_OBJECT_SHORT_FORM VARCHAR2 (4);
A_EQUIP_TYPE VARCHAR2 (50 BYTES): = 'A ';



CURSOR CUR_CHANGE_HIER_NAME
IS
SELECT / * + PARALLEL(XXNF_CSI_RC_HIERARCHY,4) * /.
moalternatename,
BASE_LEVEL_RC,
BASE_LEVEL_RC_TYPE,
NEW_NAME,
VALID,
PROCESS_DATE
OF TBL_CHANGE_HIER_NAMES
WHERE VALID = 1 AND BASE_LEVEL_RC = 154391
UPDATE;

CURSOR CUR_TBL_AREA_PROCESS_CLASS
IS
SELECT AREA_PROCESS_CLASS,
AREA_OBJECT_CLASS,
AREA_PROCESS_CLASS_SHORT_FORM,
AREA_OBJECT_CLASS_SHORT_FORM
OF TBL_AREA_PROCESS_CLASS;
BEGIN


CUR_CHANGE_HIER_NAME OPEN;

LOOP
EXTRACTION CUR_CHANGE_HIER_NAME
IN
A_moalternatename,
A_BASE_LEVEL_RC,
A_BASE_LEVEL_RC_TYPE,
A_NEW_NAME,
A_VALID,
A_PROCESS_DATE;

WHEN THE OUTPUT CUR_CHANGE_HIER_NAME % NOTFOUND;

DBMS_OUTPUT. Put_line ('A_moalternatename: ' |) A_moalternatename |
', A_BASE_LEVEL_RC: ' | A_BASE_LEVEL_RC |
', A_BASE_LEVEL_RC_TYPE: ' | A_BASE_LEVEL_RC_TYPE |
', A_NEW_NAME: ' | A_NEW_NAME |
', A_VALID: ' | A_VALID |
', A_PROCESS_DATE: ' | A_PROCESS_DATE);
IF UPPER (TRIM (A_base_level_rc_type)) = 'CAVITY' Then
BEGIN
A_OLD_NAME1: = ' * ' | TRIM (UPPER (A_OLD_NAME)). "BUNIT;
A_NEW_NAME1: = ' * ' | TRIM (UPPER (A_NEW_NAME)). "BUNIT;
DBMS_OUTPUT. PUT_LINE ('A_OLD_NAME1: ' |) A_OLD_NAME1 | ' A_NEW_NAME1: ' | A_NEW_NAME1);
SETTING A DAY MODEL SET MODELNAME = A_NEW_NAME1,
MODELDESCRIPTION = A_NEW_NAME1 | ' ('| to_char (A_BASE_LEVEL_RC) |) ') '
WHERE UPPER (TRIM (MODELNAME)) = TRIM (UPPER (A_OLD_NAME1) AND TRIM (MODELTYPE) = TRIM (A_moalternatename) AND upper (Trim (MODELDESCRIPTION)) = upper (Trim (A_OLD_NAME1) | ' ('|| TO_CHAR (A_BASE_LEVEL_RC) | ') ';

SETTING A DAY MO SET MONAME = UPPER (A_NEW_NAME1) WHERE MOALTERNATENAME = A_MOALTERNATENAME AND UPPER (TRIM (MONAME)) = TRIM (UPPER (A_OLD_NAME1));
END;
ELSIF UPPER (TRIM (A_base_level_rc_type)) = "TEAM" then
BEGIN
A_OLD_NAME1: = TRIM (UPPER (A_OLD_NAME)). "THE TEAM."
A_NEW_NAME1: = TRIM (UPPER (A_NEW_NAME)). "THE TEAM."
DBMS_OUTPUT. PUT_LINE ('A_OLD_NAME1: ' |) A_OLD_NAME1 | ' A_NEW_NAME1: ' | A_NEW_NAME1);
SETTING A DAY MODEL SET MODELNAME = A_NEW_NAME1,
MODELDESCRIPTION = TRIM (UPPER (A_NEW_NAME1)). ' ('|| TO_CHAR (A_BASE_LEVEL_RC) | ') '
WHERE UPPER (TRIM (MODELNAME)) = TRIM (UPPER (A_OLD_NAME1) AND TRIM (MODELTYPE) = TRIM (A_moalternatename) AND upper (Trim (MODELDESCRIPTION)) = upper (Trim (A_OLD_NAME1) | ' ('|| TO_CHAR (A_BASE_LEVEL_RC) | ') ';

SETTING A DAY MO SET MONAME = UPPER (A_NEW_NAME1) WHERE MOALTERNATENAME = A_MOALTERNATENAME AND UPPER (TRIM (MONAME)) = TRIM (UPPER (A_OLD_NAME1));
END;
ELSIF UPPER (TRIM (A_base_level_rc_type)) = 'SPACE' and then
BEGIN
A_OLD_NAME1: = TRIM (UPPER (A_OLD_NAME)). "_AREA ';
A_NEW_NAME1: = TRIM (UPPER (A_NEW_NAME)). "_AREA ';
DBMS_OUTPUT. PUT_LINE ('A_OLD_NAME1: ' |) A_OLD_NAME1 | ' A_NEW_NAME1: ' | A_NEW_NAME1);
SETTING A DAY MODEL SET MODELNAME = A_NEW_NAME1,
MODELDESCRIPTION = TRIM (UPPER (A_NEW_NAME1)). ' ('|| TO_CHAR (A_BASE_LEVEL_RC) | ') '
WHERE UPPER (TRIM (MODELNAME)) = TRIM (UPPER (A_OLD_NAME1) AND TRIM (MODELTYPE) = TRIM (A_moalternatename) AND upper (Trim (MODELDESCRIPTION)) = upper (Trim (A_OLD_NAME1) | ' ('|| TO_CHAR (A_BASE_LEVEL_RC) | ') ';

SETTING A DAY MO SET MONAME = UPPER (A_NEW_NAME1) WHERE TRIM (MOALTERNATENAME) = TRIM (A_MOALTERNATENAME) AND UPPER (TRIM (MONAME)) = TRIM (UPPER (A_OLD_NAME1));

-----------------
OPEN CUR_TBL_AREA_PROCESS_CLASS.

LOOP
EXTRACTION CUR_TBL_AREA_PROCESS_CLASS
IN
A_AREA_PROCESS_CLASS, A_EQUIP_TYPE, A_AREA_PROCESS_SHORT_FORM, A_AREA_OBJECT_SHORT_FORM;

WHEN THE OUTPUT CUR_TBL_AREA_PROCESS_CLASS % NOTFOUND;

-INITIAL VARIABLES
A_EQUIPMENT_DESCR_OLD: = Trim (upper (A_OLD_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_DESCR_NEW: = Trim (upper (A_NEW_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_RC: = TO_CHAR (A_BASE_LEVEL_RC) | A_AREA_OBJECT_SHORT_FORM;
DBMS_OUTPUT. PUT_LINE ('A_EQUIPMENT_DESCR_OLD: ' |) A_EQUIPMENT_DESCR_OLD | ' A_EQUIPMENT_DESCR_NEW: ' | A_EQUIPMENT_DESCR_NEW | ' A_EQUIPMENT_RC: ' | A_EQUIPMENT_RC);


Setting a DAY MO SET MONAME = UPPER (A_EQUIPMENT_DESCR_NEW) WHERE TRIM (MOALTERNATENAME) = TRIM (A_EQUIPMENT_RC) AND UPPER (TRIM (MONAME)) = trim (UPPER (A_EQUIPMENT_DESCR_OLD));

A_EQUIPMENT_DESCR_OLD: = TRIM (UPPER (A_OLD_NAME1)). '_' || A_AREA_PROCESS_CLASS;
A_EQUIPMENT_DESCR_NEW: = Trim (UPPER (A_NEW_NAME1)). '_' || A_AREA_PROCESS_CLASS;
A_EQUIPMENT_RC1: = TO_CHAR (A_BASE_LEVEL_RC) | A_AREA_PROCESS_SHORT_FORM;
DBMS_OUTPUT. PUT_LINE ('A_EQUIPMENT_DESCR_OLD: ' |) A_EQUIPMENT_DESCR_OLD | ' A_EQUIPMENT_DESCR_NEW: ' | A_EQUIPMENT_DESCR_NEW | ' A_EQUIPMENT_RC1: ' | A_EQUIPMENT_RC1);

SETTING A DAY MO SET MONAME = UPPER (A_EQUIPMENT_DESCR_NEW) WHERE TRIM (MOALTERNATENAME) = TRIM (A_EQUIPMENT_RC1) AND UPPER (TRIM (MONAME)) = UPPER (A_EQUIPMENT_DESCR_OLD);
END LOOP;

CLOSE CUR_TBL_AREA_PROCESS_CLASS;

A_OLD_NAME1: = TRIM (UPPER (A_OLD_NAME1)). '_DF ';
A_NEW_NAME1: = TRIM (UPPER (A_NEW_NAME1)). "DF".

UPDATE MO SET MONAME = UPPER (A_NEW_NAME1) WHERE TRIM (MOALTERNATENAME) = TO_CHAR (TRIM (A_MOALTERNATENAME)). "DF" AND UPPER (TRIM (MONAME)) = TRIM (UPPER (A_OLD_NAME1));

-----------------
END;
ELSIF UPPER (TRIM (A_base_level_rc_type)) = "CSI_FLD" then
BEGIN
A_OLD_NAME1: = TRIM (UPPER (A_OLD_NAME1)). "CHP";
A_NEW_NAME1: = TRIM (UPPER (A_NEW_NAME1)). "CHP";
DBMS_OUTPUT. PUT_LINE ('A_OLD_NAME1: ' |) A_OLD_NAME1 | ' A_NEW_NAME1: ' | A_NEW_NAME1);
SETTING A DAY MODEL SET MODELNAME = A_NEW_NAME1,
MODELDESCRIPTION = A_NEW_NAME1 | ' ('|| TO_CHAR (A_BASE_LEVEL_RC) | ') '
WHERE UPPER (TRIM (MODELNAME)) = TRIM (UPPER (A_OLD_NAME1) AND TRIM (MODELTYPE) = TRIM (A_moalternatename) AND upper (Trim (MODELDESCRIPTION)) = upper (Trim (A_OLD_NAME1) | ' ('|| TO_CHAR (A_BASE_LEVEL_RC) | ') ';

SETTING A DAY MO SET MONAME = UPPER (A_NEW_NAME1) WHERE TRIM (MOALTERNATENAME) = TRIM (A_MOALTERNATENAME) AND UPPER (TRIM (MONAME)) = TRIM (UPPER (A_OLD_NAME1));
-Update of objects of process and equipment
A_EQUIP_TYPE: = "air";
A_AREA_OBJECT_SHORT_FORM: = 'PV ';
A_EQUIPMENT_DESCR_OLD: = Trim (upper (A_OLD_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_DESCR_NEW: = Trim (upper (A_NEW_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_RC: = TO_CHAR (A_BASE_LEVEL_RC) | A_AREA_OBJECT_SHORT_FORM;
DBMS_OUTPUT. PUT_LINE ('A_EQUIPMENT_DESCR_OLD: ' |) A_EQUIPMENT_DESCR_OLD | ' A_EQUIPMENT_DESCR_NEW: ' | A_EQUIPMENT_DESCR_NEW | ' A_EQUIPMENT_RC: ' | A_EQUIPMENT_RC);

SETTING A DAY MO SET MONAME = UPPER (A_EQUIPMENT_DESCR_NEW) WHERE TRIM (MOALTERNATENAME) = TRIM (A_EQUIPMENT_RC) AND UPPER (TRIM (MONAME)) = UPPER (A_EQUIPMENT_DESCR_OLD);
A_EQUIP_TYPE: = 'evacuation process. "
A_AREA_PROCESS_SHORT_FORM: = 'EV ';
A_EQUIPMENT_DESCR_OLD: = Trim (upper (A_OLD_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_DESCR_NEW: = Trim (upper (A_NEW_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_RC1: = TO_CHAR (A_BASE_LEVEL_RC) | A_AREA_PROCESS_SHORT_FORM;
DBMS_OUTPUT. PUT_LINE ('A_EQUIPMENT_DESCR_OLD: ' |) A_EQUIPMENT_DESCR_OLD | ' A_EQUIPMENT_DESCR_NEW: ' | A_EQUIPMENT_DESCR_NEW | ' A_EQUIPMENT_RC1: ' | A_EQUIPMENT_RC1);

SETTING A DAY MO SET MONAME = UPPER (A_EQUIPMENT_DESCR_NEW) WHERE TRIM (MOALTERNATENAME) = TRIM (A_EQUIPMENT_RC1) AND UPPER (TRIM (MONAME)) = UPPER (A_EQUIPMENT_DESCR_OLD);
-----------------
END;

ELSIF (TRIM (A_base_level_rc_type)) = "FACL" UPPER then
BEGIN
A_OLD_NAME1: = TRIM (UPPER (A_OLD_NAME)). "FACL";
A_NEW_NAME1: = TRIM (UPPER (A_NEW_NAME)). "FACL";
DBMS_OUTPUT. PUT_LINE ('A_OLD_NAME1: ' |) A_OLD_NAME1 | ' A_NEW_NAME1: ' | A_NEW_NAME1);
SETTING A DAY MODEL SET MODELNAME = A_NEW_NAME1,
MODELDESCRIPTION = A_NEW_NAME1 | ' ('|| TO_CHAR (A_BASE_LEVEL_RC) | ') '
WHERE UPPER (TRIM (MODELNAME)) = TRIM (UPPER (A_OLD_NAME1) AND TRIM (MODELTYPE) = TRIM (A_moalternatename) AND upper (Trim (MODELDESCRIPTION)) = upper (Trim (A_OLD_NAME1) | ' ('|| TO_CHAR (A_BASE_LEVEL_RC) | ') ';

SETTING A DAY MO SET MONAME = UPPER (A_NEW_NAME1) WHERE TRIM (MOALTERNATENAME) = TRIM (A_MOALTERNATENAME) AND UPPER (TRIM (MONAME)) = TRIM (UPPER (A_OLD_NAME1));
-Update of objects of process and equipment
A_EQUIP_TYPE: = "air";
A_AREA_OBJECT_SHORT_FORM: = 'PV ';
A_EQUIPMENT_DESCR_OLD: = Trim (upper (A_OLD_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_DESCR_NEW: = Trim (upper (A_NEW_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_RC: = TO_CHAR (A_BASE_LEVEL_RC) | A_AREA_OBJECT_SHORT_FORM;
DBMS_OUTPUT. PUT_LINE ('A_EQUIPMENT_DESCR_OLD: ' |) A_EQUIPMENT_DESCR_OLD | ' A_EQUIPMENT_DESCR_NEW: ' | A_EQUIPMENT_DESCR_NEW | ' A_EQUIPMENT_RC: ' | A_EQUIPMENT_RC);

SETTING A DAY MO SET MONAME = UPPER (A_EQUIPMENT_DESCR_NEW) WHERE TRIM (MOALTERNATENAME) = TRIM (A_EQUIPMENT_RC) AND UPPER (TRIM (MONAME)) = UPPER (A_EQUIPMENT_DESCR_OLD);
A_EQUIP_TYPE: = 'evacuation process. "
A_AREA_PROCESS_SHORT_FORM: = 'EV ';
A_EQUIPMENT_DESCR_OLD: = Trim (upper (A_OLD_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_DESCR_NEW: = Trim (upper (A_NEW_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_RC1: = TO_CHAR (A_BASE_LEVEL_RC) | A_AREA_PROCESS_SHORT_FORM;
DBMS_OUTPUT. PUT_LINE ('A_EQUIPMENT_DESCR_OLD: ' |) A_EQUIPMENT_DESCR_OLD | ' A_EQUIPMENT_DESCR_NEW: ' | A_EQUIPMENT_DESCR_NEW | ' A_EQUIPMENT_RC1: ' | A_EQUIPMENT_RC1);

SETTING A DAY MO SET MONAME = UPPER (A_EQUIPMENT_DESCR_NEW) WHERE TRIM (MOALTERNATENAME) = TRIM (A_EQUIPMENT_RC1) AND UPPER (TRIM (MONAME)) = UPPER (A_EQUIPMENT_DESCR_OLD);

A_EQUIP_TYPE: = 'TruckLoading ';
A_AREA_OBJECT_SHORT_FORM: = 'ETL ';
A_EQUIPMENT_DESCR_OLD: = Trim (upper (A_OLD_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_DESCR_NEW: = Trim (upper (A_NEW_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_RC: = TO_CHAR (A_BASE_LEVEL_RC) | A_AREA_OBJECT_SHORT_FORM;
DBMS_OUTPUT. PUT_LINE ('A_EQUIPMENT_DESCR_OLD: ' |) A_EQUIPMENT_DESCR_OLD | ' A_EQUIPMENT_DESCR_NEW: ' | A_EQUIPMENT_DESCR_NEW | ' A_EQUIPMENT_RC: ' | A_EQUIPMENT_RC);

SETTING A DAY MO SET MONAME = UPPER (A_EQUIPMENT_DESCR_NEW) WHERE TRIM (MOALTERNATENAME) = TRIM (A_EQUIPMENT_RC) AND UPPER (TRIM (MONAME)) = UPPER (A_EQUIPMENT_DESCR_OLD);
A_EQUIP_TYPE: = 'process of loading - AP-42;
A_AREA_PROCESS_SHORT_FORM: = 'PTL ';
A_EQUIPMENT_DESCR_OLD: = Trim (upper (A_OLD_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_DESCR_NEW: = Trim (upper (A_NEW_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_RC1: = TO_CHAR (A_BASE_LEVEL_RC) | A_AREA_PROCESS_SHORT_FORM;
DBMS_OUTPUT. PUT_LINE ('A_EQUIPMENT_DESCR_OLD: ' |) A_EQUIPMENT_DESCR_OLD | ' A_EQUIPMENT_DESCR_NEW: ' | A_EQUIPMENT_DESCR_NEW | ' A_EQUIPMENT_RC1: ' | A_EQUIPMENT_RC1);

SETTING A DAY MO SET MONAME = UPPER (A_EQUIPMENT_DESCR_NEW) WHERE TRIM (MOALTERNATENAME) = TRIM (A_EQUIPMENT_RC1) AND UPPER (TRIM (MONAME)) = UPPER (A_EQUIPMENT_DESCR_OLD);
END;
ELSIF UPPER (TRIM (A_base_level_rc_type)) = "GOOD" then
BEGIN
A_OLD_NAME1: = TRIM (UPPER (A_OLD_NAME)). 'GOOD '.
A_NEW_NAME1: = TRIM (UPPER (A_NEW_NAME)). 'GOOD '.
DBMS_OUTPUT. PUT_LINE ('A_OLD_NAME1: ' |) A_OLD_NAME1 | ' A_NEW_NAME1: ' | A_NEW_NAME1);
SETTING A DAY MODEL SET MODELNAME = A_NEW_NAME1,
MODELDESCRIPTION = A_NEW_NAME1 | ' ('|| TO_CHAR (A_BASE_LEVEL_RC) | ') '
WHERE UPPER (TRIM (MODELNAME)) = TRIM (UPPER (A_OLD_NAME1) AND TRIM (MODELTYPE) = TRIM (A_moalternatename) AND upper (Trim (MODELDESCRIPTION)) = upper (Trim (A_OLD_NAME1) | ' ('|| TO_CHAR (A_BASE_LEVEL_RC) | ') ';

SETTING A DAY MO SET MONAME = UPPER (A_NEW_NAME1) WHERE TRIM (MOALTERNATENAME) = TRIM (A_MOALTERNATENAME) AND UPPER (TRIM (MONAME)) = TRIM (UPPER (A_OLD_NAME1));
-Update of objects of process and equipment
A_EQUIP_TYPE: = "air";
A_AREA_OBJECT_SHORT_FORM: = 'PV ';
A_EQUIPMENT_DESCR_OLD: = Trim (upper (A_OLD_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_DESCR_NEW: = Trim (upper (A_NEW_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_RC: = TO_CHAR (A_BASE_LEVEL_RC) | A_AREA_OBJECT_SHORT_FORM;
DBMS_OUTPUT. PUT_LINE ('A_EQUIPMENT_DESCR_OLD: ' |) A_EQUIPMENT_DESCR_OLD | ' A_EQUIPMENT_DESCR_NEW: ' | A_EQUIPMENT_DESCR_NEW | ' A_EQUIPMENT_RC: ' | A_EQUIPMENT_RC);

SETTING A DAY MO SET MONAME = UPPER (A_EQUIPMENT_DESCR_NEW) WHERE TRIM (MOALTERNATENAME) = TRIM (A_EQUIPMENT_RC) AND UPPER (TRIM (MONAME)) = UPPER (A_EQUIPMENT_DESCR_OLD);
A_EQUIP_TYPE: = 'evacuation process. "
A_AREA_PROCESS_SHORT_FORM: = 'EV ';
A_EQUIPMENT_DESCR_OLD: = Trim (upper (A_OLD_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_DESCR_NEW: = Trim (upper (A_NEW_NAME1)). '_' || A_EQUIP_TYPE;
A_EQUIPMENT_RC1: = TO_CHAR (A_BASE_LEVEL_RC) | A_AREA_PROCESS_SHORT_FORM;
DBMS_OUTPUT. PUT_LINE ('A_EQUIPMENT_DESCR_OLD: ' |) A_EQUIPMENT_DESCR_OLD | ' A_EQUIPMENT_DESCR_NEW: ' | A_EQUIPMENT_DESCR_NEW | ' A_EQUIPMENT_RC1: ' | A_EQUIPMENT_RC1);

SETTING A DAY MO SET MONAME = UPPER (A_EQUIPMENT_DESCR_NEW) WHERE TRIM (MOALTERNATENAME) = TRIM (A_EQUIPMENT_RC1) AND UPPER (TRIM (MONAME)) = UPPER (A_EQUIPMENT_DESCR_OLD);

END;
OF ANOTHER DBMS_OUTPUT. PUT_LINE ("' NO UPDATES DUE TO NO CHANGE");
-----------------
END IF;
TBL_CHANGE_HIER_NAMES UPDATE THE VALID VALUE = 0,.
PROCESS_DATE = SYSDATE
WHERE CURRENT OF CUR_CHANGE_HIER_NAME;

END LOOP;
CLOSE CUR_CHANGE_HIER_NAME;

END;
END SP_CHANGE_NAMES;

What tool do you use?
SQL Developer? Instead of using 'RUN' use 'compile '.

Tags: Database

Similar Questions

  • Using the stored procedure: Source does not have a target executable

    I'm a guy from MS - SQL, so I'm fairly familiar with T - SQL syntax, but feels a heck of a time trying to take the code I wrote for SQL and turn this works with Oracle.

    in any case, I'm using Oracle SQL Developer, and I have a stored procedure that calls the Alter Table statement and adds a column. Just trying to get this one to work before moving on to the other that I have. I get the message that source does not have a target executable when I try to run this command.

    create or replace PROCEDURE rta_conv_addcolumn (rtatablename1 in varchar (20),)
    rtatablename2 in varchar (20),
    rtacolumnname in varchar (256),
    rtacolumninfo in varchar (256))
    AS
    DECLARE rtasql VARCHAR (4000);
    BEGIN
    IF EXISTS (SELECT * from user_tables WHERE table_name = rtatablename1)
    AND NOT EXISTS (SELECT * from user_tab_columns WHERE column_name = rtacolumnname)
    AND table_name = rtatablename1)
    AND NOT EXISTS (SELECT * from user_tab_columns WHERE column_name = rtacolumnname)
    AND table_name = rtatablename2)
    Then rtasql: = ' ALTER TABLE ["+ rtatablename2 +"] ADD "+ rtacolumnname +" "+ rtacolumninfo;
    Run (rtasql);
    END rta_conv_addcolumn;

    If I try to compile I get the following messages, which make no sense, since the syntax I use to declare the input variables seems to be good.

    Error (1.54): PLS-00103: encountered the symbol "(" quand attend une deles de valeurs suivantes:: =.), @ default % of the characters of the symbol ': = ' has been replaced by "(" pour continuer.)
    Error (2.29): PLS-00103: encountered the symbol "(" quand attend une deles de valeurs suivantes:: =.), @ default % of the characters of the symbol ': = ' has been replaced by "(" pour continuer.)
    Error (3.29): PLS-00103: encountered the symbol "(" quand attend une deles de valeurs suivantes:: =.), @ default % of the characters of the symbol ': = ' has been replaced by "(" pour continuer.)
    Error (4.29): PLS-00103: encountered the symbol "(" quand attend une deles de valeurs suivantes:: =.), @ default % of the characters of the symbol ': = ' has been replaced by "(" pour continuer.)
    Error (6.1): PLS-00103: encountered the symbol "DECLARE" when expecting one of the following: begin function package pragma procedure < an ID > subtype type use < a between double quote delimited identifiers of > form current cursor external language the symbol 'start' is substituted for 'SAID' continue.
    Error (15.5): PLS-00103: encountered the symbol "RTA_CONV_ADDCOLUMN" when expects it one of the following values: If

    Adds the column to the table specified in rtatablename1, if there is neither rtatablename1 nor rtatablename2.

    NOT TESTED

    create or replace PROCEDURE rta_conv_addcolumn(rtatablename1 in varchar,
    rtatablename2 in varchar,
    rtacolumnname in varchar,
    rtacolumninfo in varchar)
    AS
    rtasql VARCHAR(4000);
    count1 number;
    count2 number;
    count3 number;
    BEGIN
      SELECT count(*) into count1 FROM user_tables WHERE table_name = rtatablename1;
      SELECT count(*) into count2 FROM user_tab_columns WHERE column_name = rtacolumnname AND table_name = rtatablename1;
      SELECT count(*) into count3 FROM user_tab_columns WHERE column_name = rtacolumnname AND table_name = rtatablename2;
      IF count1>0 AND count2 = 0 AND count3=0 Then
        rtasql:= 'ALTER TABLE '|| rtatablename1 ||'ADD ' || rtacolumnname || ' ' || rtacolumninfo;
        Execute immediate rtasql;
      END IF;
    END rta_conv_addcolumn;
    /
    

    Max

    Published by: Massimo Ruocchio, December 12, 2009 02:15
    Missing AND

  • After effects error: layer does not have a source. (26: 335)

    Hi all

    I'm on a Mac, and I'm just eager to replace the images by using the process of selection of the layer and then the Option by dragging the new images on the name of the layer. He has worked previously, but now in AE CS6, CC and CC 2014:

    1-if I have a shape layer, the new images moved causes an error "error effects: layer does not have a source." (26: 335) ("we see here: http://postimg.org/image/tyh38uuu5/).

    2. If I use a chart as the first layer and then replace it with another chart, it does not replace. He gets just added as a new layer.

    A lot of troubleshooting already... I've even went up to uninstall CC 2014 and then reinstall it, obviously without success. My Google-Fu can be low, I wasn't able to find a solution in this way. Any ideas are appreciated. Thanks in advance!

    See you soon!

    Benjamin

    Resolved:
    User error (me). It is not currently possible to replace a shape with images layer.
    I was confused a shape layer with a solid (after the use of camera tracking).

    As to #2, above:

    He now works using the keyboard shortcut: Cmd, Opt, /.
    I don't know why the button Option-do drag method does not work (the factory key Option everywhere else),.
    but I won't argue with success.

  • After effects error: layer does not have a source.

    Hi all

    I add a text layer and then add my custom fill effect. Then I call AdvItemSuite1()-> PF_ForceRerender (in_data, & (params [0]-> u.ld)) of the CEAP for all layers. But only for the text layer, AE will appear a dialog box displays the following error message:

    After effects error: layer does not have a source.

    (26::335)

    Why is this happening? What other call can I use to render all the layers?

    Thank you and best regards,

    Dheeraj

    text layers is really a source (as opposed to solids which do).

    any source operation you will do an a text layer will give an error.

    It goes the same for shape layers.

  • CAPTCHA does not. have tried all the solutions support and installed the new FF. still does not. Help.

    CAPTCHA does not. have tried all the solutions support and installed the new FF. still does not. Help.

    Try creating a new profile as a test to check whether your profile is the source of the problems.

    See "basic troubleshooting: a new profile:

    There may be extensions and plugins installed by default in a new profile, so check that in "tools > Modules > Extensions & Plugins" in case there are still problems.

    If the new profile works then you can transfer files from the old profile to the new profile, but make sure not to copy corrupted files.

    See:

  • BIOS update failed: the process does not have this system. The process of the utility is not complete.

    I have a Thinkpad T450s and I'm trying to update the BIOS version 1.19 to 1.20. I've created a live usb with the 'el tortio' - image extracted using linux "dd". Once I boot on the USB under Legacy-BIOS and select upgrade, it proceeds witht the error message "the process does not have this system. The process has been cancelled. "I have disabled the protection against theft, AMT (I think this is the option) and I'm sure that I use the correct .iso file from the downloads section. I don't have a Windows operating system installed, but I'm able to start in various linux distributions using Legacy and UEFI methods.

    Here is my BIOS information.

    "Manage 0 x 0031, DMI type 0, 24 bytes.
    BIOS information
    Seller: LENOVO
    Version: JBET54WW (1.19)
    Release date: 06/11/2015
    Address: 0xE0000

    Runtime size: 128 kB
    ROM size: 16384 KB
    Features:
    PCI is supported
    PNP is supported
    BIOS is extensible
    BIOS shadowing is allowed
    Boot from CD is supported
    Selectable boot is supported
    ACPI is supported
    Legacy USB is supported
    BIOS boot specification is supported
    Targeted content distribution is supported
    UEFI is supported
    BIOS version: 1.19
    Firmware revision: 1.2 "

    What could you suggest to get the update disc to recognize my system?

    I think I've fixed the problem, I formatted FAT16 USB drive and not in FAT32 and also when you use the geteltorito command, it is preferable to use the-o option rather than a redirection ">"syntax. " An article said that it is best to drop in a DOS command line using the USB boot, then run dosflash.exe from there, however, I could not edit the .bat file, but it is an option however.

    I hope this helps someone stuck in a similar situation.

  • NEITHER Vision Builder built exe does not have logging.

    Hello!
    I did have an application with NI Vision Builder, and the executable version does not save the log file. During the test it or vision, she recorded when I migrate to labview it records, but when I build the executable file, which does not have logging. What could be wrong?

    Thanks for your replies, the solution was easier than I thought. There is no problem with the path or something like that. The problem is that I checked the box for "Log in the background", and (I think) it is not a program, which could run this step. So I unchecked that and now it creates the log file that I wanted to.
    Once again, thank you for your quick response!

  • I can't create an installer, after install the Vision Builder demo and then uninstall it. I can't create a Labview Installer more, he asks me an installer of generator of Vision, even if Labview my program does not have nothing to do with it...

    I can't create an installer on LabView, after install the Vision Builder demo and then uninstall it. I can't create a Labview Installer more, he asks me an installer of generator of Vision, even if Labview my program does not have nothing to do with it...

    Hi, Shada, this can happen if you include additional installers to your installer for example DAQmx. When you do this the installation program must include other files like MAX (Measuremente and Automation Explorer). Probably when you installed Vision Builder he updated MAX, so when your Installer try to understand MAX, his request the source where it was installed in your computer in this case Vision Builder.

    Here you can cache information so it is not asked once again, or you can download a version more recent fo DAQmx, then it will update MAX and change the dependecy.

    You can find more details about it in this KB:

    3S88PJMY knowledge base: why do I get an error message 'Missing Distribution' when you try to build an install...

    And to keep a copy, here's more information:

    How to stop missing delivery Notification whenever I build an installer?

    Best regards

  • Windows search service couldn't start. The system does not have the specified path. How can I fix it?

    I'm having a problem where IE takes up to five minutes for a web page.   I see the mistake of follow up in the event viewer:

    Log name: System
    Source: Service Control Manager
    Date: 14/08/2012 21:14:10
    Event ID: 7000
    Task category: no
    Level: error
    Keywords: Classic
    User: n/a
    Computer: Owner-PC

    Description:
    The research service Windows could not start because of the following error:
    The system does not have the specified path.

    The event XML:
    http://schemas.Microsoft.com/win/2004/08/events/event ">"
     
       
        7000
        0
        2
        0
        0
        0 x 80000000000000
       
        391647
       
       
        System
        Owner-PC
       
     

     
        Windows Search
        %%d Ko
     

    When I run the program Microsoft FixIt Center I get 3 error messages that do not reach the difficulty.

    ---------------------------------------------------------------------------------------------------------

    (1) Windows Search is crashing or not fixed failing

    Windows Search crashes or breaks down after that that she has started.  In addition, an event ID 7042, 100 or 1000 is logged in the Windows event log, or the Windows Search Service is not running.

    (2) search Windows does not start and gives an error message no fixed

    Windows Search does not search results show and there is an error at startup.  A 3024 or event ID 1006 is logged in the Windows event log, or the Windows Search Service is not running.

    (3) Windows search shows no results not fixed

    Windows Search shows no results.  In addition, an event ID 7040 is logged in the Windows event log, or the Windows Search service is not running.

    ---------------------------------------------------------------------------------------------------------

    Someone at - it solutions?  Oh, I'm running Vista 32 Home SP2

    Thank you

    Hello

    Did you change to the computer?

    I suggest you to see the links and check.

    The problems with the search

    http://Windows.Microsoft.com/en-us/Windows-Vista/troubleshoot-problems-with-searching

    Improve Windows searches using the index: frequently asked questions

    http://Windows.Microsoft.com/en-us/Windows-Vista/improve-Windows-searches-using-the-index-frequently-asked-questions

    Ways to improve your computer's performance

    http://Windows.Microsoft.com/en-us/Windows-Vista/ways-to-improve-your-computers-performance

  • can I track a pop3 server on a system that does NOT have the client insta

    Can I track a pop3 server on a system that does NOT have the client.
    With the new serfvice on a system and specifying the name of the intellectual property of a remote control in the config file
    running pop3 system. In the config file, it asks a unsername and password. Is it necessary
    and if so what are the permissions the user must?

    > Can 3.0.3 hyperic Open Source apop monitor (which takes place
    > on 1110. I tried to use the pop3 plugin but got the
    > errors I listed to the original problem. We do not run pop3
    > but run they apop.
    > Is - can anyone help with that?

    The pop3 Checker will not work with apop.  Apop Protocol requires that we send a MD5 hash with the user name.  We can, adding this ability.  In the meantime, you can simply use the Socket TCP Checker to make sure that the port is up and listening.

    -Ryan

  • If the user does not have their e-mail address defined

    Hello

    If some users don't have their email address in the fnd_user table, then will goto the user notification work? What should I do to ensure that the workflow is not raise an error in such a situation and always send a notification to this user?

    Thank you

    Kumar

    Kumar,

    Notifications are assigned to users regardless of the email address they have. If a notification is the target of a user so the user will be able to see it in the list of tasks of notification, as long as the notification is open. Now, if the user turns out to have a valid e-mail address and sender of workflow works correctly then the user will also be sent an e-mail with the content of the notification.

    There is an error or warning if a user does not have an e-mail address; the notification will be always accessible from the task list.

    Kind regards

    Alejandro

  • Developer Edition does not have the Java Plugin

    My configuration:
    OS - Windows 7 Professional 64 bit
    Browser - Firefox Developer Edition
    Java - SE Runtime Environment build 1.8.0_51 - b16

    Installation path:
    Browser - C:\Program Files\Firefox Developer Edition
    Java - C:\Program Files\Java\jre1.8.0_51

    Description of the problem:
    My operating system, browser, and Java version are all of the nature of 64-bit and properly installed, however, Firefox does not have a Java plugin in the Add-ons Manager and I can't run Java on all Web sites. When I check Java on their website, it tells me that Java is disabled or not installed, but Java is enabled in the Java Control Panel.

    Hi mrflom, that's to be expected - the 64-bit versions are delivered with support plugin limited for the moment (single flash is in the whitelist). If you rely on the other npapi plugins please continue to regularly use 32-bit builds.

  • Buttons to blend into the background. Button menu to open does not have a menu.

    Button, button "home" to move forward, back, bookmark this page button, show your bookmarks and open menu buttons are present, but you can not see them. Button menu to open does not have a menu drop-down.

    . Hello

    Some Firefox problems can be solved by performing a clean reinstall. This means that you remove Firefox program files, and then reinstall Firefox. Please follow these steps:

    Note: You can print these steps or consult them in another browser.

    1. Download the latest version of Firefox from http://www.mozilla.org office and save the installer to your computer.
    2. Once the download is complete, close all Firefox Windows (click on quit in the file menu or Firefox).
    3. Remove the Firefox installation folder, which is located in one of these locations, by default:
      • Windows:

        • C:\Program Files\Mozilla Firefox
        • C:\Program Files (x 86) \Mozilla Firefox
      • Mac: Delete Firefox in the Applications folder.
      • Linux: If you have installed Firefox with the distribution-based package manager, you must use the same way to uninstall: see Install Firefox on Linux. If you have downloaded and installed the binary package from the Firefox download page, simply remove the folder firefox in your home directory.
    4. Now, go ahead and reinstall Firefox:
      1. Double-click on the downloaded Setup file and go through the steps in the installation wizard.
      2. Once the wizard is completed, click to open Firefox directly after clicking the Finish button.

    More information on the resettlement of Firefox can be found here.

    WARNING: Uninstaller or the use of Firefox and not run a third remover as part of this process, because who could permanently delete your Firefox data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and passwords saved. These can be recovered, unless they have been backed up on an external device!

    Please report back to see if this helped you!

    Thank you.

  • At the opening of the library of photos, each photo turn the black thumbnail and so that to open it.  Preview also does not have photos properly.  I tried to repair the library and this did not help.  Help, please!

    At the opening of the library of photos, each photo turn the black thumbnail and so that to open it.  Preview also does not have photos properly.  I tried to repair the library and this did not help.  Could this be a problem with the RAM? Help, please!

    Check, if pictures can access the original files of your pictures, or if the originals are missing.

    You can test to try to edit a photo or trying to export it with "file > export > export original file..."

    Photos can be edited or exported?

    Shooting Raw or JPEG?  Where your photo library is stored? On an external disk or in your pictures folder?

  • Why my iPhone 4 does not have my last backup?

    Why my iPhone 4 does not have my last backup? My 6 has been stolen so I try everything set up on my old iPhone 4.  When I tried to restore from iCloud not found my last backup. I backed up my phone stolen defiantly

    The backup of the iPhone 6 is not compatible with the iPhone 4.  Just a guess.

Maybe you are looking for