error in the procedure 'Send Jython HTML Email'

I used the procedure to "Send the Email of HTML Jython" to send an email to ODI 11 g.

Options:

The entries I used are

Host: Address of the SMTP server

< Default > port: 25

< Default > SMTP Auth: Yes

User:

Password *.

At ***@***.com

Of ***@***.com

Test of the object

LoadfromFile No.

FilePath D:\

MessageText Test_Message

Is < default > HTML: Yes

Spare D:\


Error message after I got to the step "to create a complete message:

"

org.apache.bsf.BSFException: exception of Jython:

Traceback (most recent call changed):

File "< string >", line 25, < module >

IOError: (21, "Is a directory", ")

at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)

at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)

at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)

at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)

at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)

at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)

at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)

at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)

at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)

at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:577)

at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:468)

at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)

to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:376)

at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)

at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:309)

to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:301)

to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:865)

at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:137)

to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)

at java.lang.Thread.run(Thread.java:662)

Caused by: Traceback (most recent call changed):

File "< string >", line 25, < module >

IOError: (21, "Is a directory", ")

at org.python.core.PyException.fillInStackTrace(PyException.java:70)

at java.lang.Throwable. < init > (Throwable.java:181)

at java.lang.Exception. < init > (Exception.java:29)

to java.lang.RuntimeException. < init > (RuntimeException.java:32)

to org.python.core.PyException. < init > (PyException.java:46)

to org.python.core.PyException. < init > (PyException.java:43)

at org.python.core.Py.IOError(Py.java:175)

to org.python.core.io.FileIO. < init > (FileIO.java:77)

at org.python.core.PyFile.file___init__(PyFile.java:157)

to org.python.core.PyFile$ exposed___new__.createOfType (unknown Source)

at org.python.core.PyOverridableNew.new_impl(PyOverridableNew.java:12)

at org.python.core.PyType.invoke_new_(PyType.java:432)

at org.python.core.PyType.type___call__(PyType.java:1397)

at org.python.core.PyType.__call__(PyType.java:1388)

at org.python.core.OpenFunction.__call__(__builtin__.java:1576)

at org.python.core.PyObject.__call__(PyObject.java:414)

at org.python.core.PyObject.__call__(PyObject.java:418)

to org.python.pycode._pyx1609.f$ 0 (< string >: 30)

to org.python.pycode._pyx1609.call_function (< string >)

at org.python.core.PyTableCode.call(PyTableCode.java:165)

at org.python.core.PyCode.call(PyCode.java:18)

at org.python.core.Py.runCode(Py.java:1204)

at org.python.core.Py.exec(Py.java:1248)

at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)

at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)

... 19 more

"

Hi 2782749,

It seems that this has to do with the path of the attachment. Could you try giving a full path to the file to see if it works? It is perhaps required in this procedure.

Could you post the code of procedure you?

Best regards

JeromeFr

Tags: Business Intelligence

