DEFINE statement in Scripts

Hi all,
I am using the command DEFINE in my script.
Syntax /: DEFINE &TEXT& = 'XXX'.
The variable TEXT has been assigned a default length of 80 characters.
Can anyone let me know how can I change this length to user defined value say 150.
Regards,
Senthil G.

you can not change the length..if you want to display 50 char lentgth then use like
/: PERFORM NAME IN PROGRAM NAME
/: USING &URTEXT&
/: CHANGING &GETTEXT&
/;ENDPERFORM.
Create a program in se38 then declare a variable in se38 length should be 50 char,
then pass that 50char lenth to changin parameters..
Reward Points if it is helpful
Thanks
Seshu

Similar Messages

  • Define Statements in SQL Developer

    Hi,
    I'm really new to SQL Developer and I'm having one or two issues.
    The most annoying is to do with Define statements.
    Say I have the following script to run -
    define p_start_date = TO_DATE('01-Jan-2010','DD-Mon-YYYY');
    SELECT &&p_start_date
    FROM dual;
    What I find is that putting the cursor before the first define and then hitting the 'Execute Statement' button does nothing. No output is given.
    I have to press the 'Run Script' button instead which does work, but the output is given in the 'Script Output' tab rather than the 'Results' tab, which is where I really want to see the results.
    I can then however, go back and press the 'Execute Statement' button, and it now works. But, if the define date is changed, it wont be picked up until I press 'Run Script' and go through the whole process again.
    Is there anyway I can just open a file with a define, press Execute and get results? Or is this just how SQL Developer works?
    I'm on version 1.5.1 and previously used SQL Navigator which ran this type of issue without any problems.
    Thanks for any help.

    The problem is in understanding what each does:
    'Execute Statement' (F9) executes only the current statement(s); where the cursor is located or the one(s) you have highlighted.
    'Run Script' (F5) executes all statement(s); from top to bottom or the one(s) you have highlighted.
    So what you describe is the expected behaviour.
    I do suggest you upgrade to the current 2.1.1 (or 3.0 EA3), for fixes and the ability to run more than one selected statement with F9, even to different grids.
    Have fun,
    K.

  • Errow with IF statement in Scripted Calculation view

    Hi Team,
    I am trying to use IF statement in Scripted Calculation view.
    My scenario is:-
    I need to create a restricted Key figure based on input date from user.
    While i am activating my view system gives "Internal deployment of object failed;Repository: Encountered an error in repository runtime extension;Internal Error:Deploy Calculation View: SQL: transaction rolled back by an internal error: Syntax Error for calculated Attribute: line 29 col 9 (at pos 1501)" error.
    Below is the code i have used in my CV.
    CE_CALC('IF((to_int("BUDAT") >= to_int(2013-01-01),"AMOUNT",'''')', DECIMAL(13,2)) AS "DTR"
    Here, "AMOUNT" is another calculated field created using CE_CALC.
    Without above IF statement my CV runs perfectly fine. The moment i include IF statement it does not activate.
    Kindly provide your inputs.
    Thanks & Regards,
    Anup

    Hi Lars,
    I am extremely sorry about the confusion.
    There was an extra parenthesis in the IF statement which was not allowing the CV to be activated. CV is now successfully activated.
    But my data is not getting restricted correctly.
    It is showing 0 against all the records.
    Below is the sql used for calling the CV.
    SELECT * FROM "_SYS_BIC"."A_123/CV_SCR_BSID_BSAD_ITEMS" ('PLACEHOLDER' = ('$$Currency$$', '''Local'''),'PLACEHOLDER' = ('$$Date_From$$','2014-01-01' ), 'PLACEHOLDER' = ('$$Date_To$$','2014-06-30' ));
    Below is my updated CE_CALC function :-
    CE_CALC('IF(date("BUDAT") >= date(:Date_From) and date("BUDAT") <= date(:Date_To),"AMOUNT",0)', DECIMAL(13,2)) AS "DTR"
    Is there any issue while passing values here?
    Regards,
    Anup

  • An error occcurred on line 105 while executing script 'MOM Backward Compatibility Service State Monitoring Script"

    We've been getting the following error for some time now.
    An error occurred on line 105 while executing script 'MOM Backward Compatibility Service State Monitoring Script'
    Source: Microsoft VBScript runtime error
    Description: The remote server machine does not exist or is unavailable: 'GetObject'
    One or more workflows were affected by this.
    Workflow name: System.Mom.BackwardCompatibility.ServiceStateMonitoring
    Instance name: server.domain.local
    Instance ID: {INSTANCE}
    Management group: GROUP
    Unfortunately the instance in question has since been decommissioned and simply does not exist any more. 
    We're currently on a repeat count of over 350,000 and I would REALLY like to get it stopped. I've had a look at adding an override but that points to the management server rather than the instance itself.
    Does anyone have any suggestions?
    thanks in advance!

    Hi Steven,
    There are for option for us to override a monitor ot rule:
    For all objects of class:             
    Class            
    When you select this option for your override, the override settings apply to all objects in the class at which the rule or monitor is targeted.
    For a group            
    When you select this option for your override, the override settings apply only to members of the group. The rule or monitor without the override settings continues to apply to all objects in the targeted class except for those objects that are also members
    of the group used for the override.
    When you create a group, you save it to an unsealed management pack. However, an element in an unsealed management pack, such as an override, cannot reference an element in a different unsealed management pack, such as a group. If you are going to use a group
    to limit the application of an override, you must either save the group to the same unsealed management pack as the override, or you must seal the management pack that contains the group.
    For a specific object of class:             
    Class            
    When you select this option for your override, the override settings apply only to the specified object. The rule or monitor without the override settings continues to apply to all other objects in the targeted class.
    For all objects of another class            
    When you select this option for your override, the override settings apply only to objects of a class other than the targeted class. The rule or monitor without the override settings continues to apply to all objects in the targeted class.
    Did you try to override it for a specific object of class?
    Regards,
    Yan Li
    Regards, Yan Li

  • CJS-00084  SQL Statement or Script failed. Error Message: Executable

    Hello
    Hello
    I am facing one problem at the time of installing 4.7 IDES can you please guide me on that. Do I need to reinstall system ageing or it can be sort it out in this stage.
    ERROR AT THE TIME OF INSTALLING SAP 4.7 IDES ARE
    1. CJS-00084  SQL Statement or Script failed. Error Message: Executable
        C:\oracle\ora92/bin/sqlplus.exe returns 3.
    2. FJS-00012  Error when executing script.
    Complete error log :--
    INFO 2000-06-15 20:56:57
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: C:\oracle\ora92\database\initGOD.ora.
    INFO 2000-06-15 20:56:57
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2000-06-15 20:56:57
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2000-06-15 20:56:58
    See 'C:\oracle\ora92/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2000-06-15 20:56:58
    'C:\oracle\ora92/bin/lsnrctl stat' returned with '3'.
    INFO 2000-06-15 20:56:58
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2000-06-15 20:56:58
    See 'C:\oracle\ora92/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2000-06-15 20:56:58
    'C:\oracle\ora92/bin/lsnrctl start' returned with '0'.
    INFO 2000-06-15 20:56:58
    Copying file D:/SAP_DUMP/CD1/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
    INFO 2000-06-15 20:56:58
    Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
    INFO 2000-06-15 20:56:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 20:56:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 20:57:00
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 20:57:00
    FJS-00012  Error when executing script.
    INFO 2000-06-15 20:56:57
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: C:\oracle\ora92\database\initGOD.ora.
    INFO 2000-06-15 20:56:57
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    INFO 2000-06-15 20:56:57
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2000-06-15 20:56:58
    See 'C:\oracle\ora92/bin/lsnrctl stat' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2000-06-15 20:56:58
    'C:\oracle\ora92/bin/lsnrctl stat' returned with '3'.
    INFO 2000-06-15 20:56:58
    Creating file C:\SAPinst ORACLE KERNEL\lsnrctl.log.
    INFO 2000-06-15 20:56:58
    See 'C:\oracle\ora92/bin/lsnrctl start' output in 'C:\SAPinst ORACLE KERNEL\lsnrctl.log'.
    INFO 2000-06-15 20:56:58
    'C:\oracle\ora92/bin/lsnrctl start' returned with '0'.
    INFO 2000-06-15 20:56:58
    Copying file D:/SAP_DUMP/CD1/KERNEL/NT/COMMON/INSTALL/ORADBUSR.SQL to: ./oradbusr.sql.
    INFO 2000-06-15 20:56:58
    Creating file C:\SAPinst ORACLE KERNEL\oradbusr.sql.
    INFO 2000-06-15 20:56:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 20:56:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 20:57:00
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 20:57:00
    FJS-00012  Error when executing script.
    INFO 2000-06-15 21:04:28
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 21:04:28
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 21:04:29
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 21:04:29
    FJS-00012  Error when executing script.
    INFO 2000-06-15 21:04:37
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 21:04:37
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 21:04:37
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 21:04:37
    FJS-00012  Error when executing script.
    INFO 2000-06-15 21:04:51
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 21:04:51
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 21:04:51
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 21:04:51
    FJS-00012  Error when executing script.
    WARNING 2000-06-15 21:07:00
    Error 2 (The system cannot find the file specified.
    ) in execution of a 'CreateProcess' function, line (276), with parameter (C:\oracle\ora92/bin/sqlplus.exe /NOLOG @ora_scr_tmp.sql).
    ERROR 2000-06-15 21:07:00
    MDB-06029  Caught exception while trying to start script executing application: [C:\oracle\ora92/bin/sqlplus.exe].
    ERROR 2000-06-15 21:07:00
    MDB-06030  A call to the system library failed. System error message: [No such file or directory].
    ERROR 2000-06-15 21:07:00
    MUT-02011  Internal error: A call to syslib failed. System error message: No such file or directory.
    ERROR 2000-06-15 21:07:00
    FJS-00012  Error when executing script.
    WARNING 2000-06-15 21:11:52
    Error 1326 (Logon failure: unknown user name or bad password.
    ) in execution of a 'LogonUser' function, line (537), with parameter (SAPTRANSHOST\godadm).
    ERROR 2000-06-15 21:11:52
    MDB-06029  Caught exception while trying to start script executing application: [C:\oracle\ora92/bin/sqlplus.exe].
    ERROR 2000-06-15 21:11:52
    MDB-06030  A call to the system library failed. System error message: [Unknown error].
    ERROR 2000-06-15 21:11:52
    MUT-02011  Internal error: A call to syslib failed. System error message: Unknown error.
    ERROR 2000-06-15 21:11:52
    FJS-00012  Error when executing script.
    INFO 2000-06-15 21:11:53
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 21:11:54
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 21:11:54
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 21:11:54
    FJS-00012  Error when executing script.
    INFO 2000-06-15 21:13:42
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-15 21:13:42
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-15 21:13:42
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-15 21:13:42
    FJS-00012  Error when executing script.
    INFO 2000-06-16 02:00:06
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-16 02:00:07
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-16 02:00:07
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-16 02:00:07
    FJS-00012  Error when executing script.
    INFO 2000-06-16 02:08:16
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-16 02:08:16
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-16 02:08:18
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-16 02:08:18
    FJS-00012  Error when executing script.
    INFO 2000-06-16 02:09:48
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-16 02:09:49
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-16 02:09:49
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-16 02:09:49
    FJS-00012  Error when executing script.
    INFO 2000-06-16 02:14:33
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2000-06-16 02:14:33
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2000-06-16 02:14:33
    CJS-00084  SQL Statement or Script failed. Error Message: Executable C:\oracle\ora92/bin/sqlplus.exe returns 3.
    ERROR 2000-06-16 02:14:33
    FJS-00012  Error when executing script.

    > WARNING 2000-06-15 21:07:00
    > Error 2 (The system cannot find the file specified.
    > ) in execution of a 'CreateProcess' function, line
    > (276), with parameter
    > (C:\oracle\ora92/bin/sqlplus.exe /NOLOG
    > @ora_scr_tmp.sql).
    > ERROR 2000-06-15 21:07:00
    > MDB-06029  Caught exception while trying to start
    > script executing application:
    > [C:\oracle\ora92/bin/sqlplus.exe].
    > ERROR 2000-06-15 21:07:00
    > MDB-06030  A call to the system library failed.
    > System error message: [No such file or directory].
    > ERROR 2000-06-15 21:07:00
    > MUT-02011  Internal error: A call to syslib failed.
    > System error message: No such file or directory.
    > ERROR 2000-06-15 21:07:00
    > FJS-00012  Error when executing script.
    > WARNING 2000-06-15 21:11:52
    > Error 1326 (Logon failure: unknown user name or bad
    > password.
    > ) in execution of a 'LogonUser' function, line (537),
    > with parameter (SAPTRANSHOST\godadm).
    > ERROR 2000-06-15 21:11:52
    > MDB-06029  Caught exception while trying to start
    > script executing application:
    > [C:\oracle\ora92/bin/sqlplus.exe].
    is that file there (sqlplus)?
    as which user are you installing?
    Markus

  • SQL 4.7 Installation Error CJS-00084  SQL Statement or Script failed

    Dear SAP Gurus,
    pl do let me know hoe to resolve this error.......
    """CJS-00084  SQL Statement or Script failed"""
    my ora_sql_results file is like that..
    ===========================================
    2008-10-25, 16:14:44 SAPINST ORACLE start logging for
    connect  / as sysdba ;
    @@"C:\SAPinstORACLEKERNEL/oradbusr.sql"
    exit;
    Output of SQL executing program:
    SQL*Plus: Release 9.2.0.2.0 - Production on Sat Oct 25 16:14:44 2008
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected.
    Connected.
    old   3:    if substr(upper('&&1'),1,5) = 'SAPR3' then
    new   3:    if substr(upper('SAPERP'),1,5) = 'SAPR3' then
    old   6:           if upper('&&2') = 'NT' then
    new   6:           if upper('NT') = 'NT' then
    old  13:                :sDomain := upper('&&3');
    new  13:                :sDomain := upper('ERP');
    old  17:           :sSchema := upper('&&1');
    new  17:           :sSchema := upper('SAPERP');
    old  18:           if upper('&&2') = 'NT' then
    new  18:           if upper('NT') = 'NT' then
    old  25:                :sDomain := upper('&&3');
    new  25:                :sDomain := upper('ERP');
    using following Parameters:
    .  Oracle SID:                      ERP
    .  Oracle Version:                 9.2.0.2.1
    .  Parametervalue os_authent_prefix:   OPS$
    .  Database User (Schema):            SAPERP
    .  SAP R/3 Administrator:            OPS$ERP\ERPADM
    .  SAP R/3 Serviceuser:             OPS$ERP\SAPSERVICEERP
    O/S Message: No such file or directory
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.2.1 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.2.0 - Production
    SAPINST: End of output of SQL executing program F:\oracle\ora92/bin/sqlplus.exe.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2008-10-25, 16:14:44 SAPINST ORACLE stop logging
    =======================================
    My SAPINST_ORA_ENVIRONMENT FIle is like that
    ==========================================
    2008-10-25, 16:10:43 SAPINST Current process environment:
    =::=::\
    =C:=C:\SAPinstORACLEKERNEL
    ALLUSERSPROFILE=C:\Documents and Settings\All Users
    APPDATA=C:\Documents and Settings\tanya\Application Data
    CLIENTNAME=Console
    CommonProgramFiles=C:\Program Files\Common Files
    COMPUTERNAME=ERP
    ComSpec=C:\WINDOWS\system32\cmd.exe
    DBMS_TYPE=ORA
    DBS_ORA_SCHEMA=SAPERP
    dbs_ora_tnsname=ERP
    FP_NO_HOST_CHECK=NO
    HOMEDRIVE=C:
    HOMEPATH=\Documents and Settings\tanya
    JAVA_HOME=C:\j2sdk1.4.2_09
    JSERV=F:\oracle\ora92/Apache/Jserv/conf
    LOGONSERVER=
    ERP
    NLS_LANG=AMERICAN_AMERICA.WE8DEC
    NUMBER_OF_PROCESSORS=2
    ORACLE_HOME=F:\oracle\ora92
    ORACLE_SID=ERP
    OS=Windows_NT
    Path=F:\oracle\ora92\bin;$PATH$
    PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
    PROCESSOR_ARCHITECTURE=x86
    PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 6, GenuineIntel
    PROCESSOR_LEVEL=6
    PROCESSOR_REVISION=1706
    ProgramFiles=C:\Program Files
    SAPDATA_HOME=F:\oracle\ERP
    SAPEXE=F:\usr\sap\ERP\SYS\exe\run
    SAPLOCALHOST=ERP
    SAPSYSTEMNAME=ERP
    SESSIONNAME=Console
    SystemDrive=C:
    SystemRoot=C:\WINDOWS
    TEMP=C:\WINDOWS\TEMP
    TMP=C:\WINDOWS\TEMP
    USERDOMAIN=ERP
    USERNAME=tanya
    USERPROFILE=C:\Documents and Settings\tanya
    windir=C:\WINDOWS
    WV_GATEWAY_CFG=F:\oracle\ora92\Apache\modplsql\cfg\wdbsvr.app
    SAPINST: End of current process environment.
    =====================================
    REgards,
    Abhishek

    Thanks, but most of the people in the industry are still using the same, and it is working on their Machine
    As far as I remember 9.2.0.2 was never released, one needed to install at least 9.2.0.4 (or .5). That´s why the official installation guides tell you to install the latest patches PLUS the latest interim patches for the database.
    On top of that, Oracle 9.2 is out of extended support already, I would get a new installation CD set with Oracle 10g and use that for a new installation.
    why it is not working on my machine?
    Because those old database versions have many bugs that are fixed with patches - so why do you want to run such an old version if one KNOWS that it´s buggy and there are patches to fix those errors?
    secondly from where i will get the latest patches, as told by you. pl do let me know any website from where i can down load them
    Check
    Note 938986 - Oracle Database 9.2: Patches for 9.2.0
    Markus

  • QL statement or script failed. DIAGNOSIS: Error message: ORA-27102: out of

    Dear all,
    please help me4 on this
    i am getting this error
    FCO-00011  The step createDatabase with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Disconnected
    my logs are:
    sapinst.log
    ERROR 2011-12-18 09:40:34.550
    CJS-00084  SQL statement or script failed. DIAGNOSIS: Error message: ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Disconnected
    . SOLUTION: For more information, see ora_sql_results.log and the Oracle documentation.
    ERROR 2011-12-18 09:40:34.558
    MUT-03025  Caught ESAPinstException in Modulecall: ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Disconnected
    ERROR 2011-12-18 09:40:34.717
    FCO-00011  The step createDatabase with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Disconnected
    INFO 2011-12-18 09:57:09.852
    An error occured and the user decided to stop.\n Current step "|NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CreateDBandLoad|ind|ind|ind|ind|10|0|NW_CreateDB|ind|ind|ind|ind|0|0|NW_OraDBCheck|ind|ind|ind|ind|0|0|NW_OraDBMain|ind|ind|ind|ind|0|0|NW_OraDBStd|ind|ind|ind|ind|3|0|NW_OraDbBuild|ind|ind|ind|ind|5|0|createDatabase".
    INFO 2011-12-18 09:57:15.747
    Creating file /tmp/sapinst_instdir/.lastInstallationLocation.
    INFO 2011-12-18 09:57:16.545
    Creating file /tmp/sapinst_instdir/ERPEhP4/AS-ABAP/ORA/CENTRAL/__instana_tmp.xml.
    oracle_sql_results.log
    SQL*Plus: Release 10.2.0.4.0 - Production on Sun Dec 18 09:40:34 2011
    Copyright (c) 1982, 2007, Oracle.  All Rights Reserved.
    Connected to an idle instance.
    ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    Disconnected
    SAPINST: End of output of SQL executing program /oracle/PRD/102_64/bin/sqlplus.
    SAPINST found errors.
    SAPINST The current process environment may be found in sapinst_ora_environment.log.
    2011-12-18, 09:40:34 SAPINST ORACLE stop logging
    alert_prd.log
    Sun Dec 18 09:40:34 2011
    Starting ORACLE instance (normal)
    Sun Dec 18 09:40:34 2011
    WARNING: EINVAL creating segment of size 0x000000d8001b2000
    fix shm parameters in /etc/system or equivalent
    please sujest the solution very urjent pz........

    Dear deepak
    itried to start the database manually
    but it is not working.
    SQL> startup
    ORA-27102: out of memory
    SVR4 Error: 22: Invalid argument
    SQL>
    and my shm parametrs for the Solaris ACCORDING TO NOTE 724713 are
    projadd -p 333 -c "SAP System PRD" \
    -U prdadm,oraprd \
    -K "process.max-file-descriptor=(basic,65536,deny)" \
    -K "process.max-sem-nsems=(priv,2048,deny)" \
    -K "project.max-sem-ids=(priv,1024,deny)" \
    -K "project.max-shm-ids=(priv,256,deny)" \
    -K "project.max-shm-memory=(priv,18446744073709551615,deny)" \
    dr
    projmod -s \
    -K "process.max-file-descriptor=(basic,65536,deny)" \
    -K "process.max-sem-nsems=(priv,2048,deny)" \
    -K "project.max-sem-ids=(priv,1024,deny)" \
    -K "project.max-shm-ids=(priv,256,deny)" \
    -K "project.max-shm-memory=(priv,18446744073709551615,deny)" \
    user.root
    prdadm::::project=dr;oraprd::::project=dr
    thanks & Regards
    k.Phani Krishna

  • Getting error CJS-00084 SQL Statement or script failed while creating a DB

    Hi All,
    I ma trying to install IDES CRM 4.0 with Oracle DB and process went fine till the point of central instance installation. I am at the final step of installing the database instance and got an error while it is performing different steps of it.
    At the step CREATE ORACLE DATABASE, i got the below error message:
    CJS-00084  SQL statement or script failed. DIAGNOSIS: Error message: ORA-01092: ORACLE instance terminated. Disconnection forced
    Can someone help me to resolve this?
    Thanks
    Vijay

    -> did you follow all steps correctly? for example did you say NO when runinstaller asks for database creation?
    -> which operating system are you on?
    GreetZ, AH

  • Regarding summing statement in scripts

    Hi,
    please give one small example code for SUMMING statement in SAP Scripts.
    Thanks,
    Srinivas

    Hi,
    /:SUMMING &NETPR& INTO V_TOTAL
    loop
      write form for main window
    endloop.
    For every time(loop pass) the value will be added to v_total ,this will be defined in script.
    Regards,
    Ferry Lianto

  • Control break statements in Scripts

    Hi All
    Please help me.
    What are the control break statements are possible in SAP Scripts for Main Window.
    Regards
    Praveen

    This gives over view of almost all control commands.
    ADDRESS               Formatting of addresses
    BOTTOM, ENDBOTTOM     Define footer text in a window
    BOX, POSITION, SIZE   Boxes, lines and shading
    CASE, ENDCASE         Case distinction
    DEFINE                Value assignment to text symbols
    HEX, ENDHEX           Hexadecimal values
    IF, ENDIF             Conditional text output
    INCLUDE               Include other texts
    NEW-PAGE              Explicit forms feed
    NEW-WINDOW            Next window MAIN
    PRINT-CONTROL         Insert print control character
    PROTECT, ENDPROTECT   Protect from page break
    RESET                 Initialize outline paragraphs
    SET COUNTRY           Country-specific formatting
    SET DATE MASK         Formatting of date fields
    SET SIGN              Position of +/- sign
    SET TIME MASK         Formatting of time fields
    STYLE                 Change style
    SUMMING               Summing variables
    TOP                   Set header text in window MAIN

  • Using Define Statement as Column Name Alias

    Hi,
    Is it possible to assign a defined variable as a column name in a simple select statement?
    For examples -
    DEFINE test_case = to_date('01-Jan-2011','DD-Mon-YYYY');
    SELECT banana &&test_case
    FROM dual;
    Which would result in -
    01-Jan-2011
    banana
    Is this at all possible? The column names will change when the date changes so I do not want to just label the columns normally as this would need to be changed every time the script is run for a different month.

    Cameron wrote:
    DEFINE test = to_char(SYSDATE,'Mon')
    SELECT hello &&test
    FROM dual
    So should that result in -
    June
    hello
    Becuase all I get is a fail and -
    15:34:37 ORA-00923: FROM keyword not found where expectedClearly you missed sybrands response.
    DEFINE is a SQL*Plus command (SQL*Plus is a GUI tool)
    to_char and SYSDATE are SQL functions (SQL is a language)
    You cannot use SQL directly in SQL*Plus commands like DEFINE.

  • Length of if statement in script editor is more than two lines

    dear friends
           when i am modifying the purchase order with new purchase organisations in script editor , i found that the line continued to both left and right pages, if i want to extend the line there is no 3 rd page. how can i extend the if statement.
    regards,
    k.srinivas.

    Hi,
    After complete of line , Please Enter Shift+F8.
    Regards
    jana

  • Using variables defined in another script

    hallo
    i have two separate scripts trigered by two unique shortcuts:
    lets say first SCRIPT_1 takes a color (or any other property) of currentlly selected object and saves it in a variable "objCOLOR"
    than i work on something else for a while or select different objects and eventually run SCRIPT_2 where id like to use value "objCOLOR" which i defined a while ago using SCRIPT_1
    is it possible to define variables in one script and after a while use them in another script ? some kind of SUPER GLOBAL variables stored in memory of InDesign ? available to be used by various scripts ?

    I'm not JS man - but you can do this other way - use InsertLabel and ExtractLabel
    description from VB:
    Sub InsertLabel(Key As String, Value As String)
    Member of InDesign.Document
    Sets the label to the value associated with the specified key. / Key: The key. / Value: The value.
    Function ExtractLabel(Key As String) As String
    Member of InDesign.Document
    Gets the label value associated with the specified key. / Return value: The label. / Key: The key.
    example in VB:
    first script:
    myDoc.InsertLabel("objCOLOR","0,120,24,0")
    second script:
    myColor = myDoc.ExtractLabel("objCOLOR")
    I don't know if you can save color value directly ...
    I'm not sure - but you can use .InsertLabel and .ExtractLabel with all objects in InDesign
    robin
    www.adobescripts.com

  • Defining paths in scripts..... in need of a guru

    Here's a problem that Bridge scripts are having...
    If you have a volume named Users, the image processor, 1-2-3, AOM scripts won't run because as the paths are defined they will look in the volume "User" not the folder "Users" for files etc.... it's described better here:
    http://forums.adobe.com/message/3477465#3477465
    the problem also exists if you try to use the merge HDR pro script, if you have a volume named "Applications" on your desktop.
    here's the KB for this similar problem:
    http://kb2.adobe.com/cps/852/cpsid_85275.html
    you can replicate these problems by simply naming any external drive "Users" for the output script errors, or "Applications" for the HDR script errors. After renaming simply try any of the above scripts.
    Adobe is currently looking into fixing the scripts, but I know there are some scripting gurus around here that might have already encountered these types of problems and might have a speedy fix to the problem.... any thoughts?
    many thanks.
    j
    -- I should also mention this is a Mac only problem.

    As long as there is mankind, and technology there are going to be problems!
    There's nowt wrong with my N95-1 and I'll be sticking with it for some time.
    You can get a bad phone - just like you can get a bad car, washing machine, stereo etc, etc.
    As long as the phone works OK there are often ways of improving limitations. Battery life is poor on my N95 'computer' but I have a rechargeable li-polymer external battery pack I bought for use with a PDA, it's very pocketable, reasonably light weight and would give me about 3 x recharges of my N-95.
    Frankly though I would avoid the N95 8GB - I don't like the idea of fixed memory and no memory card slot. If that fixed memory goes pear shaped, what then? At least with removable flash memory you can whip it out and put another one in. Micro SD-HC cards are expected to go up to at least 32GB in size, they are very small, very light and as is usually the case, they will eventually fall in price.
    Horses for courses! Good luck with whatever model you decide to get.Message Edited by keenas on 27-Oct-200709:19 AM

  • *Prior statement in script logic

    Hi,
    I'm getting started with script logic and I'm trying to create a record that will be the result of the current amount in a specific account minus the amount for the same account in the previous period.
    I was thinking to use a "prior" statement, but not really sure how to do that. Do somebody could write me an example that would sbustract my current amount minus the amount from the previous period where the account is the same in a sql logic?
    Thanks
    Martin

    Hi,
    This should do the trick.
    *INCLUDE SYSTEM_CONSTANTS.LGL
    *XDIM_MEMBERSET TIMEDIM=PRIOR,%TIME_SET%
    *XDIM_Member DataSrc=INput
    *WHEN *
    *IS *
    *REC(EXPRESSION=GET(DATASRC="INPUTSAP",TIME=PRIOR)-GET(DATASRC="INPUTSAP"),NOADD,DATASRC="Movement")
    *ENDWHEN
    *commit
    Cheers,
    AvdB
    Edited by: Gert Andries van den Berg on Aug 12, 2009 9:14 AM

Maybe you are looking for

  • ActionScript 3 + PHP: TypeError: Error #2007: Parameter text must be non-null.

    Hi - Still new to flash as3 and php - it is a contact form page - user puts in information - i am to receive it in an email address their information as well the variables get sent back from the php to the .swf file. I am receiving these errors and n

  • Cost of borrowing money

    I have a requirement from a customer of mine. In my pricing procedure (sales) I want to add a contition type. This condition type will add to the final price of the product an amount which will be the cost of the customer to borrow money. In other wo

  • Runtime error when executing driver program

    when im executing my report after passing smartform to it , by giving invoice number in selectionscreen,it's generating runtime error as the call to the function module     '/1BCDWB/SF00000032'   is incorrect: in the function module interface, u can

  • Mail with Multiple POP & Platform

    I use multiple pop accounts and multiple platforms to access those accounts. If I access an email from another account (Windows Outlook) I will never see they message appear in my Mac Mail even though it is still on the pop server. How can I get Mail

  • If a purchase requisition already exists for an item then system should give warning message

    Hi Experts, Is there any standard configuration for showing the user a warning message if while creating a purchase requisition for an item for which one purchase requisition already exits ?? kindly help, Regards, Vishal