SQLException: Parameter #1 not set

Database: SQL Server 2000
Drivers: (jtds, Datadirect, JSQLconnect)
I'm having a problem that appears in all drivers we have tested apart from the driver embedded in Creator Studio. When I try to execute a parameterised query, I get the SQLException described above (the actual text varies from driver to driver but the central message is the same.
One of the faqs on jtds mentions that the entire resultset must be exhausted before one can access the output parameters. Could this be the problem?
Does anyone else use parameterised queries on a SQL Server DB? Have you experienced this problem? Any ideas on how to fix?
Many Thanks,
Andy

Parameterized queries do work in Creator. Not all drivers are perfect, and may return incorrect or incomplete metadata which is why I suspect you are getting the exception. The supported drivers in Creator are:
http://jupiter.czech.sun.com/wiki/view/Creator/ThresherSysReq#databaseservers
Try getting the latest drivers from the vendors if you are using other than the supported drivers. e.g. I did experience similar problem when using MySql 3.1.8 driver but getting the 3.1.11 driver fixed the problem. Here is a techtip you may find useful:
http://developers.sun.com/prodtech/javatools/jscreator/reference/tips/2/queryeditor.html

Similar Messages

  • MSS - Compensation Profile iViews Error Messages (Parameter CREVI not set)

    Hello Folks,
    We are currently implementing ECM with MSS and SAP Portal. In the Plan Compensation iView when I click on the Employee Name hyperlink it is launching Employee Compensation Profile page having General Data, Compensation Adjustments, Salary Development, Salary Survey Data, Compensation Guidelines, Compensation Eligibility, LT Incentive iViews.
    I am getting below listed messages in these iViews, I am not able to trace where the configuration for these is missing i.e. either in the Resource or Service or in any of the SPRO step. Could you please help me in pointing to the location where I am missing in the config part.
    General Data iView - "Internal error; Parameter CREVI is not set, Salary Development: An error occurred while the data was read."
    Salary Development, Salary Survey Data, LT Incentive iViews - "No data available"
    Compensation Guidelines, Compensation Eligibility iViews - "To display data, first select an employee".
    Thanks much for your help!
    Thanks,
    NVR.

    Enter in the iview PCD portal content :
    iView Compensation Planning - edit iview - in propertes search for the field Compensation Review (CREV) it's optional and fey from SAP Table T71ADM08
    Edited by: Javier Ignacio Serrano Zamorano on May 5, 2010 10:20 PM

  • Compensation Profile Page iViews Error Messages (Parameter CREVI not set)

    Hello Folks,
    We are currently implementing ECM with MSS and SAP Portal. In the Plan Compensation iView when I click on the Employee Name hyperlink it is launching Employee Compensation Profile page having General Data, Compensation Adjustments, Salary Development, Salary Survey Data, Compensation Guidelines, Compensation Eligibility, LT Incentive iViews.
    I am getting below listed messages in these iViews, I am not able to trace where the configuration for these is missing i.e. either in the Resource or Service or in any of the SPRO step. Could you please help me in pointing to the location where I am missing in the config part.
    General Data iView - "Internal error; Parameter CREVI is not set, Salary Development: An error occurred while the data was read."
    Salary Development, Salary Survey Data, LT Incentive iViews - "No data available"
    Compensation Guidelines, Compensation Eligibility iViews - "To display data, first select an employee".
    Thanks much for your help!
    Thanks,
    NVR.

    Hi NVR,
      Please check http://help.sap.com/erp2005_ehp_04/helpdata/EN/ff/c5d98c226848ebae8e7c2ce106db67/frameset.htm for settings and http://help.sap.com/erp2005_ehp_04/helpdata/EN/97/da81a2167345359f153fafcbc8aadf/frameset.htm and the like for the different section values.  We do not use some of the infotypes, so there is no data.  I am just down to a salary development error now.  Working with SAP on message 191413.  I wish you well.
    Best Regards,
    Mike

  • Why are my parameter values not setting in report?

    G'day,
    Like many others I am a developer who is new to crystal reports.  I have researched a lot for setting report parameters and although my code seem to be working when I open the report through code I'm always asked to re-enter the parameter values.
    Here is my code:
    behind button event
    PersonalAttendance myReport = new PersonalAttendance();
    ReportUtility ru = new ReportUtility();
    ru.SetReportParameter(myReport, "reportName","the title");
    myReport.Refresh();
    myReport.SetDataSource([a data source]);
    ReportViewer.ReportSource = myReport;
    method behind custom class "ReportUtility()"
    public void SetReportParameter(ReportClass rc, string FieldName, object parameterValue)
    //Get the collection of parameters from the report
    crParameterFieldDefinitions = rc.DataDefinition.ParameterFields;
    //Access the specified parameter from the collection
    crParameterFieldDefinition = crParameterFieldDefinitions[FieldName];
    //Get the current values from the parameter field.  At this point
    //there are zero values set.
    crParameterValues = crParameterFieldDefinition.CurrentValues;
    //Set the current values for the parameter field
    crParameterDiscreteValue = new ParameterDiscreteValue();
    crParameterDiscreteValue.Value = parameterValue;
    //Add the first current value for the parameter field
    crParameterValues.Add(crParameterDiscreteValue);
    //All current parameter values must be applied for the parameter field.
    crParameterFieldDefinition.ApplyCurrentValues(crParameterValues);
    I'd really appreciate any assistance....
    Cheers,
    Brendan

    Hi,
    For better assistance on this question I would suggest you to post this issue on "Business Objects SDK Application Development".
    Regards,
    Sumit Kanhe

  • Parameter 1 not being set

    Hi everyone,
    I'm trying to delete a row from a data table and although I'm using a simple piece of code which works elsewhere I'm getting a parameter1 not set error. The problem is with cursorFirst() but I haven't got an idea why...
    Anyone got a suggestion?
    Thanks very much in advance...
    Emma Wykes
    Here's the code -
    try {
    log("Into the prerender about to set parameters");
    editRanges_RangesDataProvider.cursorFirst();
    log("**********at ranges data provider first cursor**********");
    editProducts_firstRange = editRanges_RangesDataProvider.getValue("RANGES.RANGEINFOID");
    log("**********got rangeinfoid**********"+editProducts_firstRange);
    editRanges_rangesDD.setSelected(editProducts_firstRange);
    log("**********just set rangesDD**********");
    getSessionBean1().getEditRanges_RangesRowSet().setObject(1, editProducts_firstRange);
    log("Just set parameter 1");
    editRanges_suppliersDataProvider.cursorFirst();
    editProducts_firstSupplier = editRanges_suppliersDataProvider.getValue("SUPPLIERS.SUPPLIERID");
    editRanges_supplierDD.setSelected(editProducts_firstSupplier);
    getSessionBean1().getEditRanges_suppliersRowSet().setObject(1, editProducts_firstSupplier);
    log("Just set parameter 2");
    } catch (Exception ex) {
    log("Couldn't set parameters", ex);
    Here's the error -
    [#|2006-02-11T18:03:23.752+0000|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.tools.admin|_ThreadID=29;|ADM1042:Status of dynamic reconfiguration event processing:[success]|#]
    [#|2006-02-11T18:03:27.532+0000|INFO|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=16;|WebModule[/FocalPoint5]Into the prerender about to set parameters|#]
    [#|2006-02-11T18:03:27.610+0000|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.container.web|_ThreadID=16;|WebModule[/FocalPoint5]Couldn't set parameters
    java.lang.RuntimeException: java.sql.SQLException: Statement parameter 1 not set.
         at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:343)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorIndex(CachedRowSetDataProvider.java:300)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.getRowKeys(CachedRowSetDataProvider.java:245)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.cursorFirst(CachedRowSetDataProvider.java:351)
         at focalpoint1.editRangesAndSuppliers.prerender(editRangesAndSuppliers.java:577)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.prerender(ViewHandlerImpl.java:860)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:295)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:324)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:500)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:161)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:185)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:653)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:534)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doTask(ProcessorTask.java:403)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:55)
    Caused by: java.sql.SQLException: Statement parameter 1 not set.
         at com.mysql.jdbc.ServerPreparedStatement.serverExecute(ServerPreparedStatement.java:1031)
         at com.mysql.jdbc.ServerPreparedStatement.executeInternal(ServerPreparedStatement.java:676)
         at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1030)
         at com.sun.sql.rowset.internal.CachedRowSetXReader.readData(CachedRowSetXReader.java:193)
         at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:950)
         at com.sun.sql.rowset.CachedRowSetXImpl.execute(CachedRowSetXImpl.java:1410)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.checkExecute(CachedRowSetDataProvider.java:1219)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.setCursorRow(CachedRowSetDataProvider.java:329)
         ... 45 more
    |#]

    I will answer for someone looking for this answer. Actually I'm working on a search page. If you want to use CachedRowSetDataProvider for your searching page, using a parametric query on a Session Bean, then you have to add some code to the page where you have your table (or working on), defining some values in order to avoid this error. In other words, setting the parameter values at the beginning.
    In my case, I'm searching over a patient's table using 3 parameters.
        public void prerender() {
         if ( this.fldCriteria.getText() == null ) {
              try {
                   // This code runs the first time but not for postback requests.
                   pacientesDataProvider.getCachedRowSet().setObject(1, "XX");
                   pacientesDataProvider.getCachedRowSet().setObject(2, "XX");
                   pacientesDataProvider.getCachedRowSet().setObject(3, "XX");
                   pacientesDataProvider.refresh();
              } catch (Exception e) {
                   error("Cannot set initial search value " + pacientesDataProvider.getValue(
                        "nombres"));
                   log("Cannot initial search value " + pacientesDataProvider.getValue(
                        "nombres"), e);
        }You may want to use other values, it depends on what kind of data are you working on.
    I hope this info helps somebody else, as help me to finish my project.

  • Error in IKM SQL to JMS XML Append SQLException: Parameter not set

    Hi I am getting following error please can any one help its oracle to JMS XML integration
    ODI-1228: Task jms_vendor_xml (Integration) fails on the target JMS_QUEUE_XML connection jms_xml_vendor.
    Caused By: java.sql.SQLException: java.sql.SQLException: Parameter not set
        at com.sunopsis.jdbc.driver.JMSXMLPreparedStatement.addBatch(JMSXMLPreparedStatement.java:62)
        at oracle.odi.runtime.agent.execution.sql.BatchSQLCommand.execute(BatchSQLCommand.java:42)
        at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:102)
        at oracle.odi.runtime.agent.execution.sql.SQLExecutor.execute(SQLExecutor.java:1)
        at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:87)
        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:558)
        at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
        at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
        at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
        at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
        at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
        at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
        at java.lang.Thread.run(Thread.java:662)
    Caused by: java.sql.SQLException: Parameter not set
        at com.sunopsis.jdbc.driver.xml.SnpsXmlPreparedStatementRedirector.addBatch(SnpsXmlPreparedStatementRedirector.java:155)
        at com.sunopsis.jdbc.driver.JMSXMLPreparedStatement.addBatch(JMSXMLPreparedStatement.java:58)
        ... 17 more
    Source Code
    select    
        FNL_VENDORT.COMPANY       SNPSFILENAME,
        FNL_VENDORT.VNAME       SNPSFILEPATH,
        FNL_VENDORT.ACCTNUM       VENDORSPK
    from    AMIT.FNL_VENDORT   FNL_VENDORT
    where   
        (1=1)   
        Target Code
    Insert into
    VENDORS
        SNPSFILENAME,
        SNPSFILEPATH,
        SNPSLOADDATE,
        VENDORSPK
    values
        :SNPSFILENAME,
        :SNPSFILEPATH,
        :SNPSLOADDATE,
        :VENDORSPK
    /*$$SNPS_START_KEYSNP$CRDWG_TABLESNP$CRTABLE_NAME=VENDORSSNP$CRLOAD_FILE=VENDORS.VENDORSSNP$CRFILE_FORMAT=SNP$CRFILE_SEP_FIELD=SNP$CRFILE_SEP_LINE=SNP$CRFILE_FIRST_ROW=SNP$CRFILE_ENC_FIELD=SNP$CRFILE_DEC_SEP=SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=SNPSFILENAMESNP$CRTYPE_NAME=VARCHARSNP$CRORDER=1SNP$CRLENGTH=0SNP$CRSCALE=0SNP$CRPRECISION=255SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=SNPSFILEPATHSNP$CRTYPE_NAME=VARCHARSNP$CRORDER=2SNP$CRLENGTH=0SNP$CRSCALE=0SNP$CRPRECISION=255SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=SNPSLOADDATESNP$CRTYPE_NAME=VARCHARSNP$CRORDER=3SNP$CRLENGTH=0SNP$CRSCALE=0SNP$CRPRECISION=255SNP$CRSNP$CRDWG_COLSNP$CRCOL_NAME=VENDORSPKSNP$CRTYPE_NAME=NUMERICSNP$CRORDER=4SNP$CRLENGTH=0SNP$CRSCALE=0SNP$CRPRECISION=10SNP$CR$$SNPS_END_KEY*/
    /*$$JMS_START_KEY
    JMSDELIVERYMODE=2,
    JMSTYPE=,
    JMSEXPIRATION=0,
    JMSPRIORITY=9,
    MESSAGETIMEOUT=3000,
    NEXTMESSAGETIMEOUT=,
    MESSAGEMAXNUMBER=,
    DURABLE=,
    CLIENTID=,
    MESSAGESELECTOR=
    $$JMS_END_KEY*/

    Hi,
    Try setting all values (without <default>:) to required fields in Target properties to IKM SQL to JMS XML append.
    Thanks

  • Error : The value is not set for parameter number"

    Hello All,
    I am getting an error message when I tried modifying a program by adding a new ID column to a database table.
    All DML is working except the Delete. So to look at the delete method, I am setting the parameter correctly as can be seen in the code belwo.
    Can someone please take a quick look and let me know where I need to tweak the code further.
    Thanks
    Fm
    The piece of code is given below.
    /* File Modified */
    /* EmailSetupDao.java
    * Generated by the MDK DAO Code Generator
    package com.harris.mercury.setups.standard.emailsetup;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.Vector;
    import org.apache.log4j.Logger;
    import com.harris.mercury.dao.CreateException;
    import com.harris.mercury.dao.DAO;
    import com.harris.mercury.dao.DataField;
    import com.harris.mercury.dao.Holder;
    import com.harris.mercury.dao.LocalResultProxy;
    import com.harris.mercury.dao.RemoveException;
    import com.harris.mercury.dao.ResultProxy;
    import com.harris.mercury.system.DatabaseHelper;
    import com.harris.mercury.system.database.dialect.Dialect;
    * The EmailSetupDao class
    public class EmailSetupDao implements DAO
    protected static Logger logger = Logger.getLogger(EmailSetupDao.class);
    /* This method is called by ResultProxies when they need
    * the data they have retrieved in a ResultSet mapped
    * to a holder.
    public Holder createHolder(ResultSet rs) throws SQLException
    EmailSetupHolder holder = new EmailSetupHolder(); // THE CODE GENERATOR NEEDS THIS VARIABLE
    try
    /* Assign the data into the new holder */
    // $$START_CREATEHOLDER_CONVERSIONS
    holder.setEmail_address( rs.getString("email_address") );
    holder.setLogin_id( rs.getString("login_id") );
    holder.setUser_name( rs.getString("user_name") );
    holder.setSmtp( rs.getString("smtp") );
    holder.setId(rs.getString("id") );
    // $$END_CREATEHOLDER_CONVERSIONS
    catch(SQLException sqle)
    logger.error(sqle, sqle);
    throw sqle;
    return holder;
    /* The findAll method returns a ResultProxy containing all the
    * records in the pucemailr table, unless an extended where clause
    * has been defined.
    public ResultProxy findAll(Connection con) throws SQLException
    LocalResultProxy result = null; // THE CODE GENERATOR NEEDS THIS VARIABLE
    // $$START_ALLFIND
    result = new LocalResultProxy(this,con, "select email_address, login_id, user_name, smtp, id from pucemailr"+makeOrderBy());
    // $$END_ALLFIND
    return result;
    /* Inserts a record into the pucemailr table using a EmailSetupHolder.
    * An exception is thrown if it is not sucessful.
    public void insert(Connection con, EmailSetupHolder holder) throws CreateException
    CreateException ce = null;
    PreparedStatement ps = null; // THE CODE GENERATOR NEEDS THIS VARIABLE
    try
    // Insert into the data base
    // $$START_INSERT_PS
         ps = con.prepareStatement("insert into pucemailr (email_address, login_id, user_name, smtp) values(?, ?, ?, ?) ");
    // $$END_INSERT_PS
    /* Assign the variables in the holder to their corresponding
    * indexes in the prepared statement
    ps = assignPreparedStatementValues(ps, holder, true) ;
    // Try the insert
    ps.executeUpdate();
    catch (SQLException se)
    ce = new CreateException(se.getMessage());
    catch (Exception ex)
    ce = new CreateException(ex.getMessage());
    } finally {
    DatabaseHelper.close(ps);
    // Throw exception if error occurred
    if (ce != null) {
    throw ce;
    /* This method will update a pucemailr record using the
    * supplied EmailSetupHolder. If an error occurs, an exception
    * is thrown.
    public void update(Connection con, EmailSetupHolder holder) throws Exception
    RuntimeException re = null;
    PreparedStatement ps = null; // THE CODE GENERATOR NEEDS THIS VARIABLE
    try
    // $$START_UPDATE_PS
         ps = con.prepareStatement("update pucemailr set email_address=?, login_id=?, user_name=?,smtp=? where id=?");
    // $$END_UPDATE_PS
    /* Assign the variables in the holder to their corresponding
    * indexes in the prepared statement
    ps = assignPreparedStatementValues(ps, holder, false) ;
    // Try the insert
    int ret = ps.executeUpdate();
    if (ret != 1)
    re = new RuntimeException("Update failed on table pucemailr in EmailSetupDao");
    catch (SQLException se)
    re = new CreateException(se.getMessage());
    catch (Exception ex)
    re = new RuntimeException(ex.getMessage());
    } finally {
    DatabaseHelper.close(ps);
    // Throw exception if error occurred
    if (re != null) {
    throw re;
    /* Using the EmailSetupHolder, this method locates records in the pucemailr table.
    * Null values found in the holder are not used in the search.
    * An exception is thrown if an error occurs.
    public ResultProxy find(Connection con, EmailSetupHolder holder) throws SQLException
    // THE CODE GENERATOR NEEDS THESE VARIABLES
    ResultProxy result = null;
    int needAnd = 0;
    StringBuffer selectStatement = new StringBuffer();
    // $$START_FIND
    selectStatement.append("select email_address, login_id, user_name, smtp, id from pucemailr ");
    if(holder.getId() != null)
    if ( needAnd > 0)
    selectStatement.append(" and ");
    else
    selectStatement.append(" where ");
    needAnd++;
    selectStatement.append("id like ");
    selectStatement.append("'"+ Dialect.getSafeDialect(con).escape(holder.getId())+"%'");
    if(holder.getEmail_address() != null)
    if ( needAnd > 0)
    selectStatement.append(" and ");
    else
    selectStatement.append(" where ");
    needAnd++;
    selectStatement.append("email_address like ");
    selectStatement.append("'"+ Dialect.getSafeDialect(con).escape(holder.getEmail_address())+"%'");
    if(holder.getLogin_id() != null)
    if ( needAnd > 0)
    selectStatement.append(" and ");
    else
    selectStatement.append(" where ");
    needAnd++;
    selectStatement.append("login_id like ");
    selectStatement.append("'"+ Dialect.getSafeDialect(con).escape(holder.getLogin_id())+"%'");
    if(holder.getUser_name() != null)
    if ( needAnd > 0)
    selectStatement.append(" and ");
    else
    selectStatement.append(" where ");
    needAnd++;
    selectStatement.append("user_name like ");
    selectStatement.append("'"+ Dialect.getSafeDialect(con).escape(holder.getUser_name())+"%'");
    if(holder.getSmtp() != null)
    if ( needAnd > 0)
    selectStatement.append(" and ");
    else
    selectStatement.append(" where ");
    needAnd++;
    selectStatement.append("smtp like ");
    selectStatement.append("'"+ Dialect.getSafeDialect(con).escape(holder.getSmtp())+"%'");
    // $$END_FIND
    result = new LocalResultProxy(this, con, selectStatement.toString()+makeOrderBy());
    return result;
    /* Creates an Order by clause */
    public String makeOrderBy()
    String result = "";
    // $$START_ORDERBY
    result = " order by smtp";
    // $$END_ORDERBY
    return result ;
    /* This method deltes a single record that matches all the
    * variables found in the EmailSetupHolder.
    * An exception is thrown if an error occurs.
    public void delete(Connection con, EmailSetupHolder holder) throws RemoveException
    RemoveException re = null;
    PreparedStatement ps = null; // THE CODE GENERATOR NEEDS THIS VARIABLE
    boolean hasVars = false;
    StringBuffer deleteSQL = new StringBuffer();
    deleteSQL.append( "delete from pucemailr where " );
    // $$START_DELETE_SQL
    if (hasVars)
    deleteSQL.append(" and ");
    if (holder.getEmail_address() != null) {
    deleteSQL.append("email_address=?") ;
    } else {
    deleteSQL.append("email_address is null");
    hasVars = true;
    if (hasVars)
    deleteSQL.append(" and ");
    if (holder.getLogin_id() != null) {
    deleteSQL.append("login_id=?") ;
    } else {
    deleteSQL.append("login_id is null");
    hasVars = true;
    if (hasVars)
    deleteSQL.append(" and ");
    if (holder.getUser_name() != null) {
    deleteSQL.append("user_name=?") ;
    } else {
    deleteSQL.append("user_name is null");
    hasVars = true;
    if (hasVars)
    deleteSQL.append(" and ");
    if (holder.getSmtp() != null) {
    deleteSQL.append("smtp=?") ;
    } else {
    deleteSQL.append("smtp is null");
    hasVars = true;
    if (hasVars)
    deleteSQL.append(" and ");
    if (holder.getSmtp() != null) {
    deleteSQL.append("id=?") ;
    } else {
    deleteSQL.append("id is null");
    hasVars = true;
    // $$END_DELETE_SQL
    try
         ps = con.prepareStatement(deleteSQL.toString());
    /* Assign the variables in the holder to their corresponding
    * indexes in the prepared statement
    int index = 1 ;
    // $$START_DELETE_VARS
    /* if( holder.getEmail_address() != null) {
    ps.setString(index, holder.getEmail_address() );
    index ++;
    if( holder.getLogin_id() != null) {
    ps.setString(index, holder.getLogin_id() );
    index ++;
    if( holder.getUser_name() != null) {
    ps.setString(index, holder.getUser_name() );
    index ++;
    if( holder.getSmtp() != null) {
    ps.setString(index, holder.getSmtp() );
    index ++;
    if( holder.getId() != null) {
    ps.setString(index, holder.getId() );
    index ++;
    // $$END_DELETE_VARS
    // Try the insert
    int ret = ps.executeUpdate();
    if (ret != 1)
    re = new RemoveException("Delete failed on table pucemailr in EmailSetupDao");
    catch (SQLException se)
    re = new RemoveException(se.getMessage());
    catch (Exception ex) {
    re = new RemoveException(ex.getMessage());
    } finally {
    DatabaseHelper.close(ps);
    // Throw exception if error occurred
    if (re != null)
    throw re;
    /* This method finds records in pucemailr table that match the
    * supplied where clause.
    * An exception is thrown if an error occurs.
    public ResultProxy advancedFind(Connection con, String whereclause) throws SQLException
    // THE CODE GENERATOR NEEDS THIS VARIABLE AND THE PARAMETER VARIABLE 'whereclause'
    StringBuffer selectStatement = new StringBuffer();
    // $$START_ADVANCEDFIND
    selectStatement.append("select email_address, login_id, user_name, smtp, id from pucemailr ");
    // $$END_ADVANCEDFIND
    selectStatement.append(" where ");
    selectStatement.append(whereclause);
    return new LocalResultProxy(this,con, selectStatement.toString()+makeOrderBy());
    /* This methods returns a Vector of DataField objects that
    * map the columns in the pucemailr table for the
    * advanced find Where Clause Generator in the client. The extended
    * where clause will be applied if one exists for this DAO.
    public Vector<DataField> getQueryFields() {
    Vector<DataField> v = new Vector<DataField>() ; // THE CODE GENERATOR NEEDS THIS VARIABLE
    // $$START_QUERYFIELDS
    v.addElement( new DataField( "email_address", "Email address", DataField.STRING ) ) ;
    v.addElement( new DataField( "login_id", "Login id", DataField.STRING ) ) ;
    v.addElement( new DataField( "user_name", "User name", DataField.STRING ) ) ;
    v.addElement( new DataField( "smtp", "Smtp", DataField.STRING ) ) ;
    v.addElement( new DataField( "id", "Id", DataField.STRING ) ) ;
    // $$END_QUERYFIELDS
    return v;
         * Jira Issue NS 30679 - Faiz Qureshi March 7, 2013
         * @param ps
         * @param holder
         * @param isInsert - Added Boolean parameter so the id parameter does not get passed for Insert DML statements
         * @return
         * @throws Exception
    public PreparedStatement assignPreparedStatementValues(PreparedStatement ps, EmailSetupHolder holder, boolean isInsert)
    throws Exception
    // $$START_PS_SETS
    if( holder.getEmail_address() != null)
    ps.setString(1, holder.getEmail_address() );
    else
    ps.setNull(1, java.sql.Types.VARCHAR);
    if( holder.getLogin_id() != null)
    ps.setString(2, holder.getLogin_id() );
    else
    ps.setNull(2, java.sql.Types.VARCHAR);
    if( holder.getUser_name() != null)
    ps.setString(3, holder.getUser_name() );
    else
    ps.setNull(3, java.sql.Types.VARCHAR);
    if( holder.getSmtp() != null)
    ps.setString(4, holder.getSmtp() );
    else
    ps.setNull(4, java.sql.Types.VARCHAR);
    if (!isInsert){
         if( holder.getId() != null)
         ps.setString(5, holder.getId() );
         else
         ps.setNull(5, java.sql.Types.VARCHAR);
    // $$END_PS_SETS
    return ps;
    /* Do not delete this tag, it is reserved for adding new methods to the DAO */
    // $$ START_MDK_RESERVED
    // $$START_EDITABLE_SUB_TABLE_NAME
    * Returns the table names used in this DAO
    * @return the table names used in this DAO
    public String[] getTableNames() {
    // $$START_UNEDITABLE_SUB_TABLE_NAME
    String[] tableNames = new String[] {"pucemailr"};
    // $$END_UNEDITABLE_SUB_TABLE_NAME
    return tableNames;
    // $$END_EDITABLE_SUB_TABLE_NAME
    // $$START_EDITABLE_SUB_FIND
    * Using the EmailSetupHolder, this method locates records in the pucemailr table.
    * Null values found in the holder are not used in the search.
    * An exception is thrown if an error occurs.
    * @param con The database connection
    * @param holder holder containing the values to generate a query upon
    * @param orderBy The order by clause. Note, you must specify the "ORDER BY". If you forget to add a
    * space in front of the order by, it will be automatically handled. Specify null to use the default
    * or empty string for no ordering.
    * @return The result of the search
    * @throws SQLException if an error occurs in the search.
    public ResultProxy find(Connection con, EmailSetupHolder holder, String orderBy) throws SQLException
    // THE CODE GENERATOR NEEDS THESE VARIABLES
    ResultProxy result = null;
    int needAnd = 0;
    StringBuffer selectStatement = new StringBuffer();
    // $$START_FIND
    selectStatement.append("select email_address, login_id, user_name, smtp, id from pucemailr ");
    if(holder.getEmail_address() != null)
    if ( needAnd > 0)
    selectStatement.append(" and ");
    else
    selectStatement.append(" where ");
    needAnd++;
    selectStatement.append("email_address like ");
    selectStatement.append("'"+ Dialect.getSafeDialect(con).escape(holder.getEmail_address())+"%'");
    if(holder.getLogin_id() != null)
    if ( needAnd > 0)
    selectStatement.append(" and ");
    else
    selectStatement.append(" where ");
    needAnd++;
    selectStatement.append("login_id like ");
    selectStatement.append("'"+ Dialect.getSafeDialect(con).escape(holder.getLogin_id())+"%'");
    if(holder.getUser_name() != null)
    if ( needAnd > 0)
    selectStatement.append(" and ");
    else
    selectStatement.append(" where ");
    needAnd++;
    selectStatement.append("user_name like ");
    selectStatement.append("'"+ Dialect.getSafeDialect(con).escape(holder.getUser_name())+"%'");
    if(holder.getSmtp() != null)
    if ( needAnd > 0)
    selectStatement.append(" and ");
    else
    selectStatement.append(" where ");
    needAnd++;
    selectStatement.append("smtp like ");
    selectStatement.append("'"+ Dialect.getSafeDialect(con).escape(holder.getSmtp())+"%'");
    if(holder.getId() != null)
    if ( needAnd > 0)
    selectStatement.append(" and ");
    else
    selectStatement.append(" where ");
    needAnd++;
    selectStatement.append("Id like ");
    selectStatement.append("'"+ Dialect.getSafeDialect(con).escape(holder.getId())+"%'"); }
    // $$END_FIND
    result = new LocalResultProxy(this, con, selectStatement.toString() + (orderBy == null ? makeOrderBy() : com.harris.mercury.system.utils.StringUtils.padLeft(orderBy)));
    return result;
    // $$END_EDITABLE_SUB_FIND
    // $$START_EDITABLE_SUB_FINDALL
    * The findAll method returns a ResultProxy containing all the records in the pucemailr table,
    * unless an extended where clause has been defined.
    * @param con The database connection
    * @param orderBy The order by clause. Note, you must specify the "ORDER BY". If you forget to add a
    * space in front of the order by, it will be automatically handled. Specify null to use the default
    * or empty string for no ordering.
    * @return The result of the search
    * @throws SQLException if an error occurs in the search.
    public ResultProxy findAll(Connection con, String orderBy) throws SQLException
    LocalResultProxy result = null; // THE CODE GENERATOR NEEDS THIS VARIABLE
    // $$START_UNEDITABLE_SUB_FINDALL
    result = new LocalResultProxy(this,con, "select email_address, login_id, user_name, smtp, id from pucemailr" + (orderBy == null ? makeOrderBy() : com.harris.mercury.system.utils.StringUtils.padLeft(orderBy)));
    // $$END_UNEDITABLE_SUB_FINDALL
    return result;
    // $$END_EDITABLE_SUB_FINDALL
    // $$START_EDITABLE_SUB_ADVANCEDFIND
    * This method finds records in pucemailr table that match the supplied where clause.
    * @param con The database connection
    * @param whereclause The where clause for the select statement - do not include the "where" - it
    * will be automatically prepended
    * @param orderBy The order by clause. Note, you must specify the "ORDER BY". If you forget to add a
    * space in front of the order by, it will be automatically handled. Specify null to use the default
    * or empty string for no ordering.
    * @return The result of the search
    * @throws SQLException if an error occurs in the search.
    public ResultProxy advancedFind(Connection con, String whereclause, String orderBy) throws SQLException
    // THE CODE GENERATOR NEEDS THIS VARIABLE AND THE PARAMETER VARIABLE 'whereclause'
    StringBuffer selectStatement = new StringBuffer();
    // $$START_ADVANCEDFIND
    selectStatement.append("select email_address, login_id, user_name, smtp, id from pucemailr ");
    // $$END_ADVANCEDFIND
    selectStatement.append(" where ");
    selectStatement.append(whereclause);
    selectStatement.append((orderBy == null ? makeOrderBy() : com.harris.mercury.system.utils.StringUtils.padLeft(orderBy)));
    return new LocalResultProxy(this,con, selectStatement.toString());
    // $$END_EDITABLE_SUB_ADVANCEDFIND
    // $$ END_MDK_RESERVED
    }

    First thing to do is to edit the post and use some tags to format the code as it is unreadable and too much!
    Read the FAQ (https://forums.oracle.com/forums/help.jspa) to find out how to do this.
    Next we need to know the jdev version you are using!
    As the code is generated I would first try to generate it again after the db change.
    Timo

  • LD_LIBRARY_PATH: parameter not set

    Hi All,
    BOX -- HPUX Itanium 11.11
    I am in process of installing 10gr2 on hpux box. in order to install oracle binaly , I am using response file, I have made the necessery changes in the response file and trying to run runInstaller, it throws the following. Looking forward to your response.
    $ . /db/kronqa/oracle/database/runInstaller -ignoreSysPrereqs -force -silent -responseFile \
    /db/kronqa/oracle/database/enterprise.rsp.10gr2ksh: LD_LIBRARY_PATH: parameter not set

    I have extracted the setup file as orakronqa owner. but , still not out of the woods. also, i tried to find out the respective logs from the base directory , but not able to locate the installer log file. it seems that installer not even started. i also did cat /var/opt/oracle/oraInst.loc , but not found any such files , which , i can consult to give further checks.
    ./dhrp/oracle/oraInventory/logs/silentInstall2007-08-09_10-15-16AM.log
    ./dhrp/oracle/product/10.2.0/oraInventory/logs/silentInstall2008-12-20_03-02-05PM.log
    ./dhrp/oracle/product/10.2.0/oraInventory/logs/silentInstall2008-12-20_03-05-48PM.log
    ./dhrp/oracle/product/10.2.0/oraInventory/logs/silentInstall2010-10-25_11-27-16AM.log
    ./dhrp/oracle/product/10.2.0/cfgtoollogs/oui/silentInstall2008-12-20_03-05-48PM.log
    ./dhrp/oracle/product/10.2.0/cfgtoollogs/oui/silentInstall2010-10-25_11-27-16AM.log
    ./dhrp/oracle/product/10.2.0/patchset/Disk1/install/oraparamsilent.ini
    ./dhrp/archive/DHRP_OH_110409/BKPFILES/oraInventory/logs/silentInstall2008-04-02_11-08-39AM.log
    ./dhrp/archive/DHRP_OH_102210/Bkp_102210/oraInventory/logs/silentInstall2008-12-20_03-02-05PM.log
    ./dhrp/archive/DHRP_OH_102210/Bkp_102210/oraInventory/logs/silentInstall2008-12-20_03-05-48PM.log
    ./dhrp/archive/DHRP_OH_102210/Bkp_102210/oraInventory/logs/silentInstall2009-11-04_03-16-04PM.log
    ./amdimd/oracle/product/10.2.0/patchset/Disk1/install/oraparamsilent.ini
    ./amdimq/oracle/product/10.2.0/patchset/Disk1/install/oraparamsilent.ini
    ./hrpsb/oracle/product/10.2.0/cfgtoollogs/oui/silentInstall2007-09-06_03-55-49PM.log
    ./hrpsb/oracle/product/10.2.0/cfgtoollogs/oui/silentInstall2008-08-08_12-34-20PM.log
    ./hrpsb/oracle/product/10.2.0/oraInventory/logs/silentInstall2008-08-08_12-34-20PM.log
    ./hrpsb/oracle/product/10.2.0/patchset/Disk1/install/oraparamsilent.ini
    ./hrpsb/oracle/product/10.2.0/oraInventory.zhrp/logs/silentInstall2007-09-06_03-55-49PM.log
    ./yhrp/oracle/home/orayhrp/Dba/Madhukar/YHRP_BKP_060910/oraInventory/logs/silentInstall2008-01-04_04-06-00PM.log
    ./yhrp/oracle/product/10.2.0/cfgtoollogs/oui/silentInstall2008-12-20_03-05-48PM.log
    ./yhrp/oracle/product/10.2.0/cfgtoollogs/oui/silentInstall2009-11-04_03-16-04PM.log
    ./yhrp/oracle/product/10.2.0/cfgtoollogs/oui/silentInstall2010-06-09_10-43-45AM.log
    ./yhrp/oracle/product/10.2.0/oraInventory/logs/silentInstall2008-12-20_03-02-05PM.log
    ./yhrp/oracle/product/10.2.0/oraInventory/logs/silentInstall2008-12-20_03-05-48PM.log
    ./yhrp/oracle/product/10.2.0/oraInventory/logs/silentInstall2009-11-04_03-16-04PM.log
    ./yhrp/oracle/product/10.2.0/oraInventory/logs/silentInstall2010-06-09_10-43-45AM.log
    ./yhrp/oracle/product/10.2.0/oraInventory_bak/logs/silentInstall2008-12-20_03-02-05PM.log
    ./yhrp/oracle/product/10.2.0/oraInventory_bak/logs/silentInstall2008-12-20_03-05-48PM.log
    ./yhrp/oracle/product/10.2.0/patchset/Disk1/install/oraparamsilent.ini
    ./yhrp/archive/NHRP_BKP_09Jan11/nhrp_db_09jan11/home/oranhrp/dba/Madhukar/nhrp_db_09Jan11/oraInventory/logs/silentInstall2009-08-24_03-16-47PM.log
    ./yhrp/archive/NHRP_BKP_09Jan11/nhrp_db_09jan11/home/oranhrp/nhrp_bkp_befpatch/oraInventory/logs/silentInstall2009-08-24_03-16-47PM.log
    ./zhrp/oracle/home/oraphrp/dba/phrp_before_patch/oraInventory/logs/silentInstall2008-12-20_03-02-05PM.log
    ./zhrp/oracle/home/oraphrp/dba/phrp_before_patch/oraInventory/logs/silentInstall2008-12-20_03-05-48PM.log
    ./zhrp/oracle/home/orazhrp/bkup_dec232009/oraInventory/logs/silentInstall2008-12-11_10-59-20AM.log
    ./zhrp/oracle/home/orazhrp/bkup_dec232009/oraInventory/logs/silentInstall2008-12-11_11-33-51AM.log
    ./zhrp/oracle/product/10.2.0/oraInventory/logs/silentInstall2008-12-20_03-02-05PM.log
    ./zhrp/oracle/product/10.2.0/oraInventory/logs/silentInstall2008-12-20_03-05-48PM.log
    ./zhrp/oracle/product/10.2.0/oraInventory/logs/silentInstall2010-12-14_01-10-35PM.log
    ./zhrp/oracle/product/10.2.0/cfgtoollogs/oui/silentInstall2008-12-20_03-05-48PM.log
    ./zhrp/oracle/product/10.2.0/cfgtoollogs/oui/silentInstall2010-12-14_01-10-35PM.log
    ./zhrp/oracle/product/10.2.0/patchset/Disk1/install/oraparamsilent.iniEdited by: user11983993 on Mar 25, 2012 8:36 AM
    Edited by: user11983993 on Mar 25, 2012 8:39 AM

  • Profile parameter icm/host_name_full is not set correctly

    Hi All,
    I am  working on Solution Manager 4.0. When I execute TCODE "SOLUTION_MANAGER", it gives the following error:
    Profile parameter icm/host_name_full is not set correctly (see long text)
    When I click on "Long Text", it gives me the following message widow:
    Message Number: SOL_GRAPHIC002
    Diagnosis
    The graphic cannot be displayed, since the profile parameter icm/host_name_full is not set correctly.
    Procedure
    Set the profile parameter icm/host_name_full correctly.
    For more information, see SAP Notes 434918 and 677118.
    I have referred to both the notes above. In note# 434918, it says that I need latest kernel patch (which is 150).Also the icm/host_name_full parameter parameter was not there in Solution Manager, so I created in the following manner:
    Parameter Name =icm/host_name_full
    Parameter Value=smgdcs1s.example.com
    But however, the error continues to be the same.
    Kindly help me asap.
    Thanks in advance.
    Regards,
    Faisal

    Hi Markus,
    Earlier the profile was activated and server was also restarted. However, it was not efffective.
    Now once again i have activated the profile and restared the server. Now I am able to see the profile and it value in
    RZ10
    RZ11
    Thanks a alot for your valuable inputs
    Thanks and Regards,
    Faisal

  • Middleware BDOC Error- Parameter I_IBASE is not set

    Hi All,
    In our system, when a CRM Sales Order transaction is replicated from CRM to ECC6 and completely processed in ECC 6.0
    through Invoice, the CRM Middleware receives a BDoc that is in error with message Parameter I_IBASE is not set and the
    result is the Document flow is not replicated to CRM transaction. I could not find any relevant OSS note or solution for this
    problem. Could you let me know what is the solution for this problem. Please explain the steps to fix this error.
    Thanks in advance.
    --R D

    Hi,
    We have experienced the same error; however we have not found any solution.
    Has anyone experienced with this error found a solution?
    Brent

  • Getting error 0403-041 Parameter not set.

    Hi All,
    I am getting below error message when i am executing this command
    exp file=expOPS$PENUTIL.dmp buffer=10240000 owner="OPS$PENUTIL" consistent=y log=expOPS$PENUTIL.log statistics=none
    error message:ksh: PENUTIL: 0403-041 Parameter not set.
    Platform:AIX
    Kindly help me out.
    Thanks
    Edited by: rajaryan on Dec 22, 2009 4:31 AM

    exp file=expOPS$PENUTIL.dmp buffer=10240000 owner="OPS$PENUTIL" consistent=y log=expOPS$PENUTIL.log statistics=none
    error message:ksh: PENUTIL: 0403-041 Parameter not set.I assume OPS$PENUTIL is a user identified externally.
    $PENUTIL is interpreted by the shell as a variable, which is not set. Try something likeexp file='expOPS\$PENUTIL.dmp' buffer=10240000 owner="OPS\$PENUTIL" consistent=y log='expOPS\$PENUTIL.log' statistics=none

  • Fld defaulting to specific sales org for user even though Parameter not set

    Hello,
               I have a problem, for a specific user, where the sales org field is defaulting to a specific value even though his parmeter ID is not set for VKO. For information, the sales org value no longer exists (invalid). More over, the problem exists only for a particular transaction, MM41, MM42 and MM43. When he tried VA01 the prolem of the sales org value defaulting does not happen.
    I have tried MM41, 42 and 43 with my user ID and it works properly. We use CUA but parameters are locally maintained in each child systems as this is logical. i reset the buffers (/$sync) just to be sure (as this is not a live system) but this does not help.
    Any ideas?
    Regards,
    Prashant

    Hi Prashanth,
    at our end we do not have a  retail-specific maintenance function, but i guess the problem arises when the user has entered the sales organization and saved it as " default areas of validity", try using a blank entry and then click on the tab for default areas of validity - it "could" solve the problem

  • BKI0008E: The environment variable BI_CALLER is not set correctely. The cur

    Hi All,
    I have configured backint for backup of maxdb for content server 640. I configured it as per the documents available, created the configuration fiale and the parameter file. Created the backup medium in dbmgui.
    Now when i try to run the backup using the pipe am getting the above mentioned error.
    Please find below the dbm.ebp log for the same...
    more dbm.ebp
    2009-10-22 02:06:08
    Setting environment variable 'TEMP' for the directory for temporary files and pi
    pes to default ''.
    Setting environment variable 'TMP' for the directory for temporary files and pip
    es to default ''.
    Using connection to Backint for MaxDB Interface.
    2009-10-22 02:06:08
    Checking existence and configuration of Backint for MaxDB.
        Using configuration variable 'BSI_ENV' = '/sapdb/CFC/lcbackup/apoatlas.env'
    as path of the configuration file of Backint for MaxDB.
        Setting environment variable 'BSI_ENV' for the path of the configuration fil
    e of Backint for MaxDB to configuration value '/sapdb/CFC/lcbackup/apoatlas.env'
        Reading the Backint for MaxDB configuration file '/sapdb/CFC/lcbackup/apoatl
    as.env'.
            Found keyword 'BACKINT' with value '/sapdb/CFC/db/bin/backint'.
            Found keyword 'INPUT' with value '/tmp/backint4sapdbCFC.in'.
            Found keyword 'OUTPUT' with value '/tmp/backint4sapdbCFC.out'.
            Found keyword 'ERROROUTPUT' with value '/tmp/backint4sapdbCFC.err'.
            Found keyword 'PARAMETERFILE' with value '/sapdb/CFC/lcbackup/param.cfg'
            Found keyword 'TIMEOUT_SUCCESS' with value '1800'.
            Found keyword 'TIMEOUT_FAILURE' with value '1800'.
        Finished reading of the Backint for MaxDB configuration file.
        Using '/sapdb/CFC/db/bin/backint' as Backint for MaxDB program.
        Using '/tmp/backint4sapdbCFC.in' as input file for Backint for MaxDB.
        Using '/tmp/backint4sapdbCFC.out' as output file for Backint for MaxDB.
        Using '/tmp/backint4sapdbCFC.err' as error output file for Backint for MaxDB
        Using '/sapdb/CFC/lcbackup/param.cfg' as parameter file for Backint for MaxD
    B.
        Using '1800' seconds as timeout for Backint for MaxDB in the case of success
        Using '1800' seconds as timeout for Backint for MaxDB in the case of failure
        Using '/sapdb/data/wrk/CFC/dbm.knl' as backup history of a database to migra
    te.
        Using '/sapdb/data/wrk/CFC/dbm.ebf' as external backup history of a database
    to migrate.
        Checking availability of backups using backint's inquire function.
    Check passed successful.
    2009-10-22 02:06:08
    Checking medium.
    Check passed successfully.
    2009-10-22 02:06:08
    Preparing backup.
        Setting environment variable 'BI_CALLER' to value 'DBMSRV'.
        Setting environment variable 'BI_REQUEST' to value 'NEW'.
        Setting environment variable 'BI_BACKUP' to value 'FULL'.
        Constructed Backint for MaxDB call '/sapdb/CFC/db/bin/backint -u CFC -f back
    up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c'.
        Created temporary file '/tmp/backint4sapdbCFC.out' as output for Backint for
    MaxDB.
        Created temporary file '/tmp/backint4sapdbCFC.err' as error output for Backi
    nt for MaxDB.
        Writing '/sapdb/CFC/lcbackup/pipe1 #PIPE' to the input file.
        Writing '/sapdb/CFC/lcbackup/pipe2 #PIPE' to the input file.
    Prepare passed successfully.
    2009-10-22 02:06:08
    Creating pipes for data transfer.
        Creating pipe '/sapdb/CFC/lcbackup/pipe1' ... Done.
        Creating pipe '/sapdb/CFC/lcbackup/pipe2' ... Done.
    All data transfer pipes have been created.
    2009-10-22 02:06:08
    Starting database action for the backup.
        Requesting 'SAVE DATA QUICK TO '/sapdb/CFC/lcbackup/pipe1' PIPE,'/sapdb/CFC/
    lcbackup/pipe2' PIPE BLOCKSIZE 8 NO CHECKPOINT MEDIANAME 'BACKINT_ONLINE1'' from
    db-kernel.
    The database is working on the request.
    2009-10-22 02:06:09
    Waiting until database has prepared the backup.
        Asking for state of database.
        2009-10-22 02:06:09 Database is still preparing the backup.
        Waiting 1 second ... Done.
        Asking for state of database.
        2009-10-22 02:06:10 Database is still preparing the backup.
        Waiting 2 seconds ... Done.
        Asking for state of database.
        2009-10-22 02:06:12 Database has finished preparation of the backup.
    The database has prepared the backup successfully.
    2009-10-22 02:06:12
    Starting Backint for MaxDB.
        Starting Backint for MaxDB process '/sapdb/CFC/db/bin/backint -u CFC -f back
    up -t file -p /sapdb/CFC/lcbackup/param.cfg -i /tmp/backint4sapdbCFC.in -c >>/tm
    p/backint4sapdbCFC.out 2>>/tmp/backint4sapdbCFC.err'.
        Process was started successfully.
    Backint for MaxDB has been started successfully.
    2009-10-22 02:06:12
    Waiting for end of the backup operation.
        2009-10-22 02:06:12 The backup tool is running.
        2009-10-22 02:06:12 The database is working on the request.
        2009-10-22 02:06:14 The backup tool process has finished work with return co
    de 2.
        2009-10-22 02:06:17 The database is working on the request.
        2009-10-22 02:06:27 The database is working on the request.
        2009-10-22 02:06:42 The database is working on the request.
        2009-10-22 02:07:02 The database is working on the request.
        2009-10-22 02:07:15 Canceling Utility-task after a timeout of 60 seconds ela
    psed ... OK.
        2009-10-22 02:07:17 The database has finished work on the request.
        Receiving a reply from the database kernel.
        Got the following reply from db-kernel:
            SQL-Code              :-903
    The backup operation has ended.
    2009-10-22 02:07:17
    Filling reply buffer.
        Have encountered error -24920:
            The backup tool failed with 2 as sum of exit codes. The database request
    was canceled and ended with error -903.
        Constructed the following reply:
            ERR
            -24920,ERR_BACKUPOP: backup operation was unsuccessful
            The backup tool failed with 2 as sum of exit codes. The database request
    was canceled and ended with error -903.
    Reply buffer filled.
    2009-10-22 02:07:17
    Cleaning up.
        Removing data transfer pipes.
            Removing data transfer pipe /sapdb/CFC/lcbackup/pipe2 ... Done.
            Removing data transfer pipe /sapdb/CFC/lcbackup/pipe1 ... Done.
        Removed data transfer pipes successfully.
        Copying output of Backint for MaxDB to this file.
    Begin of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)-
                                     Data Protection for mySAP(R)
                         Interface between BR*Tools and Tivoli Storage Manager
                         - Version 5, Release 4, Modification 0.0  for Linux x86_64
                               Build: 303  compiled on Nov 16 2006
                    (c) Copyright IBM Corporation, 1996, 2006, All Rights Reserved.
            BKI0008E: The environment variable BI_CALLER is not set correctely. The
    current value is "DBMSRV"
            usage:
             backint -p <par_file> [-u <user_id>] [-f <function>]
                    [-t <type>] [-i <in_file>] [-o <out_file>] [-c]
            where:
                   <user_id>    backint utility user
                   <function>   backup | restore | inquire | password | delete
                   <type>       file | file_online
                   <par_file>   parameter file for backup utility
                   <in_file>    name of a text file  that defines the objects
                                default: STDIN
                   <out_file>   Pool for processing messages and the results
                                of the executed function.
                                default: STOUT
            BKI0020I: End of program at: Thu 22 Oct 2009 02:06:14 AM EDT .
            BKI0021I: Elapsed time: 01 sec .
            BKI0024I: Return code is: 2.
    End of output of Backint for MaxDB (/tmp/backint4sapdbCFC.out)---
        Removed Backint for MaxDB's temporary output file '/tmp/backint4sapdbCFC.out
        Copying error output of Backint for MaxDB to this file.
    Begin of error output of Backint for MaxDB (/tmp/backint4sapdbCFC
    .err)----
    End of error output of Backint for MaxDB (/tmp/backint4sapdbCFC.e
    rr)----
        Removed Backint for MaxDB's temporary error output file '/tmp/backint4sapdbC
    FC.err'.
        Removed the Backint for MaxDB input file '/tmp/backint4sapdbCFC.in'.
    Have finished clean up successfully.

    Also, is there any specification about the user permissions and about how the backup should be run?

  • Report parameter is not populated with exact value in stacked column click throughs

    I have stacked column chart to show below opportunity data.
    Category axis: Month of created date
    Series: sales stage
    Aggregate: runningvalue of revenue on sales stage group. 
    data set has below fields.
    1. opportunity id
    2. created date
    3. revenue
    4. sales stage.
    5. Calculated field: month of created date
    I have a sub report which shows the detail information for that month when I click on Stacked column. In order to achieve this i have to pass a report parameter with month of created date(calculated field) on the click action of main report.
    This report parameter is not getting populated when i click on the respective stacked column because of which the sub report is failing.
    Any thoughts?
    1. Category: month of the created date of opportunity(this 
    1. Category: month of the created date of opportunity(this 

    Thanks Katherine for reply. 
    Creating a subreport was never an issue, the issue was when I click on the stacked column the parameter (A) as per your screenshot was not getting populated, some times it just passes a null value.
    In my report below is the sample data and in Chart
    1. Series Aggregate is on Runningvalue of Revenue set to stage scope.
    2. CAtegory group is on Month of Created date
    3. Series group is on Stage
    4. Have a report filter for Year.
    Sub report parameter: Month which is passed when  I click on the stacked column.
    Below is sample data how my data looks like.
    id
    stage
    createdon
    revenue
    1
    U
    1/1/2013
    1000
    2
    Ir
    1/2/2013
    2000
    3
    Ir
    2/2/2013
    1000
    4
    A
    2/3/2013
    5000
    5
    A
    3/3/2013
    1000
    6
    Ir
    3/3/2013
    5000
    7
    Ir
    4/3/2013
    7000
    Below is the image of actual report
    In the above screenshot When i click on Region A or Region C for Aug Column, the Month Parameter for subreport is always null. When I click on Region B , parameter is having the
    value as "Aug". 
    Let me know is there anything I am missing.

  • Error occurred in deployment step 'Activate Features': Object reference not set to an instance of an object.

    I am trying to create a custom timer job and while deploying it getting the error as:
    Error occurred in deployment step 'Activate Features': Object reference not set to an instance of an object.
    where am i going wrong?please suggest...
    Thanks
    Suu30

    I am not able to get the errors.So attaching the error log files here.Please help
    08/21/2012 17:35:03  1  INF  Entering function PsconfigUserInterfaceMain.Main
    08/21/2012 17:35:03  1  INF    Entering function Common.SetCurrentThreadCultureToInstalledCulture
    08/21/2012 17:35:03  1  INF      Entering function Common.SetThreadCultureToInstalledCulture
    08/21/2012 17:35:03  1  INF        Current thread culture is English (United States), current thread ui culture is English (United States), installed culture is English (United States)
    08/21/2012 17:35:03  1  INF      Leaving function Common.SetThreadCultureToInstalledCulture
    08/21/2012 17:35:03  1  INF      The current ui culture English (United States) is NOT right to left
    08/21/2012 17:35:03  1  INF    Leaving function Common.SetCurrentThreadCultureToInstalledCulture
    08/21/2012 17:35:03  1  INF    Creating the psconfig application context
    08/21/2012 17:35:03  1  INF    Entering function PsconfigApplicationContext.PsconfigApplicationContext
    08/21/2012 17:35:03  1  INF      Entering function UserInterface.UserInterface
    08/21/2012 17:35:03  1  INF      Leaving function UserInterface.UserInterface
    08/21/2012 17:35:03  1  INF      Entering function TaskDriver.TaskDriver
    08/21/2012 17:35:03  1  INF        Entering function TaskDriver.BuildCommandCollection
    08/21/2012 17:35:03  1  INF          Entering function CommandCollectionBase.CommandCollectionBase
    08/21/2012 17:35:03  1  INF          Leaving function CommandCollectionBase.CommandCollectionBase
    08/21/2012 17:35:03  1  INF          Entering function CommandCollection.CommandCollection
    08/21/2012 17:35:03  1  INF          Leaving function CommandCollection.CommandCollection
    08/21/2012 17:35:03  1  INF          Entering function CommandCollectionBase.CommandCollectionBase
    08/21/2012 17:35:03  1  INF          Leaving function CommandCollectionBase.CommandCollectionBase
    08/21/2012 17:35:03  1  INF            Creating the APPLICATION bool exposed parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF          Entering function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF            Creating the APPLICATION bool internal parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF          Entering function Parameter.Parameter
    08/21/2012 17:35:03  1  INF            Entering function Parameter.Initialze
    08/21/2012 17:35:03  1  INF            Leaving function Parameter.Initialze
    08/21/2012 17:35:03  1  INF            Creating the SINGLESERVER bool exposed parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF          Entering function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF            Creating the SINGLESERVER bool internal parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF          Entering function Parameter.Parameter
    08/21/2012 17:35:03  1  INF            Entering function Parameter.Initialze
    08/21/2012 17:35:03  1  INF            Leaving function Parameter.Initialze
    08/21/2012 17:35:03  1  INF          Leaving function Parameter.Parameter
    08/21/2012 17:35:03  1  INF          Entering function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF            Creating the V2V_INPLACE_UPGRADE bool exposed parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF          Entering function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF            Creating the V2V_INPLACE_UPGRADE bool internal parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF          Entering function Parameter.Parameter
    08/21/2012 17:35:03  1  INF            Entering function Parameter.Initialze
    08/21/2012 17:35:03  1  INF            Leaving function Parameter.Initialze
    08/21/2012 17:35:03  1  INF          Leaving function Parameter.Parameter
    08/21/2012 17:35:03  1  INF          Entering function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF            Creating the CLEAN_INSTALL bool exposed parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF          Entering function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF            Creating the CLEAN_INSTALL bool internal parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF          Entering function Parameter.Parameter
    08/21/2012 17:35:03  1  INF            Entering function Parameter.Initialze
    08/21/2012 17:35:03  1  INF            Leaving function Parameter.Initialze
    08/21/2012 17:35:03  1  INF          Leaving function Parameter.Parameter
    08/21/2012 17:35:03  1  INF          Entering function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF            Creating the B2B_UPGRADE bool exposed parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF          Entering function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF            Creating the B2B_UPGRADE bool internal parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF          Entering function Parameter.Parameter
    08/21/2012 17:35:03  1  INF            Entering function Parameter.Initialze
    08/21/2012 17:35:03  1  INF            Leaving function Parameter.Initialze
    08/21/2012 17:35:03  1  INF          Leaving function Parameter.Parameter
    08/21/2012 17:35:03  1  INF          Entering function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF            Creating the SKU2SKU_UPGRADE bool exposed parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF          Entering function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF            Creating the SKU2SKU_UPGRADE bool internal parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF          Entering function Parameter.Parameter
    08/21/2012 17:35:03  1  INF            Entering function Parameter.Initialze
    08/21/2012 17:35:03  1  INF            Leaving function Parameter.Initialze
    08/21/2012 17:35:03  1  INF          Leaving function Parameter.Parameter
    08/21/2012 17:35:03  1  INF          Entering function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF            Creating the runningupgrade bool exposed parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF          Entering function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF            Creating the runningupgrade bool internal parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF          Entering function Parameter.Parameter
    08/21/2012 17:35:03  1  INF            Entering function Parameter.Initialze
    08/21/2012 17:35:03  1  INF            Leaving function Parameter.Initialze
    08/21/2012 17:35:03  1  INF          Leaving function Parameter.Parameter
    08/21/2012 17:35:03  1  INF          Entering function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF            Creating the LanguagePackInstalled bool exposed parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolExposedParameter.BoolExposedParameter
    08/21/2012 17:35:03  1  INF          Entering function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF            Creating the LanguagePackInstalled bool internal parameter
    08/21/2012 17:35:03  1  INF          Leaving function BoolInternalParameter.BoolInternalParameter
    08/21/2012 17:35:03  1  INF          Entering function Parameter.Parameter

Maybe you are looking for

  • Windows 7 no longer requires hardware virtualization to run Win XP mode

     See this link  You still need to have Win 7 Pro of higher to run it.  The XP mode will use hardware virtualization if it's present.

  • S10-2 Tried to install windows XP and it failed!!!!

    Hi, I am absolutely desperate! Saturday I got a Lenevo idea pad S10-2 and it had Windows XP in danish, but I don't know the language and I tried to install it in english. I tried to install it using a USB flash drive, but obviously it failed miserabl

  • 5800 Xpress Music speaker function

    Hello, I was wondering if there is any solution on the issue that when the speaker function on 5800 Xpress Music is activated the microphone of the phone makes the interlocutor hear the conversation interrupted or with large differencies in volume. C

  • Physical Oracle connections consume memory continuously

    I am running Oracle Database 10.2.0.1 on a Solaris x86-64bit system. We have recently stumbled upon an issue where the physical Oracle DB connections' footprint continues to grow over time. If you do a 'ps' you'll see: oracle 13074 1 0 Nov 27 ? 0:00

  • How can I get conneced to DB2 Express with JDBC?

    Hi, I have DB2 Express 8.1 installed in my computer, can I get connected to it by using JDBC step by step? Or is there any tutorial to show how to do this? Thank you !