Similar Questions

  • Get error in the procedure of Jython

    Hi all

    I m writing this code in the procedure of ODI with technology like Jython target and ignore the errors checked.

    filesrc = open (was: \MyFile.txt ',' r')
    First = filesrc. ReadLine()
    lines = 0
    all first:
    lines += 1
    First = filesrc. ReadLine()
    def intWithCommas (x):
    If not in kind (x) [type (0), type(0L)]:
    raise TypeError ("parameter must be an integer.")
    If x 0 are:
    return '-' + intWithCommas (x)
    result = "
    While x > = 1000:
    x, r = divmod (x 1000)
    result = ', % 03d %s' % (r, result)
    return '%d %s' % (x, result)
    S1 = Str (intWithCommas (Lines))
    S2 = "\n\n and the first line of the file is - > > \n\n"
    filesrc. Seek (0)
    S3 = STR (filesrc. ReadLine())
    final = s1 + s2 + s3
    raise "\n\n are the number of lines in the file - > > ', final"

    but this error:

    org.apache.bsf.BSFException: exception of Jython:
    Traceback (innermost last):
    (no object code) on line 0
    SyntaxError: ('invalid syntax', ('< string >", 5, 1, ' lines += 1'))

    at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:345)
    at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:169)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2374)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1615)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(SnpSessTaskSql.java:1580)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java:2755)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2515)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:534)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:449)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1954)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:322)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:224)
    at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:246)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:237)
    to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:794)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:114)
    to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:619)

    Please help me with this...

    Hello

    You are able to run this code directly from Jython?

    What you can do is to copy this code into a text file and name it say sample_jython.py.

    Now, open a command prompt and navigate to the \oracledi\bin

    Issue the following command

    Jython \sample_jython.py

    Thank you
    Fati

  • Error message: the procedure entry point sqlite3_wal_checkpoint could not be found in the librayr of Hotlinks SQLite3.dll.

    Original title: IApple synchronize notifier.exe - not found entry point

    I typed a mistake in my first question.  Here he again the question.

    The procedure entry point sqlite3_wal_checkpoint be found in the librayr of Hotlinks SQLite3.dll.

    I called Apple, but they checked my computer and cannot find any problems with the above, but he always comes back.

    Hello

    1. when exactly you receive this error message?

    2. did you of recent changes on the system?

    Method 1:

    Temporarily disable the antivirus on the computer program and check if it helps. If it works, you may need to check the settings of the program.

    Note: check that you activate your anti-virus protection on the computer back after you complete these steps. It is not recommended to disable these settings on the computer. It's just to solve the problem.

    Method 2:

    You can try to uninstall and reinstall everything produced Apple installed on the system and check if this may help:

    Remove and reinstall iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • error in the procedure

    Hello

    Please help me to fix errors in the compilation of the following procedure, working with 11g.
    LINE/COL ERROR
    -------- -----------------------------------------------------------------
    1/37 PLS-00103: encountered the symbol "(" quand attend un de la) "
    Next:
    := . ), @ % of default characters
    The symbol ': = ' has been replaced by "("pour continuer.) "

    13/39 PLS-00103: encountered the symbol "(" quand attend un de la) "
    Next:
    , of in bulk

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


    create or replace procedure getvertices (id IN varchar2 (5))

    is

    type ref_cur is REF CURSOR;
    ref_cur c_v;

    type myrec is RECORD (RID number, x, y I number, varchar2 (5));
    REC myrec;

    Start

    Open c_v to select row_number() over (partiton in order of idarpt to idarpt) RID, t.x, t.y XY, testpoly idarpt t, table (sdo_util.getvertices (a.geometry)) where a.idarpt = id;

    loop
    extract the c_v in rec;
    dbms_output.put_line (rec.rid |) » --'|| Rec.x: '-' | Rec.y: '-' | Rec.i);
    end loop;
    close c_v;

    end;

    I think there may be a conflict with the name "id" parameter Try to use something else instead, like "p_id" as shown below.

    SCOTT@orcl_11gR2> create table testpoly
      2    (idarpt       varchar2(5),
      3       geometry  mdsys.sdo_geometry)
      4  /
    
    Table created.
    
    SCOTT@orcl_11gR2> INSERT INTO testpoly VALUES(
      2    'PQRD',
      3    SDO_GEOMETRY(
      4          2003,
      5          NULL,
      6          NULL,
      7          SDO_ELEM_INFO_ARRAY(1,1003,3),
      8          SDO_ORDINATE_ARRAY(1,1, 5,7)
      9          )
     10  );
    
    1 row created.
    
    SCOTT@orcl_11gR2> CREATE OR REPLACE PROCEDURE getvertices
      2    (p_id IN VARCHAR2)
      3  AS
      4    TYPE ref_cur IS REF CURSOR;
      5    c_v ref_cur;
      6    TYPE myrec IS RECORD
      7        (rid     NUMBER,
      8         x     NUMBER,
      9         y     NUMBER,
     10         i     VARCHAR2(5));
     11    rec myrec;
     12  BEGIN
     13    OPEN c_v FOR
     14    SELECT ROW_NUMBER () OVER (PARTITION BY idarpt ORDER BY idarpt) rid,
     15             t.x x, t.y y, idarpt
     16    FROM   testpoly a,
     17             TABLE (SDO_UTIL.GETVERTICES (a.geometry)) t
     18    WHERE  a.idarpt = p_id;
     19    LOOP
     20        FETCH c_v INTO rec;
     21        EXIT WHEN c_v%NOTFOUND;
     22        DBMS_OUTPUT.PUT_LINE
     23          (rec.rid || '--' || rec.x || '--' || rec.y || '--' || rec.i);
     24    END LOOP;
     25    CLOSE c_v;
     26  END getvertices;
     27  /
    
    Procedure created.
    
    SCOTT@orcl_11gR2> show errors
    No errors.
    SCOTT@orcl_11gR2> exec getvertices('PQRD')
    1--1--1--PQRD
    2--5--7--PQRD
    
    PL/SQL procedure successfully completed.
    
  • Query running beside the database successfully but in error in the procedure!

    Hi all

    I'm something get odd errors on in ODI 11 g.

    When I run the query to the database, it performs very well, and it creates a table.
    But when encorporate this query in the procedure, it gives me following error.

    ODI-1228: PROC_POZ_BOSS_OMP_BOSSWORKORDER (procedure) has failed on the staged target of connection ORACLE ODI POZ.
    Caused by: java.sql.SQLDataException: ORA-01843: not one month valid

    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:79)

    I am convert Char to the data types Date in the Code.

    Details of the DB: - Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64 bit Production
    ODI Details:-Standalone Edition Version 11.1.1
    Build ODI_11.1.1.3.0_GENERIC_100623.1635

    What would be the reason for query next to the DB with success but in error next to the ODI?
    I'm really confused... :(
    Help me how can I fix this error?

    Hi Manu
    I think that I've already advised the same thing in your previous thread. It could be because NLS_DATE_FORMAT.
    Something weird situation while running the interface in ODi

    Thank you.

  • Errors in the procedure

    Hi all

    I wrote plsql procedure to lode, spaces of table as data:
    CREATE OR REPLACE PROCEDURE PTABLESPACES IS
    CURSOR C1 IS
    Select occupied_space, d.owner, d.tablespace_name, sum(d.BYTES/1024) as total_space, sum(e.BYTES/1024)
    ((((sum(d.BYTES/1024) - sum(e.BYTES/1024)) as free_space,ROUND((sum(e.BYTES/1024)/sum(d.BYTES/1024)) * 100) AS PERCENT_OCCUPIED
    by dba_segments d, e dba_extents where d.owner = e.owner and d.tablespace_name = e.tablespace_name
    D.owner group, d.tablespace_name order of d.owner;

    BEGIN
    FOR I IN C1 LOOP
    INSERT INTO TABLE_SPACES VALUES(I.OWNER,I.tablespace_name,I.total_space,I.occupied_space,I.free_space,I.PERCENT_OCCUPIED);
    END LOOP;
    END PTABLESPACES;


    When I run it as a block of Nedved, it works perfectly.
    But when I put it in the procedure is to show errors.

    Error:
    5/21 PL/SQL: ORA-00942: table or view does not exist


    Please help about this
    Thanks in advance.

    Hello

    As Urs said, you must have the priviges granted directly to you, not only for a role that is granted.

    The statement "In PL/SQL grants must be made directly with the user" is a little too simplified.
    Roles used within stored procedures.
    Roles work in anonymous PL/SQL blocks, PL/SQL, but are not stored in the database.

  • The Digital Sender HP 9250c Email address book

    Good afternoon

    I have a HP 9250c Digital Sender I can't access the address of e-mail addresses of Internet project, the entire page is grayed out.  If I'm going to the Control Panel, I can send emails find and I can also access the local address book, but not IE.  Someone at - it ideas?

    Thank you!

    I thought about it.  In case anyone else ever has this question, look in the address book on the front panel display.  There is a bad entry in there.  Remove the entry from the address book and web access interface works again.

    Dale

  • Error during the procedure of creatine

    Hello

    I'm new to plsql. can u please let me know, what is wrong in the following procedure?

    CREATE OR REPLACE PROCEDURE PROCEDURE1

    (

    VPIZZA_TYPE IN VARCHAR2

    OUT VARCHAR2 REC

    ) AS

    BEGIN

    Select pizza_id, pizza_name, pizza_size, pizza_cost, pizza_type pizza_item REC

    where pizza_type = vpizza_type;

    If (vpizza_type = 'V' and vpizza_type = 'NV') then

    dbms_output.put_line (rec.pizza_id |) » '|| Rec.pizza_name |' '|| Rec.pizza_size |' '|| Rec.pizza_cost);

    on the other

    dbms_output.put_line ('invalid pizza type');

    end if;

    END PROCEDURE1;

    It's my table of > > > > > >

    pizza_id, pizza_name, pizza_cost, pizza_cost, pizza_type

    1ItalianMax250NV
    2Italianmedium150NV
    3ItalianMax200V
    4Italianmedium100V
    5cheeseMini100NV

    Prashant_patil wrote:

    Hello

    I'm new to plsql. can u please let me know, what is wrong in the following procedure?

    CREATE OR REPLACE PROCEDURE PROCEDURE1

    (

    VPIZZA_TYPE IN VARCHAR2

    OUT VARCHAR2 REC

    ) AS

    BEGIN

    Select pizza_id, pizza_name, pizza_size, pizza_cost, pizza_type pizza_item REC

    where pizza_type = vpizza_type;

    If (vpizza_type = 'V' and vpizza_type = 'NV') then

    dbms_output.put_line (rec.pizza_id |) » '|| Rec.pizza_name |' '|| Rec.pizza_size |' '|| Rec.pizza_cost);

    on the other

    dbms_output.put_line ('invalid pizza type');

    end if;

    END PROCEDURE1;

    It's my table of >

    pizza_id, pizza_name, pizza_cost, pizza_cost, pizza_type

    1 Italian Max 250 NV
    2 Italian medium 150 NV
    3 Italian Max 200 V
    4 Italian medium 100 V
    5 cheese Mini 100 NV

    You do not say what problem you are having with him, well, I guess:

    First, you must get your columns in separate variables. You cannot paste all results

    in a single varchar2.

    Secondly, any type of pizza will be the two 'V' and 'NV' at the same time - so your 'if' will always be false.

    In the future, you must describe the problem you are experiencing, with relevant error messages.

    Reading Re: 2. How can I ask a question on the forums?

  • refuse the user sending pdf by email, if the option is not available

    Hello

    I have some data sensitve that I would create a variaty of PDF by and make them available on my company intranet, I need to be able to open and read these documents, but not modify them in any way, for example, no printing / backup / emailing / edit content, users / screenshots / or highlighting the content and paste it into another document all I want them to be able to do is "READ ONLY"

    Adobe Acrobat Pro is the solution that I can use to do with and HOW.

    Please answer as soon as POSSIBLE

    Todd

    No One question concerned e-mailing. Because the PDF file is loaded in the machine to be opened (except maybe a network drive) it just for the user to send this file (in the TEMP folder) to someone else. Some of the impression and the copy of the problems can be solved with security to a PDF file, but the problem is that this course isn't all that, so the DRM is the next solution. However, screen grabs and such are still possible. Globally, you try to do the job, it is better simply not to give them the PDF file. Due to the dumpsters of screen and others, what you want is not possible.

  • Table not found error in the procedure

    I am logged in as A user.

    Trying to create a procedure in the TGT schema by reference to a table in the TSG scheme.

    I can select directly from the table as

    Select count (*) from STG. TABLE1; by logging in as A USER.

    The foregoing, works very well and gives the result set.

    But when I try to create a procedure such as

    create or replace procedure TGT.delme as
    number of v_cnt;
    Start
    Select count (*) in the v_cnt of ILI. TABLE1;
    dbms_output.put_line (' the number is: ' | v_cnt);
    end;
    /

    Compilation error, he throws as "PL/SQL: ORA-00942 table or view does not exist.

    Please let me know the reason. Thank you.

    Hello

    You must grant certain privileges on STG. Table1 directly to the TGT, which is you can't give them a role, and then grant the role of TGT. For PL/SQL to access an object code, privs must be granted directly. So, at some point, you'll need to issue

    GRANT SELECT ON STG.TABLE1 TO TGT
    /
    

    and you will need to either make connected to stg or connected as another user with permissions for this...

    HTH

    David

  • I get error 0x800ccc0d # trying to send photo by email

    When you try to send a photo from my photo gallery, I just upward with cannot find the host server and an error0x800ccc0d.

    Hi Janice gatz,.

    1 Windows operating system you are using?

    2. What mail client do you use?

    3. have you set up your account with Windows Live mail?

    4. using Windows Live Photo Gallery?

    If you are faced with the question when you use Windows Live Photo Gallery, you can post your request in the Forum Windows Live to help.

    http://windowslivehelp.com/product.aspx?ProductID=15

    http://windowslivehelp.com/searchresults.aspx?query=0x800CCC0D&ProductID=15

    Hope this information is useful.

  • After I connect my windows live hotmail, I have errors on the page and no new email I've been hacked

    one of my friends telling me: he thought I could have been hacked due to an e-mail called it received asking for money I've been blocked abroad. Not me. pretty well since then I have been able to log on and changed my password but on hotmail page, live there are errors on this subject and is not updated. Ty F.R.

    View all Windows Live and Hotmail questions in the appropriate forum found here:
    http://windowslivehelp.com/

  • Oracle Data Integrator 12 c: in the procedure of jython endless loop

    The following script does not end if launched as an ODI procedure, everything in completes successfully if done out of context ODI. Can someone help me? If you need any more details just ask.

    Thanks in advance


    import logging
    import random
    import threading
    import time
    
    NUM_THREADS = 5
    
    def worker(delay, logger):
        logge.info("Starting work...")
        for i in range(3):
            logger.info('Sleeping %0.02f', delay)
            time.sleep(delay)
        logger.info('Done.')
        return 
    
    for n in range(1, NUM_THREADS + 1):
        logger = logging.getLogger('thread-'+str(n))
        logger.setLevel(logging.DEBUG)
    
    
        # create a file handler writing to a file named after the thread
        file_handler = logging.FileHandler('thread-%s.log' % n)
    
    
        # create a custom formatter and register it for the file handler
        formatter = logging.Formatter('(%(threadName)-10s) %(message)s')
        file_handler.setFormatter(formatter)
    
    
        # register the file handler for the thread-specific logger
        logger.addHandler(file_handler)
    
    
        delay = random.random()
        t = threading.Thread(target=worker, args=(delay, logger))
        t.start()
    
    main_thread = threading.currentThread()
    for t in threading.enumerate():
        if t is not main_thread:
            t.join()
    

    Since ODI manages no wire, I opted for a running script with the primitive OSCommand. It is right?

  • Error on the procedure

    what I'm missing here. I get this error message.

    [Error] Syntax checking (24:23): line ERROR 24, col 23, ending_line 24, ending_col 33, found "p_selection", Expecting :)
    -or - OR - or - AND - or - BETWEEN IN AS LIKE2 LIKE4
    LIKEC MEMBER SUBMULTISET - or - or -! =,
    < < = <>= > > = ^ ^ = IS NOT - or - + - | -or - * / MOD REST
    -or - *-or -; updated MULTISET YEAR - or - %. [- or - @ - or - (string

    CREATE OR REPLACE PROCEDURE Standard_Specifications_Book (
       p_specsearch   IN     VARCHAR2,
     -- p_selection  in varchar2,
       p_results         OUT SYS_REFCURSOR)
    AS
      p_selection      VARCHAR2 :='1';
    
    
    BEGIN
       OPEN p_results FOR
          SELECT (SUBSTR (ITEM, 1, 4) || '.' || SUBSTR (ITEM, 5)) ItemNumber,
                 Item,
                 IDESCR ShortDescription,
                 IDESCRL LongDescription,
                 IUNITS UnitName,
                 FUNC_GET_UNIT_NAME (IUNITS) PlanUnitName,
                 ispecyr SpecYear,
                 IOBSELET
            FROM ITEMLIST
           WHERE     ITEM <> '2999509/00001'
                 AND IOBSELET = 'N'
                 AND Ispecyr = '05'
                 AND (if  p_selection = '1'   then
                   ( ItemNumber like '%p_specsearh' or ItemNumber like 'P_specsearch%' or Item like  '%p_specsearh' or Item like 'P_specsearch%')
                 else
                    ( ShortDescription like '%p_specsearh' or ShortDescription  like 'P_specsearch%' or LongDescription like  '%p_specsearh' or LongDescription like 'P_specsearch%')
                 end  if   )
    
          ORDER BY ItemNumber ASC, LongDescription ASC;
    END;

    Do not use in case of a SQL query. Use:

    CREATE OR REPLACE PROCEDURE Standard_Specifications_Book (
       p_specsearch   IN     VARCHAR2,
       p_selection  in varchar2,
       p_results         OUT SYS_REFCURSOR)
    AS
      p_selection      VARCHAR2 :='1';
    
    BEGIN
       OPEN p_results FOR
          SELECT (SUBSTR (ITEM, 1, 4) || '.' || SUBSTR (ITEM, 5)) ItemNumber,
                 Item,
                 IDESCR ShortDescription,
                 IDESCRL LongDescription,
                 IUNITS UnitName,
                 FUNC_GET_UNIT_NAME (IUNITS) PlanUnitName,
                 ispecyr SpecYear,
                 IOBSELET
            FROM ITEMLIST
           WHERE     ITEM  '2999509/00001'
                 AND IOBSELET = 'N'
                 AND Ispecyr = '05'
                 AND (
                         (p_selection = '1' and ( ItemNumber like '%p_specsearh' or ItemNumber like 'P_specsearch%' or Item like  '%p_specsearh' or Item like 'P_specsearch%'))
                      OR
                         (ShortDescription like '%p_specsearh' or ShortDescription  like 'P_specsearch%' or LongDescription like  '%p_specsearh' or LongDescription like 'P_specsearch%')
                     )
    
          ORDER BY ItemNumber ASC, LongDescription ASC;
    END;
    

    SY.

  • Can I correct an error in the E-mail address if it's on an e-mail I want to convey. If this is not feasible should I use an email in the file sent as an attachment. towards a new w/o typing on?

    Email has been sent, but not received because an error in the address. A long email that I didn't retype wholw thing, so I just he returned by transfer. I thought it was because of bad weather in think Oaklahoma (tornadoes week before) has no verification of address once again, as I had in my contacts section & knew it was good. Finally, after two attempts, I realized that 3 was absent from the address - so not complete. It is saved in the sent file, but when I tried to correct the address on the original. I couldn't do it.  If this is not possible even to send thw wholw e-mail as an attachment to another which would have the correct address. I do not know how?

    Its very easy to do.  One way is to highlight the message and then go to the Message. Send as an attachment.  Or you just create a new message and drag the message to the folder above the new message then it will work.  You can also copy the message on the desktop, open it in Notepad and add this line:

    X sent: 1

    to the header of the message, and then save it then click on it to open it and it will open as a new message not sent with the same text as before.

    Steve

Maybe you are looking for

  • How can I change my billing address on itunes?

    How can I change my billing address in iTunes?

  • Cannot install driver Intel 7.14.10.1227 on Satellite Pro A120

    Hello I have a problem with the upgrade of my Satellite Pro A120 PSAC1 - 10l with Windows Vista Professional on this topic. I want to install the display driver Intels 7.14.10.1227 I downloaded the Toshibas site. It was written that this driver is my

  • 'White box' on the screen

    Hi all! My Maxx bike is in version 5.0.2 and tonight I've updated my Gapps and now have a 'white box' on my house, on my wallpaper to be more exactly. How can I remove this 'box '? Please help me because it's very annoying and boring.

  • Card error WiFi on my Satellite A200-1KZ

    Hello I have a Satellite A200-1KZ PSAE3 under Windows Vista Home Premium.I have a clean install, so I have no third party applications running in my energy system.I have the SKAA140a.rom (v 1.40). I installed the v1.5.6 Mobile Intel (r) 965 Express C

  • Stupid mistake with Bundle by name

    I recently spent too much time to research an error in the code "that used to work.  So I asked a student to look over my shoulder while I explained what was supposed to happen.  The bug is illustrated in this code snippet: I do a simple package by n