Expression is not executing.......

in the if loop im trying to add a date with a number... the expression i showed below is not executing...
DECLARE
EID VARCHAR2 (20);
DB DATE;
FN varchar2(100);
LN varchar2(20);
BL BOOLEAN := TRUE;
x number;
APP NUMBER;
REA VARCHAR2(200);
BEGIN
SELECT EMPNO,DOB,FNAME,LNAME
INTO EID,DB,FN,LN
FROM GENINFO
WHERE EMPNO=:P12_EMPNO AND DOB=:P12_DOB;
SELECT NVL(MAX(APP_NO),0)+1
into APP from leave_form;
SELECT REASON into REA from leave_form
WHERE EMP_NO=:P12_EMPNO;
:EMP_NO1:=EID;
:CREATED_BY1:=FN||' '||LN;
:APP_DATE1:=sysdate;
:APP_NO1:=APP;
:REASON1:=REA;
BL := TRUE;
:BLNF:=sys.DIUTIL.bool_to_int (BL);
--htp.prn(x);
EXCEPTION
when no_data_found then
BL := FALSE;
:BLNF:=sys.DIUTIL.bool_to_int (BL);
--htp.prn(x);
IF :P12_FDATE IS NOT NULL AND :P12_TDATE IS NOT NULL THEN
:P12_TDATE:=TO_CHAR(TO_DATE(':P12_FDATE','DD-MM-YYYY') + :P12_NO_OF_DAYS_REQ,'DD-MM-YYYY');-----this expression is not executing
INSERT INTO LEAVE_FORM(EMP_NO,APP_NO,APP_DATE,NO_OF_DAYS_REQ,FDATE,TDATE,LEAVE_TYPE,REASON) VALUES(:EMP_NO1+1,:APP_NO1,:APP_DATE1,:P12_NO_OF_DAYS_REQ,:P12_FDATE,:P12_TDATE,:P12_LEAVE_TYPE,:REASON1);
END IF;
END;
Edited by: 794244 on Feb 17, 2011 5:48 AM

Try this...
DECLARE
   EID   VARCHAR2 (20);
   DB    DATE;
   FN    VARCHAR2 (100);
   LN    VARCHAR2 (20);
   BL    BOOLEAN := TRUE;
   x     NUMBER;
   APP   NUMBER;
   REA   VARCHAR2 (200);
BEGIN
   SELECT   EMPNO,
            DOB,
            FNAME,
            LNAME
     INTO   EID,
            DB,
            FN,
            LN
     FROM   GENINFO
    WHERE   EMPNO = :P12_EMPNO AND DOB = :P12_DOB;
   SELECT   NVL (MAX (APP_NO), 0) + 1 INTO APP FROM leave_form;
   SELECT   REASON
     INTO   REA
     FROM   leave_form
    WHERE   EMP_NO = :P12_EMPNO;
   :EMP_NO1 := EID;
   :CREATED_BY1 := FN || ' ' || LN;
   :APP_DATE1 := SYSDATE;
   :APP_NO1 := APP;
   :REASON1 := REA;
   BL := TRUE;
   :BLNF := sys.DIUTIL.bool_to_int (BL);
--htp.prn(x);
EXCEPTION
   WHEN NO_DATA_FOUND
   THEN
      BL := FALSE;
      :BLNF := sys.DIUTIL.bool_to_int (BL);
      --htp.prn(x);
      IF :P12_FDATE IS NOT NULL AND :P12_TDATE IS NOT NULL
      THEN
         :P12_TDATE := TO_DATE(:P12_FDATE, 'DD-MM-YYYY') + :P12_NO_OF_DAYS_REQ; -----this expression is not executing
         INSERT INTO LEAVE_FORM (EMP_NO,
                                 APP_NO,
                                 APP_DATE,
                                 NO_OF_DAYS_REQ,
                                 FDATE,
                                 TDATE,
                                 LEAVE_TYPE,
                                 REASON)
           VALUES   (:EMP_NO1 + 1,
                     :APP_NO1,
                     :APP_DATE1,
                     :P12_NO_OF_DAYS_REQ,
                     :P12_FDATE,
                     :P12_TDATE,
                     :P12_LEAVE_TYPE,
                     :REASON1);
      END IF;
END;Cheers
Ben

Similar Messages

  • Regular expression does not execute runtime

    Hello adobe collegue's,
    I am currently stumbling on a strange issue regarding javascript embedded to compress a string:
    // main function to compress any string, removing all non-word characters and making the string all lowercase
    function compressString(input){
        var patt=new RegExp("\\W","g");
        patt.compile(patt);
        var output = input.toLowerCase().replace(patt,"")+"YESS";
        return output;
    Somehow this code does execute perfectly while previewing in adobe designer 9.0.0.2 but runtime all javascript does execute except for the part mentioned above.
    I know this part is executed because in the result i see the string "YESS" added to the response of this function.
    Somehow the pattern is not compiled, or executed runtime...
    I also tried more simple regular expressions but none of them actually worked.
    For the templates the option client is set where to execute the javascript, although while testing the options to solve the issue is also tried settings both and server. None provided the solution.
    Can someone provide any help...it's appreciated!
    Thanks,
    Marcel

    Hi,
    you can make your function more simple.
    function compressString(input){
              return input.toLowerCase().replace(/\W/g,"") + "YESS";

  • SubVI not executable: many express VIs cannot be opened

    When I create an icon of an express VI on the Block Diagram, "error loading National Instruments\LabVIEW 2012\resource\lvanlys.dll" appears. And when I double click the icon, it is shown on the screen "unable to view properties". I cannot run the VI, and the errors listed are like "SubVI 'simulate signal': SubVI is not executable". I do not know how to solve this problem.
    Hope someone can help me. Thanks a lot!

    What do you mean "create an icon of an express VI on the Block Diagram"?  Give us enough steps to be able to reproduce (or test) your problem.  Include:
    Are you starting with a "blank" VI or a blank Project, i.e. starting from scratch?
    What is on the Block Diagram before you "create the icon of an express VI"?
    Which Express VI are you trying to use?
    Lily092 wrote:
    When I create an icon of an express VI on the Block Diagram, "error loading National Instruments\LabVIEW 2012\resource\lvanlys.dll" appears. And when I double click the icon, it is shown on the screen "unable to view properties". I cannot run the VI, and the errors listed are like "SubVI 'simulate signal': SubVI is not executable". I do not know how to solve this problem.
    Hope someone can help me. Thanks a lot!

  • XPath expression failed to execute.

    Hi Everybody ,
    I am working  AIA PIP 3.1 for JDE E1.I am facing some errors so that i can't proceed.
    See the log errors as below:
    javax.xml.ws.soap.SOAPFaultException: XPath expression failed to execute. An error occurs while processing the XPath expression; the expression is ora:processXSLT('xsl/Xform_BillOfMaterialsListABM_to_BillOfMaterialsListAXML.xsl',bpws:getVariableData('InitialLoadBillOfMaterialsListReqMsg','InitialLoadBillOfMaterialsList'),bpws:getVariableData('Parameters')). The XPath expression failed to execute; the reason was: oracle.fabric.common.xml.xpath.XPathFunctionException: javax.xml.transform.TransformerException: oramds:/deployed-composites/default/InitialLoadBillOfMaterialsListJDEE1toAgileImpl_rev1.0/xsl/Xform_BillOfMaterialsListABM_to_BillOfMaterialsListAXML.xsl<Line 18, Column 271>: XML-22044: (Error) Extension function error: Error invoking 'lookupXRef':'oracle.tip.xref.exception.RepositoryException: lookup could not find values in column name "AGILE_01" for table name "oramds:/apps/AIAMetaData/xref/ITEM_ITEMID.xref" using reference column name "JDEE1_01" and reference value "731882::M30" Please ensure lookup criteria has a match.'. Check the detailed root cause described in the exception message text and verify that the XPath query is correct.
    Please reply me ASAP,
    Waiting for your response.....
    Regards
    Jyoti Nayak

    Hi,
    Ya i checked the data for same table,but i didn't get any XREF related information in xref_data table.
    Did you mean that, data should already present under AIAFPINST_XREF.Probably xref is meant for storing dynamic value.
    Please check the above error and reply me soon.
    With Regards
    Jyoti Nayak

  • Using Variable within Filter expression will not parse.

    IN ODI 11.1.1.3.0, I defined a Variable (SelectionDate) of type "Alphanumeric", Default Value = 01-JAN-1970 with the select query: select to_char( SYSDATE , 'DD-MON-YYYY') from dual.
    I intend to use this variable as a scenario variable (parameter) that receives a value in the form of 'DD-MON-YYYY', from the execution environment.
    I refreshed the variable and it received the value 16-JUN-2011 (today's date). So far so good.
    I then defined an Interface and used the variable in a filter expression:
    Active Filter: Checked
    Implementation Tab:
    SOURCE_VIEW.SELECTION_DATE BETWEEN TO_DATE('#PROJECT1.SelectionDate', 'DD-MON-YYYY') AND (TO_DATE('#PROJECT1.SelectionDate', 'DD-MON-YYYY') + 1)
    Execute on :Source
    When verifying the expression (click on the checkmark in the implementation tab) I always get: Expression is not valid for this DBMS. java.sql.SQLDataException: ORA-01858: a non-numeric character was found where a numeric was expected.
    I cannot get the filter to parse. Thank you for your ideas of what might be wrong.
    Jose.

    Yes, it worked when placed in the package.
    I think the expression editor is sending the string as it is written to the database in order to parse it, without replaceing the #variable for the actual value. Anyway thanks.
    Jose

  • BUG:  Expression Language not supported (JDeveloper 10.1.3.0.4(SU1))

    Hi!
    I have the following code in a jspx page:
    <c:if test="${!empty bean.genericErrorMessages}">
    <h:outputText styleClass="texto_red"
    value="#{bean.genericErrorMessages}"
    id="applicationErrorMessages" escape="false"/>
    </c:if>
    All code compile well, but when i run the jspx page the following exception occur.
    The problem is that in JDeveloper Early Access 3 the problem doesn't occur.
    But in the Jdeveloper version 10.1.3.0.4(SU1) the exception occur.
    I'm running JDeveloper in a Windows XP SP2, JSF 1.1_01 and JSTL 1.0
    Does anyone know a solution to this problem? Tanks.
    The Exception:
    Error: Expression Language not supported in compile time attribute test
         at oracle.jsp.parse.JspUtils.hasELWithCreation(JspUtils.java:1248)
         at oracle.jsp.parse.JspUtils.processELAttribute(JspUtils.java:1274)
         at oracle.jsp.parse.OpenJspTagHandler.processAttributeValue(OpenJspTagHandler.java:331)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1368)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:739)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:739)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:739)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:739)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.OpenJspTagHandler.parseXMLSrcBody(OpenJspTagHandler.java:739)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTag.parse(JspParseTag.java:1413)
         at oracle.jsp.parse.OpenJspTagHandler.parse(OpenJspTagHandler.java:802)
         at oracle.jsp.parse.JspParseTag.genXMLSrcTag(JspParseTag.java:867)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcNextTag(JspParseTag.java:745)
         at oracle.jsp.parse.JspParseTag.parseXMLSrcBody(JspParseTag.java:1121)
         at oracle.jsp.parse.JspParseTag.parseXMLSrc(JspParseTag.java:1375)
         at oracle.jsp.parse.JspParseTagFile.parseXMLSrc(JspParseTagFile.java:296)
         at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:211)
         at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:403)
         at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:558)
         at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:348)
         at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:610)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:634)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:370)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:298)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:205)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
         at org.apache.shale.faces.ShaleViewHandler.renderView(ShaleViewHandler.java:143)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
         at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
         at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
         at pt.ivv.commonbusiness.presentation.servlets.filter.HibernateFilter.doFilter(HibernateFilter.java:68)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:119)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:534)

    Hello,
    You should not try to mix JSP and JSF EL prior to JSF 1.2 and JSP 2.1, the result is inconsistent most of the time.
    To fix your current issue though, I suggest you use the rendered attribute instead of a <c:if>, so would be:
    <h:outputText styleClass="texto_red"
    value="#{bean.genericErrorMessages}"
    id="applicationErrorMessages" escape="false" rendered="#{!empty bean.genericErrorMessages}"/>Regards,
    Simon Lessard

  • Tried the solutions posted for this "SubVI filter not executable​. Undefined error" but not solving the problem

    Hello,
    I am trying to use a lowpass filter for my application but getting the error "SubVI filter not executable. Undefined error".I tried working with the solutions at this post 
    http://forums.ni.com/t5/LabVIEW/SubVI-filter-not-e​xecutable-Undefined-error/m-p/1996701#M657751 and results with
    1. Create a blank vi, put a VI filter in the block diagram (this should not be functional as it is not wired), copy it and paste it in my other project. I believe if the filter is the first vi of a blank project, it is funcitonal and then you may copy it wherever you need to.
    Result:
    2.Tried to open the filter panel of the Filter but showing the same error as shown inthe below image
    Don't why the solutions worked for others are not working.Can someone suggest a solution for this.
    thanks in advance.

    Hi PatanGova,
    Very strange error. Actually, there are no required inputs on this express VI, so it should be able to run even without wires. It is not correct as you said: "this should not be functional as it is not wired". Nothing will happen, true, but the run arrow should not be broken.
    For some reason, the VI with the Filter express VI fails to compile. I tried it on my computer (LV 2013) and get no error when I add it to a new VI. As was suggested in the linked forum thread, you need to open the front panel of the Filter VI and run it to see the explicit error.
    If you do, do you also get the error:
    "This VI claims to be part of a library that does not include the VI. The VI might have been deleted from the library. Add the VI to the library again or select File - Disconnect from the library."?
    If you do, it seems that you may have a project library somewhere that has taken ownership of the express VI. The ownership prevents you from running or editing the express VI. To free the VI, you need to do one of two things. Either, you need to load the library into memory, or you need to disconnect the VI from the library. Either way, you need to find the project library that has taken the ownership of the VI. As soon as it is released, it should run for you. You release it by selecting File»Disconnect from Library on the VI.
    The workaround described in your link (and also here: http://forums.ni.com/t5/LabVIEW/compatibility-prob​lem-labview-2009-2010-2011-quot-This-VI-claims/td-​... tells that you can make a copy of the VI and thereby create another instance that is free. This solution may work for you as well, but if not, you may not have created the copy properly. Maybe your copy of the VI also became part of some project library that took ownership. In either way, you should rather find the project library to release the VI before trying the workaround to copy it.
    If project library ownership is not the problem, maybe the problem is connected to LV 2011, as most forum posters report that it only happens here.

  • Compiling COBOLs in PSOVM - psrun.mak error - "cob64: can not execute Id".

    Hi All,
    After installing PeopleSoft OVM in our server, I need to recompile the COBOL. I believe this is not included in the OVM. These are the steps I did.
    1. Installed Microfocus Server Express 5.0 WrapPack 4
    2. Follow the steps in Compiling Cobol in Unix mentioned is the PeopleTools_8.50_Installation_Oracle guide.
    I was able to successfully compille the COBOL files by running ./pscbl.mak. The next step is Linking COBOL Components on UNIX by running ./psrun.mak and here I got the error:
    +./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...+
    +./psrun.mak - Error(s) encountered creating PSRUN!+
    +./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages+
    +[root@pshcm91ab setup]# more /opt/oracle/psft/appbatch/tools/setup/psrun.err+
    cob64: can not execute ld
    +[root@pshcm91ab setup]#+
    I followed all the steps in setting environment variable mention in the "Compiling Cobols in Unix" in PeopleTools_8.50_Installation_Oracle.
    Is there any specific documentation of compiling COBOLs in PeopleSoft OVM?
    Can anyone help me with this?
    Thanks in advance.
    -Chris
    Edited by: user9977167 on 4/02/2010 15:52
    Edited by: user9977167 on 5/02/2010 06:18

    Hi,
    Ok, I reproduce your case :
    [psadm1@psovmab setup]$ ./psrun.mak
    ./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...
    ./psrun.mak - Error(s) encountered creating PSRUN!
    ./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages
    [psadm1@psovmab setup]$ more /opt/oracle/psft/appbatch/tools/setup/psrun.err
    cob64: can not execute ld
    [psadm1@psovmab setup]$It looks like a lot of rpm packages required by ld are missing on Peoplesoft OVM App/Batch server compared to the Peoplesoft OVM database server for instance.
    I added a lot of packages because of the dependendcies as below :
    From OEL5.2 Disk 1
    ==================
    -rw-r--r-- 1 root root  899210 Feb  7 10:10 kernel-headers-2.6.18-92.el5.x86_64.rpm
    -rw-r--r-- 1 root root  3073639 Feb  7 10:25 binutils-2.17.50.0.6-6.el5.x86_64.rpm
    -rw-r--r-- 1 root root  3114462 Feb  7 10:29 cpp-4.1.2-42.el5.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh kernel-headers-2.6.18-92.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:kernel-headers         ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh binutils-2.17.50.0.6-6.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:binutils               ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh cpp-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:cpp                    ########################################### [100%]
    [root@psovmab rpm]#
    From OEL5.2 Disk 2
    ==================
    -rw-r--r-- 1 root root  614718 Feb  7 10:05 glibc-headers-2.5-24.x86_64.rpm
    -rw-r--r-- 1 root root 2535024 Feb  7 10:05 glibc-devel-2.5-24.x86_64.rpm
    -rw-r--r-- 1 root root 2105297 Feb  7 10:05 glibc-devel-2.5-24.i386.rpm
    -rw-r--r-- 1 root root 5544086 Feb  7 10:20 gcc-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root 3987493 Feb  7 10:20 gcc-c++-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root    83518 Feb  7 10:31 libgomp-4.1.2-42.el5.i386.rpm
    -rw-r--r-- 1 root root    84654 Feb  7 10:41 libgomp-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root  2980440 Feb  7 10:43 libstdc++-devel-4.1.2-42.el5.x86_64.rpm
    -rw-r--r-- 1 root root    20483 Feb  7 11:46 elfutils-libelf-devel-0.125-3.el5.x86_64.rpm
    -rw-r--r-- 1 root root    58852 Feb  7 11:46 elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm
    -rw-r--r-- 1 root root   102193 Feb  7 11:49 elfutils-libs-0.125-3.el5.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh glibc-headers-2.5-24.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:glibc-headers          ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh glibc-devel-2.5-24.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:glibc-devel            ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh glibc-devel-2.5-24.i386.rpm
    Preparing...                ########################################### [100%]
       1:glibc-devel            ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh libgomp-4.1.2-42.el5.i386.rpm
    Preparing...                ########################################### [100%]
       1:libgomp                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh libgomp-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:libgomp                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh gcc-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:gcc                    ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh  libstdc++-devel-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:libstdc++-devel        ########################################### [100%]
    [root@psovmab rpm]#
    [root@psovmab rpm]# rpm -Uvh gcc-c++-4.1.2-42.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:gcc-c++                ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh elfutils-libs-0.125-3.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:elfutils-libs          ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh elfutils-libelf-devel-0.125-3.el5.x86_64.rpm elfutils-libelf-devel-static-0.125-3.el5.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:elfutils-libelf-devel-s########################################### [ 50%]
       2:elfutils-libelf-devel  ########################################### [100%]
    [root@psovmab rpm]#
    From OEL5.2 Disk 3
    ==================
    -rw-r--r-- 1 root root  4588773 Feb  7 10:22 compat-gcc-34-3.4.6-4.x86_64.rpm
    -rw-r--r-- 1 root root 13542100 Feb  7 10:23 compat-gcc-34-c++-3.4.6-4.x86_64.rpm
    -rw-r--r-- 1 root root   232846 Feb  7 12:21 compat-libstdc++-33-3.2.3-61.x86_64.rpm
    [root@psovmab rpm]# rpm -Uvh compat-gcc-34-3.4.6-4.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:compat-gcc-34          ########################################### [100%]
    [root@psovmab rpm]# rpm -Uvh compat-gcc-34-c++-3.4.6-4.x86_64.rpm
    Preparing...                ########################################### [100%]
       1:compat-gcc-34-c++      ########################################### [100%]
    [root@psovmab rpm]#The initial error is gone, but got a new one when linking :
    [psadm1@psovmab setup]$ ./psrun.mak
    ./psrun.mak - linking PSRUN for oel-5-x86_64, Version 2.6.18-92.0.0.0.1.el5xen ...
    ./psrun.mak - Error(s) encountered creating PSRUN!
    ./psrun.mak - See /opt/oracle/psft/appbatch/tools/setup/psrun.err for messages
    [psadm1@psovmab setup]$ more /opt/oracle/psft/appbatch/tools/setup/psrun.err
    ld: cannot find -lgcc
    [psadm1@psovmab setup]$I looked around for this error, found a Metalink note, but the suggestion does not apply here, the path directory metioned in $COBDIR/etc/cobopt already exists :
    [psadm1@psovmab setup]$ more $COBDIR/etc/cobopt
    -C nolist
    set GCC_LIB=/usr/lib/gcc/x86_64-redhat-linux/3.4.6
    [psadm1@psovmab setup]$ ls /usr/lib/gcc/x86_64-redhat-linux/3.4.6
    32          crtbeginS.o  crtend.o   include   libgcc_eh.a  libgcc_s_32.so  libstdc++.a   libstdc++_nonshared.a  libsupc++.a
    crtbegin.o  crtbeginT.o  crtendS.o  libgcc.a  libgcc_s.so  libgcov.a       libstdc++.so  libstdc++_shared.so    specs
    [psadm1@psovmab setup]$So far, no luck, I'll still try, but you may have more luck to install a separate server with all the packages install from the scratch and run a process scheduler from there.
    Nicolas.

  • Log Reader Agent error "could not execute sp_replcmds' and causes stack dump

    Publisher/Subscriber db:  SQL 2008 R2, 2000 compatability mode
    Distributor database is on separate server.
    (note:  There is another database on this instance that is running replication without error, it is not in compatibility mode)
    After snapshot agent finishes, the log reader agent starts and fails immediately with this error in the Agent Job.
    Then I get a SEV20 error and stack dump in the error logs.
    Date  6/12/2014 3:12:26 PM
    Log  Job History (SERVER\INSTANCE-DBNAME-43)
    Step ID  2
    Server  ######RT02
    Job Name  SERVER\INSTANCE-DBNAME-43
    Step Name  Run agent.
    Duration  00:00:01
    Sql Severity  0
    Sql Message ID  0
    Operator Emailed  
    Operator Net sent  
    Operator Paged  
    Retries Attempted  0
    Message
    2014-06-12 20:12:26.302 Copyright (c) 2008 Microsoft Corporation
    2014-06-12 20:12:26.302 Microsoft SQL Server Replication Agent: logread
    2014-06-12 20:12:26.302
    2014-06-12 20:12:26.302 The timestamps prepended to the output lines are expressed in terms of UTC time.
    2014-06-12 20:12:26.302 User-specified agent parameter values:
       -Publisher SERVER\INSTANCE
       -PublisherDB DBNAME
       -Distributor ######RT02
       -DistributorSecurityMode 1
       -Continuous
       -XJOBID 0x8958DF32810C6849B28A037A8FF8DD92
       -XJOBNAME SERVER\INSTANCE-DBNAME-43
       -XSTEPID 2
       -XSUBSYSTEM LogReader
       -XSERVER SERVER\INSTANCE
       -XCMDLINE 0
       -XCancelEventHandle 0000000000000F98
       -XParentProcessHandle 0000000000000F34
    2014-06-12 20:12:26.459 Parameter values obtained from agent profile:
       -pollinginterval 5000
       -historyverboselevel 1
       -logintimeout 15
       -querytimeout 1800
       -readbatchsize 500
       -readbatchsize 500000
    2014-06-12 20:12:26.493 Status: 4096, code: 20024, text: 'Initializing'.
    2014-06-12 20:12:26.493 The agent is running. Use Replication Monitor to view the details of this agent session.
    2014-06-12 20:12:27.885 Status: 0, code: 20011, text: 'The process could not execute 'sp_replcmds' on 'SERVER\INSTANCE'.'.
    2014-06-12 20:12:27.886 The process could not execute 'sp_replcmds' on 'SERVER\INSTANCE'.
    2014-06-12 20:12:27.886 Status: 0, code: 21, text: 'Warning: Fatal error 3624 occurred at Jun 12 2014  3:12PM. Note the error and time, and contact your system administrator.'.
    2014-06-12 20:12:27.886 Status: 0, code: 22037, text: 'The process could not execute 'sp_replcmds' on 'SERVER\INSTANCE'.'.
    I've tried removing replication and setting it back up again, restarting SQL, and restarting the server itself.
    Let me know if you need any more information to help troubleshoot.  Thanks.
    Please help, thanks. 

    Hi,
    Enable Verbose logging and check the results.
    Execute following commands: -Output C:\Temp\OUTPUTFILE.txt –Outputverboselevel 2.
    Please refer following KB article for your reference -
    http://support.microsoft.com/kb/q312292/
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Workflow not executing - No event error no log errors

    Hello experts,
    I finally solved the exceptions i was getting in my work flow and all the thanks goes for all the forum participants in general and to  Sudhindra, and  Glauco specifically,
    Now i have another error that i am clueless about, i want to trigger the workflow when the status of a document changes, so when i change the status nothing happens, in SWEL there are no errors, It says that receiver started correctly, in ST22 there are no errors, but
    the workflow does not execute, the workflow should open a web browser, so it is not opening it. Any ideas as to why this is happening ?
    regards
    Points are awarded

    I have replied to this in the original thread... anyways here is a copy of the same...
    No the background task is executed by the user WF-BATCH and once the function module is called the user transfers the control to the SAP GUI and then the SAP GUI communicates with the OS. In this case if the task is background then how will the OS know where to call the web browser? It will not know the user to whom this request must be dispatched.
    So the bottom line is that you cannot use this functionality in a background task.
    There is one workaround that comes to my mind. What you can do to inform a user that the "Changed" event has triggered is as follows:
    1. Create a workflow which will trigger off from the Changed event of "DRAW"
    2. Create a send mail step and check the checkbox that says "Send Express" and include the URL you want to open in the Mail body and then send it to an outlook user.
    If you use the Send Express flag then the user will be intimated once the event has occured if and only if he uses the SAP GUI. If the user does not use the SAP GUI then you can remove the check but just send the mail to the outlook so that the user receives the email in outlook once the event has triggered!
    Apart from this nothing comes to my mind!
    All the best!
    Sudhi

  • XPATH condition not executing

    Hi Experts,
    I am stucked with a condition in XPATH which is not executing. I want to use substring function in the Expression Editor. In the source structure field IDTNR at path /ORDERS01/IDOC/E1EDP01/E1EDP19/IDTNR if the field value of IDTNR starts with a D(for eg DADHJI) then I have to block this particular message or else(eg ASHDJKKD) pass for other values. I have tried following ways so far.
    (ORDERS01/IDOC/E1EDP01/E1EDP19/IDTNR[(substring(.,0,1) ='D')] EX )
    /ORDERS01/IDOC/E1EDP01/E1EDP19/IDTNRhttp://not(starts-with(.,"D"))
    substring(ORDERS01/IDOC/E1EDP01/E1EDP19/IDTNR,0,1) = 'D'
    And also can some body please expalin what is the meaning of http:// in the second statement as also in thread  Re: Using substring in the XPATH expression for Receiver Determination
    Requesting you , please dont forward the links or blogs.
    Thanks in Advance.
    Sudhir

    Hi Sudhir
    I think
    substring(string,start,length) or substring(string,start)
    should work on this.
    Moreover try with
    contains(String,contain string) or starts-with(String, Starts with String)
    I am not sure if it get problem with escape sequences in String. Check again.
    You can also use
    substring-before(String, String) or substring-after(String,String)
    Thanks
    Gaurav

  • The expression is not being displayed in the alert inbox

    Hi,
    I have created an expression in 'Long and Short Text' tab present in the ALRTCATDEF transaction screen.
    The expression is "test Error in message &SXMS_MSG_GUID&". However if i goto alert inbox, this expression is not getting displayed. I tried putting this expression under Message title, Short text and Long text tabs. But no change in the result.
    In the above expression, SXMS_MSG_GUID is a container variable declared in ALRTCATDEF transaction screen.
    Same is the situation irrespective of the container variable being used - SXMS_ERROR_CAT etc.,
    I appreciate your early response.
    Regards
    Ganesh

    Hi Venkat,
    Without using BPM, you can think/try out with triggering an alert from UDF:
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Otherwise, you can use email functionality to notify the error message rather an alert....so that you can customize your output format/or error message required.
    Also check out this Michal's blog on ALERT Configuration..
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Hope this wull help.
    Nilesh

  • BPM send step not executed in BPM (after Message split)

    Hello everybody,
    we use BPM:
    We have a paralell Block which should send the rows of a multiline element. In SXMB_BPE_MONI the send step is not executed?
    Any idea?
    Thanks  lot, regards Mario

    HI,
    Go to SXMB_MONI_BPE->and check the workflow log (technical details).and go to SXI_CACHE and check the return code of the Integration Process. It should be zero. If not try to activate the same
    If there is no error then go with like this-
    Also check the Syntax in Integration Repository with F7. Change the IP and activate it. If there is no syntax errors.
    Then reimport the IP into Directory and then test your scenario
    Regards,
    Moorthy

  • Airport Express will not talk to my router

    I have 2 airport express stations that are 6.3 and they have always been able to connect to my qwest wireless router no prob. I've recently updated to Leopard and was surprised to see the new airport utility instead of the airport admin and airport setup tools. I like the new utility and interface as it seems less confusing than the old but now I'm having issues.
    1. I can get the new utility to recognize my airport express ONLY when I do a hard reset to the airport express.
    2. As I've done many times in the past, I go through the following setup protocol to join my current wireless network. I simply want to join my current network so I can talk to my stereo and printer wirelessly.
    3. When I finish the setup and hit update, the airport utility updates the express successfully and then attempts to restart the express in order to join my network. This is where the problem lies.
    *Here's the error message I get:*
    AirPort Utility was unable to find your Apple wireless device after restarting.
    The settings for this Apple wireless device have been successfully updated, but there was a problem re-joining the wireless network or finding the Apple wireless device. You may need to select your network from the AirPort menu and try again.
    Now, I've tried repeating this process 10 times with both airport express stations and the same result happens? Remember, the only way for the utility to find the express is to hard reset the express. What gives? I bought both of these express stations over a year ago and they've been working fine til now. Because they are older and updated to 6.3, I shouldn't update them to the 802.11n7.3.1 update or should I? Is there something different about this new airport utility in Leopard that is causing the problem?
    Like I said, I've done this exact same thing many times and its pretty straight forward but I'm stumped.
    Anyone? Thanks in advance

    I've got the solution! It took me some fair hours, though...
    It seems the Airport Express can not handle the WEP-encryption properly, nor the 64 or the 128 bit versions. Here's how to work around it:
    1) change your routers encryption to WPA2 with passkey (WPA-2-PSK). You may use the 10-digit code supplied with most routers or any of your own choice.
    2) Change all wireless cards in your network to WPA2-PSK. It can take some time to figure it all out, but in the end you'll fix it. I had to download a new driver for my D-Link card DWL-G650 for instance.
    3) Do the usual config thing with the Airport Express. Choose to connect to an existing network, apply the 10-digit passkey (be sure to choose the WPA2-PSK-option in the drop down-menu).
    4) Off you go! Itunes will find the remote speakers, green lights all over and everybody turns happy...
    /W

  • My new airport express does not connect my printer to my computer?  My old airport did! then I updated to OS 10.9.2.  How do I get it connected?

    My new airport express does not connect my printer to my computer.  The old airport did.  I recently updated to OS 10.9.2.  I have since bought a new
    HP 6700 all in one wireless printer,  got the latest Comcast router.  None of which connect to my computer wirelessly.  Which do I throw away the printer, router, or Mac?  Help

    Contact HP for support.
    Explain that you are using a Mac, anticipate the inevitable groan, and wait patiently for their resident Mac expert to return from vacation.
    Until then download and install its driver here: http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?product=5058338&cc=us&dlc=en &lc=en
    Otherwise return the printer and purchase one from a company that visibly supports OS X. HP isn't on that list.

Maybe you are looking for

  • Is it really your video card that's the problem?.

    Bought a DC/2.3 G5 to run Aperture, upgraded to 1.1 and everything became slow, got a 7800GT, not a huge improvement. Upgraded to version 1.1.1 with some improvement, now at least it's usable. Got a new MBP 17in with 2Gb ram and a fast(7.2k) disk, sp

  • Caller Display Problems

    Hello, I recently rejoined BT for home telephone and broadband having been with talk talk and O2. I have had a bit of a mare with the Infinity and phone install but it is done now. I have contacted BT about caller display that was included with my pa

  • Playing DVD problems

    Hi all, Have built a DVD with a first play track, which goes to a menu with two simple buttons. Button 1, the default button goes to the main film, button 2, to the "extras". I tested the DVD once burned and all seemed fine. Then as I stopped it, I j

  • Can i get result of procedure in Forms

    i create procedure to get multiple records of employee its working in pl/sql plus can i get same result in oracle forms null

  • BOM Explosion in Delivery w/o Reference

    Hi to all, can anybody tell me if BOM Explosion is working in combination with the creation of a delivery w/o reference (LO). I made the neccessary settings for the item type consideration but when I try to create a LO-Delivery, the system is only cr