Create synta error. right parenthisis missing (SUPER SIMPLE)

hi guys im having a problem with this create statement its probably because i have looked at it too much now im just not seeing the problem can anyone point out my mistake thanks
this is my first time using auto_increment so its probably somthing to do with that
SQL> CREATE TABLE BOOK_INFO (
2 BOOK_CN_NUM AUTO_INCREMENT(3),
3 BOOK_ISBN VARCHAR2(9),
4 BOOK_TITLE VARCHAR2(100),
5 BOOK_AUTHOR_NAME VARCHAR(30),
6 BOOK_STATUS VARCHAR2(4) DEFAULT 'IN',
7 CONSTRAINT BOOK_CN PRIMARY KEY (SUBSTR(BOOK_TITLE(1,2), SUBSTR(BOOK_AUTHOR_NAME(1,2), BOOK_CN_N
UM)
8 ) ENABLE CONSTRAINT BOOK_CN
9
SQL>
SQL> /
BOOK_CN_NUM AUTO_INCREMENT(3),
ERROR at line 2:
ORA-00907: missing right parenthesis
much appreciated
RMMO

im about to give up with this..... another error.....
SQL> ed
Wrote file afiedt.buf
1 CREATE TABLE BOOK_INFO(
2 BOOK_CN VARCHAR2(9),
3 BOOK_CN_NUM NUMBER(3),
4 BOOK_ISBN VARCHAR2(9),
5 BOOK_TITLE VARCHAR2(100),
6 BOOK_AUTHOR_NAME VARCHAR(30),
7 BOOK_STATUS VARCHAR2(4) DEFAULT 'IN',
8 CONSTRAINT BOOK_CN PRIMARY KEY)
9* ENABLE CONSTRAINT BOOK_CN
SQL> /
CONSTRAINT BOOK_CN PRIMARY KEY)
ERROR at line 8:
ORA-00906: missing left parenthesis
thanks for being sooooo patient!

Similar Messages

  • Impdp triggers always give error ORA-04071:missing BEFORE, AFTER or INSTEAD

    Hello,
    I am using 11g impdp to create a test system.
    I use this cmd to import
    impdp 'SYS/xxxxx@PWRFUN AS SYSDBA' dumpfile=PWRPROD.DMP logfile=PWRFUNimportPROD.log SCHEMAS=pwrplant TABLE_EXISTS_ACTION=REPLACE
    Then I get this error for all the triggers
    ORA-39083: Object type TRIGGER failed to create with error:
    ORA-04071: missing BEFORE, AFTER or INSTEAD OF keyword
    Failing sql is:
    CREATE TRIGGER "PWRPLANT"."APPROVAL_STEPS_HISTORY" PS_HISTORY
    BEFORE UPDATE OR INSERT ON PWRPLANT.APPROVAL_STEPS_HISTORY
    FOR EACH ROW
    BEGIN    :new.user_id := USER;    :new.time_stamp := SYSDATE; END;
    As you can see, the trigger does contain the word "before".
    When I remove " "PWRPLANT"."APPROVAL_STEPS_HISTORY" " and run the trigger below, it compiles correctly. Why is this, and how do I make my impdp to run correctly?
    CREATE TRIGGER PS_HISTORY
    BEFORE UPDATE OR INSERT ON PWRPLANT.APPROVAL_STEPS_HISTORY
    FOR EACH ROW
    BEGIN    :new.user_id := USER;    :new.time_stamp := SYSDATE; END;

    same error, thanks for your attemp
    Error starting at line 1 in command:
    CREATE TRIGGER "PWRPLANT"."APPROVAL_STEPS_HISTORY" PS_HISTORY
    BEFORE UPDATE OR INSERT ON PWRPLANT.APPROVAL_STEPS_HISTORY
    REFERENCING new AS new
    FOR EACH ROW
    BEGIN :new.user_id := USER; :new.time_stamp := SYSDATE; END;
    Error report:
    ORA-04071: missing BEFORE, AFTER or INSTEAD OF keyword
    04071. 00000 - "missing BEFORE, AFTER or INSTEAD OF keyword"
    *Cause:    The trigger statement is missing the BEFORE/AFTER/INSTEAD OF clause.
    *Action:   Specify either BEFORE, AFTER or INSTEAD OF.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • A/c doc not created and error msg "Business Area Miss-Match Check input"

    Hi,
    After creation of new Plant and Business area create a invoice , But my accounting document does't created and error msg show "Business Area Miss-Match Please Check Your Input". plz suggest me.
    Regards,
    Sohail

    Dear Sohail Rahman,
    Looks like the Business area has not been properly assigned.
    Business area can be created for three combinations:
    1. Business area by sales area
    2. Business area by plant and division
    3. Business area by plant and item division
    In your case, check whether the business area is maintained for the combination of plant/division and plant/item division.
    Hope this helps
    Thanks
    Murtuza

  • Can't Create Bean Error

    I modified the numguess example that comes with tomcat but I get a "can't create bean" error message when I call my jsp file. If anyone can see what I'm doing wrong or suggest ways to discover the problem I'd appreciate it.
    My modified jsp:
    <!--
    Copyright (c) 1999 The Apache Software Foundation. All rights
    reserved.
    Number Guess Game
    Written by Jason Hunter, CTO, K&A Software
    http://www.servlets.com
    -->
    <%@ page import = "num.NumberGuessBean" %>
    <jsp:useBean id="numguess" class="num.NumberGuessBean" scope="session"/>
    <jsp:setProperty name="numguess" property="*"/>
    <html>
    <head><title>Number Guess</title></head>
    <body bgcolor="white">
    <font size=4>
    <% if (numguess.getSuccess()) { %>
    Congratulations! You got it.
    And after just <%= numguess.getNumGuesses() %> tries.<p>
    <% numguess.reset(); %>
    Care to try again?
    <% } else if (numguess.getNumGuesses() == 0) { %>
    Welcome to the Number Guess game.<p>
    Play with default limits ( a number between 0 and 100)<p>
    or enter upper and lower limits.<p>
    <form method=get>
    Play with defaults?: <input type=radio name=default value="yes">Yes
    <input type=radio name=default value="no">No
    <\form>
    <% if (numguess.getRadio().equals("no")) { %>
    <form method=get>
    Enter upper limit:<input type=text name=upperLimit>
    Enter lower limit:<input type=text name=lowerLimit>
    <\form>
    <% numguess.reset(); %>
    <% } %>
    <form method=get>
    What's your guess? <input type=text name=guess>
    <input type=submit value="Submit">
    </form>
    <% } else { %>
    Good guess, but nope. Try <b><%= numguess.getHint() %></b>.
    You have made <%= numguess.getNumGuesses() %> guesses.<p>
    I'm thinking of a number between <jsp:getProperty name="numguess" property="lowerLimit"/> and <jsp:getProperty name="numguess" property="upperLimit"/>.<p>
    <form method=get>
    What's your guess? <input type=text name=guess>
    <input type=submit value="Submit">
    </form>
    <% } %>
    </font>
    </body>
    </html>
    and the modified bean:
    * ====================================================================
    * The Apache Software License, Version 1.1
    * Copyright (c) 1999 The Apache Software Foundation. All rights
    * reserved.
    * Redistribution and use in source and binary forms, with or without
    * modification, are permitted provided that the following conditions
    * are met:
    * 1. Redistributions of source code must retain the above copyright
    * notice, this list of conditions and the following disclaimer.
    * 2. Redistributions in binary form must reproduce the above copyright
    * notice, this list of conditions and the following disclaimer in
    * the documentation and/or other materials provided with the
    * distribution.
    * 3. The end-user documentation included with the redistribution, if
    * any, must include the following acknowlegement:
    * "This product includes software developed by the
    * Apache Software Foundation (http://www.apache.org/)."
    * Alternately, this acknowlegement may appear in the software itself,
    * if and wherever such third-party acknowlegements normally appear.
    * 4. The names "The Jakarta Project", "Tomcat", and "Apache Software
    * Foundation" must not be used to endorse or promote products derived
    * from this software without prior written permission. For written
    * permission, please contact [email protected].
    * 5. Products derived from this software may not be called "Apache"
    * nor may "Apache" appear in their names without prior written
    * permission of the Apache Group.
    * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
    * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
    * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
    * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
    * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
    * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
    * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
    * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
    * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
    * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
    * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
    * SUCH DAMAGE.
    * ====================================================================
    * This software consists of voluntary contributions made by many
    * individuals on behalf of the Apache Software Foundation. For more
    * information on the Apache Software Foundation, please see
    * <http://www.apache.org/>.
    * Originally written by Jason Hunter, http://www.servlets.com.
    package num;
    import java.util.*;
    public class NumberGuessBean {
    int answer;
    boolean success;
    String hint;
    int numGuesses;
    String radiochoice;
    int lowerLimit=0;
    int upperLimit=100;
    String error;
    public NumberGuessBean() {
    reset();
    public void setGuess(String guess) {
    numGuesses++;
    int g;
    try {
    g = Integer.parseInt(guess);
    catch (NumberFormatException e) {
    g = -1;
    if (g == answer) {
    success = true;
    else if (g == -1) {
    hint = "a number next time";
    else if (g < answer) {
    hint = "higher";
    else if (g > answer) {
    hint = "lower";
    public void setRadio(String s) {
         radiochoice=s;
    public String getRadio() {
         return radiochoice;
    public void setLowerLimit( int lowerLimit) {
         this.lowerLimit=lowerLimit;
    public int getLowerLimit() {
         return lowerLimit;
    public void setUpperLimit(int upperLimit) {
         this.upperLimit=upperLimit;
    public int getUpperLimit() {
         return upperLimit;
    public boolean getSuccess() {
    return success;
    public String getHint() {
    return "" + hint;
    public String getError() {
         return ""+error;
    public int getNumGuesses() {
    return numGuesses;
    public void reset() {
         if (getRadio().equals("yes")) {
              answer = (int)(Math.random()*100);
         else {
              int i;
              i=(int)(Math.random()*upperLimit);
              if (i<lowerLimit) {
                   i=i+lowerLimit;
              answer=i;
         success = false;
    numGuesses = 0;

    implement synchronizable and createa constructor, then check it once again.

  • IR Report Search - ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression

    Hi All,
      I had created a IR report based on a table and it was working with no issues.  But after few days, when I try searching using the IR search bar it shows "ORA-20001: get_dbms_sql_cursor error ORA-00936: missing expression" error message. I don't see any debug messages or errors in the debug window. The Finder drop down is empty too, there are no columns displayed to filter.
    When I recreate the IR report(new page) based on the same table, It works fine and there are no issues with the search.  But the old IR report search doesnt work. I have not modified the any thing in the old report after initial creation. Report uses Primary key based on a sequence.
    What might have caused this issue?
    Is there a way to intercept the search query from IR report?
    Apex version - 4.2.3.00.08.
    Any help on this appreciated.
    Thanks,
    Jagan

    Hi MK, as I had mentioned in my post, I don't see any logs in the debug window, query tab.
    Can you please guide me how to check the query logs on search?
    Thanks,
    Jagan

  • ERROR: ORACLE prepare error: ORA-00936: missing expression

    Hello,
    I am required to run "pass-through" Oracle SQL, to extract data from tables into SAS for processing and manipulation. My code (attached) reads and writes (executes) but with zero records to test first. I cannot get past the Prepare Error.
    The query is very much like other queries that seem to work, but I cannot get past this prepare error. I have no other access to individauls with adequate knowledge of PL SQL, and as a last stop hoped others in the forum could quickly spot the source of errror.
    Thanks very much in advance for any assistance.
    Jeff
    1 ;*';*";*/;quit;run;
    2 OPTIONS PAGENO=MIN;
    3 %LET _CLIENTTASKLABEL=%NRBQUOTE(rx_biplr_v3_2);
    4 %LET _EGTASKLABEL=%NRBQUOTE(rx_biplr_v3_2);
    5 %LET _CLIENTPROJECTNAME=%NRBQUOTE();
    6 %LET _SASPROGRAMFILE=;
    7
    8 ODS _ALL_ CLOSE;
    NOTE: Some of your options or statements may not be supported with the Activex or Java series of devices. Graph defaults for these
    drivers may be different from other SAS/GRAPH device drivers. For further information, please contact Technical Support.
    9 OPTIONS DEV=ACTIVEX;
    10 FILENAME EGHTML TEMP;
    NOTE: Writing HTML(EGHTML) Body file: EGHTML
    11 ODS HTML(ID=EGHTML) FILE=EGHTML ENCODING='utf-8' STYLE=EGDefault
    11 ! STYLESHEET=(URL="file:///C:/Program%20Files/SAS/Shared%20Files/BIClientStyles/EGDefault.css")
    11 ! ATTRIBUTES=("CODEBASE"="http://www2.sas.com/codebase/graph/v91/sasgraph.exe") NOGTITLE NOGFOOTNOTE GPATH=&sasworklocation
    11 ! ;
    12
    13 %gaccessible;
    14 /********************************************************/
    15 * RX_BIPLR_V3.SAS ;
    16 /********************************************************/
    17
    18 dm 'log;clear;out;clear';
    19 options linesize =120;
    20 Option obs=0 NoReplace;
    21
    22 ****************************************************************************************;
    23 *Date Programmer Reviewed By WHAT WAS DONE;
    24 *----- -------------- ------------ -----------------------------------------;
    25 *2005 David Boyd Program creation for test population;
    26 *;
    27 *02/06/2006 Ivon Jones Modified to include total population;
    28 *;
    29 *07/20/2006 Ivon Jones Identified data elements for exclusion;
    30 * or inclusion for consolidation with ;
    31 * Robin's report;
    32 *;
    33 *08/18/2006 Ivon Jones Updated the Specific Therapeutic Classes;
    34 * 10-2009 J Shaf - modified to extract actual or potential Bipolar Dx from UBH and Medical Claims;
    35 ****************************************************************************************;
    36
    37
    38
    39 *%let allclmorgn = ('M','A') ; /* all claims origin code */
    40 %let begdate='01SEP2009'd;
    41 %let enddate='30SEP2009'd;
    42 %let q = %str(%') ;
    43
    44
    45 data _null_ ;
    46 call symput('fdos',put(intnx('month',"&begdate"d,-27,'beginning'), date9.) ) ;
    47 call symput('ldos',put(intnx('month',"&enddate"d,-0,'ending'), date9.) ) ;
    48 run ;
    NOTE: DATA statement used (Total process time):
    real time 0.00 seconds
    2 The SAS System 11:44 Friday, October 30, 2009
    cpu time 0.01 seconds
    49
    50
    51
    52 **************************************************************;
    53 * ??Use the data _null_ step to create a macro variable for the ;
    54 * year and month based on the ldos macro variable in the data ;
    55 * step above?? ;
    56 **************************************************************;
    57
    58
    59 data _null_ ;
    60 if month("&ldos"d) < 10
    61 then call symput('yr_mo',compress(year("&ldos"d) || '0' || month("&ldos"d) ) ) ;
    62 else call symput('yr_mo',compress(year("&ldos"d) || month("&ldos"d) ) ) ;
    63 run ;
    NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
    61:39 61:64 62:39 62:57
    NOTE: DATA statement used (Total process time):
    real time 0.00 seconds
    cpu time 0.00 seconds
    64
    65 *%put &biplr_dx;
    66 %put &begdate ;
    '01SEP2009'd
    67 %put &enddate ;
    '30SEP2009'd
    68 %put &fdos ;
    01JUN2007
    69 %put &ldos ;
    30SEP2009
    70 %put &q ;
    71
    72
    73 libname biplr'/home/jshafi01/projects/adhoc/biplr_dprsn/data';
    NOTE: Libref BIPLR was successfully assigned as follows:
    Engine: V9
    Physical Name: /home/jshafi01/projects/adhoc/biplr_dprsn/data
    74 libname rosdwp oracle user="&oracle_user." pass="&oracle_pass." buffsize=32767 path='rosdwp';
    NOTE: Libref ROSDWP was successfully assigned as follows:
    Engine: ORACLE
    Physical Name: rosdwp
    75
    76 data work.biplr_up_v1;
    77 attrib mbr_id length=$26;
    78 set biplr.biplr_ubh_med_v1;
    79 run;
    NOTE: There were 0 observations read from the data set BIPLR.BIPLR_UBH_MED_V1.
    NOTE: The data set WORK.BIPLR_UP_V1 has 0 observations and 1 variables.
    NOTE: DATA statement used (Total process time):
    real time 0.01 seconds
    3 The SAS System 11:44 Friday, October 30, 2009
    cpu time 0.00 seconds
    80
    81 proc contents;
    82 run;
    NOTE: PROCEDURE CONTENTS used (Total process time):
    real time 0.03 seconds
    cpu time 0.03 seconds
    83
    84 proc datasets
    85      library = rosdwp nolist;
    86      delete biplr_up_v1;
    87 quit;
    NOTE: Deleting ROSDWP.BIPLR_UP_V1 (memtype=DATA).
    NOTE: PROCEDURE DATASETS used (Total process time):
    real time 3.74 seconds
    cpu time 0.03 seconds
    88
    89 proc datasets
    90      library=work nolist;
    91      copy out = rosdwp move;
    92      select biplr_up_v1 ;
    93 quit;
    NOTE: Moving WORK.BIPLR_UP_V1 to ROSDWP.BIPLR_UP_V1 (memtype=DATA).
    NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
    NOTE: There were 0 observations read from the data set WORK.BIPLR_UP_V1.
    NOTE: The data set ROSDWP.BIPLR_UP_V1 has 0 observations and 1 variables.
    NOTE: PROCEDURE DATASETS used (Total process time):
    real time 0.32 seconds
    cpu time 0.04 seconds
    94
    95
    96
    97 *****************************************************************************;
    98
    99 *execute(commit) by rosdwp
    100 ******************************************************************************;
    101
    102
    103 proc SQL noprint ;
    104 connect to oracle as rosdwp (user="&oracle_user." password="&oracle_pass" buffsize=32767 path='rosdwp'
    104 ! preserve_comments);
    105      execute(alter session set nls_date_format = 'ddmonyyyy') by rosdwp;
    106 CREATE table biplr_rx as
    107 SELECT
    108 mrb_id,
    109 pcp_spc,
    110 rx_date,
    4 The SAS System 11:44 Friday, October 30, 2009
    111 brand,
    112 generic,
    113 ahfs_cd,
    114 ahfs_dsc,
    115 lbl,
    116 strngth,
    117 unt,
    118 spc_tx_cls_cd,
    119 spc_tx_cls_dsc,
    120 gcn,
    121 rx_num,
    122 rx_ingrd,
    123 rx_paid,
    124 rx_cnt,
    125 rx_qty,
    126 rx_day
    127 FROM connection to rosdwp
    128 (SELECT
    129 mid.UNIQ_MBR_ID as mrb_id,
    130 pd.PRVDR_SPCLTY_DESC as pcp_spc,
    131 pcf.LAST_SRVC_DT as rx_date,
    132 dd.BRAND_NAME as brand,
    133 dd.GNRC_NAME as generic,
    134 dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
    135 dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc,
    136 dd.LABEL_NAME as lbl,
    137 dd.STRNGTH_NUM as strngth,
    138 dd.STRNGTH_UNIT_DESC as unt,
    139 dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd,
    140 dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc,
    141 dd.GCN_NUM as gcn,
    142 pcf.PRSCRPTN_NUM as rx_num,
    143 SUM(pcf.INGRDNT_AMT) as rx_ingrd,
    144 SUM(pcf.PD_AMT) as rx_paid,
    145 SUM(pcf.UNIT_SRVC_CNT) as rx_cnt,
    146 SUM(pcf.DSPNSD_QTY) as rx_qty,
    147 SUM(pcf.DAY_SUPLY_CNT) as rx_day
    148 FROM
    149 PHRMCY_CLM_FACT pcf,
    150 MBR_ID_DMNSN mid,
    151 DRUG_DMNSN dd,
    152 PRVDR_DMNSN pd,
    153           biplr_up_v1
    154 WHERE
    155 (
    156 (biplr_up_v1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And
    157 (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
    158 (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
    159 (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
    160 (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
    161 (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
    162 (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN between &q.&fdos.&q and &q.&ldos.&q)
    163      )
    164 Group By
    165 mid.UNIQ_MBR_ID ,
    166 pd.PRVDR_SPCLTY_DESC ,
    167 pcf.LAST_SRVC_DT ,
    168 dd.BRAND_NAME ,
    5 The SAS System 11:44 Friday, October 30, 2009
    169 dd.GNRC_NAME ,
    170 dd.AHFS_THRPTC_CLS_CD ,
    171 dd.AHFS_THRPTC_CLS_DESC ,
    172 dd.LABEL_NAME ,
    173 dd.STRNGTH_NUM ,
    174 dd.STRNGTH_UNIT_DESC ,
    175 dd.SPECF_THRPTC_CLS_CD ,
    176 dd.SPECF_THRPTC_CLS_DESC ,
    177 dd.GCN_NUM ,
    178 pcf.PRSCRPTN_NUM
    179 );
    ERROR: ORACLE prepare error: ORA-00936: missing expression. SQL statement: SELECT mid.UNIQ_MBR_ID as mrb_id,
    pd.PRVDR_SPCLTY_DESC as pcp_spc, pcf.LAST_SRVC_DT as rx_date, dd.BRAND_NAME as brand, dd.GNRC_NAME as generic,
    dd.AHFS_THRPTC_CLS_CD as ahfs_cd, dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc, dd.LABEL_NAME as lbl, dd.STRNGTH_NUM as
    strngth, dd.STRNGTH_UNIT_DESC as unt, dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd, dd.SPECF_THRPTC_CLS_DESC as
    spc_tx_cls_dsc, dd.GCN_NUM as gcn, pcf.PRSCRPTN_NUM as rx_num, SUM(pcf.INGRDNT_AMT) as rx_ingrd, SUM(pcf.PD_AMT)
    as rx_paid, SUM(pcf.UNIT_SRVC_CNT) as rx_cnt, SUM(pcf.DSPNSD_QTY) as rx_qty, SUM(pcf.DAY_SUPLY_CNT) as rx_day
    FROM PHRMCY_CLM_FACT pcf, MBR_ID_DMNSN mid, DRUG_DMNSN dd, PRVDR_DMNSN pd, biplr_up_v1 WHERE (
    (biplr_up_v1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And (PHRMCY_CLM_FACT.FINL_CLM_KEY =
    PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
    (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
    (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN between '01JUN2007'
    and '30SEP2009') ) Group By mid.UNIQ_MBR_ID , pd.PRVDR_SPCLTY_DESC , pcf.LAST_SRVC_DT , dd.BRAND_NAME ,
    dd.GNRC_NAME , dd.AHFS_THRPTC_CLS_CD , dd.AHFS_THRPTC_CLS_DESC , dd.LABEL_NAME , dd.STRNGTH_NUM ,
    dd.STRNGTH_UNIT_DESC , dd.SPECF_THRPTC_CLS_CD , dd.SPECF_THRPTC_CLS_DESC , dd.GCN_NUM , pcf.PRSCRPTN_NUM.
    NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
    180 execute (drop table biplr_up_v1) by rosdwp;
    NOTE: Statement not executed due to NOEXEC option.
    181 disconnect from rosdwp;
    NOTE: Statement not executed due to NOEXEC option.
    182 quit;
    NOTE: The SAS System stopped processing this step because of errors.
    NOTE: PROCEDURE SQL used (Total process time):
    real time 0.14 seconds
    cpu time 0.03 seconds
    183
    184

    Hello Again ,
    Wish Oracle was a bit more informative. Am using a SAS Institute Product called Enterprise Guide. A "hot fix" was installed to address an issue that the product appears unable to save the latest version of edited code changes (hence " BETWEEN between" remaining even after a prior edit). In any case, with the change, am now receiving this error:
    " ERROR: ORACLE prepare error: ORA-00904: "PHRMCY_CLM_FACT"."LAST_SRVC_DT": invalid identifier". (Log file appears below)
    -The error remains, regardless of whether one uses "pass through" code to pass the date range to Oracle (which looks ok from the log output below I believe), or if I hard code the date range into the PL SQL query itself.
    -The Prepare error always appears at end of the inner SELECT.
    -The Prepare error remains, with or without the GROUP BY clause.
    Is there anything else here I am missing? Someone suggested a reserve word - but from other ANSI SQL versions, I do not see that is the case. I have consulted SAS Tech Support and SAS List Serve at University of GA. but nothing definitive from these sources. Have requested facility to be able to run Oracle directly, outside this SAS Institute product - in process.
    Any suggestions are greatly appreciated. Thanks to everyone very much.
    Jeff
    14 /********************************************************/
    15 * RX_BIPLR_V3.SAS ;
    16 /********************************************************/
    17
    18 dm 'log;clear;out;clear';
    19 options linesize =120;
    20 Option obs=0 NoReplace;
    21
    22 ****************************************************************************************;
    23 *Date       Programmer         Reviewed By     WHAT WAS DONE;
    24 *-----      --------------     ------------    -----------------------------------------;
    25 *2005 D. Boyd Program creation for test population;
    26 *;
    27 *02/06/2006 I. Jones Modified to include total population;
    28 *;
    29 *07/20/2006 I. Jones Identified data elements for exclusion;
    30 * or inclusion for consolidation with ;
    31 * Robin's report;
    32 *;
    33 *08/18/2006 I Jones Updated the Specific Therapeutic Classes;
    34 * 10-2009 J Shaf - modified to extract actual or potential Bipolar Dx from UBH and Medical Claims;
    35 ****************************************************************************************;
    36
    37
    38
    39 *%let allclmorgn = ('M','A') ; /* all claims origin code */
    40 %let begdate='01SEP2009'd;
    41 %let enddate='30SEP2009'd;
    42 %let q = %str(%') ;
    43
    44
    45 data null ;
    46 call symput('fdos',put(intnx('month',"&begdate"d,-27,'beginning'), date9.) ) ;
    47 call symput('ldos',put(intnx('month',"&enddate"d,-0,'ending'), date9.) ) ;
    48 run ;
    2 The SAS System 12:46 Monday, November 2, 2009
    NOTE: DATA statement used (Total process time):
    real time 0.00 seconds
    cpu time 0.00 seconds
    49
    50
    51
    52 **************************************************************;
    53 * ??Use the data null step to create a macro variable for the ;
    54 * year and month based on the ldos macro variable in the data ;
    55 * step above?? ;
    56 **************************************************************;
    57
    58
    59 data null ;
    60 if month("&ldos"d) < 10
    61 then call symput('yr_mo',compress(year("&ldos"d) || '0' || month("&ldos"d) ) ) ;
    62 else call symput('yr_mo',compress(year("&ldos"d) || month("&ldos"d) ) ) ;
    63 run ;
    NOTE: Numeric values have been converted to character values at the places given by: (Line):(Column).
    61:39 61:64 62:39 62:57
    NOTE: DATA statement used (Total process time):
    real time 0.00 seconds
    cpu time 0.01 seconds
    64
    65 *%put &biplr_dx;
    66 %put &begdate ;
    '01SEP2009'd
    67 %put &enddate ;
    '30SEP2009'd
    68 %put &fdos ;
    01JUN2007
    69 %put &ldos ;
    30SEP2009
    70 %put &q ;
    71
    72
    73 libname biplr'/home/jshafi01/projects/adhoc/biplr_dprsn/data';
    NOTE: Libref BIPLR was successfully assigned as follows:
    Engine: V9
    Physical Name: /home/jshafi01/projects/adhoc/biplr_dprsn/data
    74 libname rosdwp oracle user="&oracle_user." pass="&oracle_pass." buffsize=32767 path='rosdwp';
    NOTE: Libref ROSDWP was successfully assigned as follows:
    Engine: ORACLE
    Physical Name: rosdwp
    75
    76 data work.biplr_up_v1;
    77 attrib mbr_id length=$26;
    78 set biplr.biplr_ubh_med_v1;
    79 run;
    NOTE: There were 0 observations read from the data set BIPLR.BIPLR_UBH_MED_V1.
    NOTE: The data set WORK.BIPLR_UP_V1 has 0 observations and 1 variables.
    NOTE: DATA statement used (Total process time):
    real time 0.00 seconds
    cpu time 0.01 seconds
    80
    81 proc contents;
    82 run;
    NOTE: PROCEDURE CONTENTS used (Total process time):
    real time 0.02 seconds
    cpu time 0.02 seconds
    83
    84 proc datasets
    85      library = rosdwp nolist;
    86      delete biplr_up_v1;
    87 quit;
    NOTE: Deleting ROSDWP.BIPLR_UP_V1 (memtype=DATA).
    NOTE: PROCEDURE DATASETS used (Total process time):
    real time 0.61 seconds
    cpu time 0.01 seconds
    88
    89 proc datasets
    90      library=work nolist;
    91      copy out = rosdwp move;
    92      select biplr_up_v1 ;
    93 quit;
    NOTE: Moving WORK.BIPLR_UP_V1 to ROSDWP.BIPLR_UP_V1 (memtype=DATA).
    NOTE: SAS variable labels, formats, and lengths are not written to DBMS tables.
    NOTE: There were 0 observations read from the data set WORK.BIPLR_UP_V1.
    NOTE: The data set ROSDWP.BIPLR_UP_V1 has 0 observations and 1 variables.
    NOTE: PROCEDURE DATASETS used (Total process time):
    real time 0.15 seconds
    cpu time 0.04 seconds
    94
    95
    96
    97 *****************************************************************************;
    98
    99 *execute(commit) by rosdwp
    100 ******************************************************************************;
    101
    102
    103 proc SQL noprint ;
    104 connect to oracle as rosdwp (user="&oracle_user." password="&oracle_pass" buffsize=32767 path='rosdwp'
    104 ! preserve_comments);
    105      execute(alter session set nls_date_format = 'ddmonyyyy') by rosdwp;
    106 CREATE table biplr_rx as
    107 SELECT
    108 mrb_id,
    109 uniq_mbr_id,
    110 pcp_spc,
    111 rx_date,
    112 brand,
    113 generic,
    114 ahfs_cd,
    115 ahfs_dsc,
    116 lbl,
    117 strngth,
    118 unt,
    119 spc_tx_cls_cd,
    120 spc_tx_cls_dsc,
    121 gcn,
    122 rx_num,
    123 rx_ingrd,
    124 rx_paid,
    125 rx_cnt,
    126 rx_qty,
    127 rx_day
    128 FROM connection to rosdwp
    129 (SELECT
    130 mid.UNIQ_MBR_ID as uniq_mrb_id,
    131 blpr.mrb_id.mbr_id,
    132 pd.PRVDR_SPCLTY_DESC as pcp_spc,
    133 pcf.LAST_SRVC_DT as rx_date,
    134 dd.BRAND_NAME as brand,
    135 dd.GNRC_NAME as generic,
    136 dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
    137 dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc,
    138 dd.LABEL_NAME as lbl,
    139 dd.STRNGTH_NUM as strngth,
    140 dd.STRNGTH_UNIT_DESC as unt,
    141 dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd,
    142 dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc,
    143 dd.GCN_NUM as gcn,
    144 pcf.PRSCRPTN_NUM as rx_num,
    145 SUM(pcf.INGRDNT_AMT) as rx_ingrd,
    146 SUM(pcf.PD_AMT) as rx_paid,
    147 SUM(pcf.UNIT_SRVC_CNT) as rx_cnt,
    148 SUM(pcf.DSPNSD_QTY) as rx_qty,
    149 SUM(pcf.DAY_SUPLY_CNT) as rx_day
    150 FROM
    151 PHRMCY_CLM_FACT pcf,
    152 MBR_ID_DMNSN mid,
    153 DRUG_DMNSN dd,
    154 PRVDR_DMNSN pd,
    155      BIPLR_UP_V1 blpr
    156 WHERE
    157 (BIPLR_UP_V1.mbr_id = MBR_ID_DMNSN.UNIQ_MBR_ID) And
    158 (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
    159 (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And
    160 (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
    161 (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And
    162 (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
    163 (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN &q.&fdos.&q and &q.&ldos.&q)
    164 );
    ERROR: ORACLE prepare error: ORA-00904: "PHRMCY_CLM_FACT"."LAST_SRVC_DT": invalid identifier. SQL statement: SELECT
    mid.UNIQ_MBR_ID as uniq_mrb_id, blpr.mrb_id.mbr_id, pd.PRVDR_SPCLTY_DESC as pcp_spc, pcf.LAST_SRVC_DT as
    rx_date, dd.BRAND_NAME as brand, dd.GNRC_NAME as generic, dd.AHFS_THRPTC_CLS_CD as ahfs_cd,
    dd.AHFS_THRPTC_CLS_DESC as ahfs_dsc, dd.LABEL_NAME as lbl, dd.STRNGTH_NUM as strngth, dd.STRNGTH_UNIT_DESC as
    unt, dd.SPECF_THRPTC_CLS_CD as spc_tx_cls_cd, dd.SPECF_THRPTC_CLS_DESC as spc_tx_cls_dsc, dd.GCN_NUM as gcn,
    pcf.PRSCRPTN_NUM as rx_num, SUM(pcf.INGRDNT_AMT) as rx_ingrd, SUM(pcf.PD_AMT) as rx_paid, SUM(pcf.UNIT_SRVC_CNT)
    as rx_cnt, SUM(pcf.DSPNSD_QTY) as rx_qty, SUM(pcf.DAY_SUPLY_CNT) as rx_day FROM PHRMCY_CLM_FACT pcf,
    MBR_ID_DMNSN mid, DRUG_DMNSN dd, PRVDR_DMNSN pd, BIPLR_UP_V1 blpr WHERE (BIPLR_UP_V1.mbr_id =
    MBR_ID_DMNSN.UNIQ_MBR_ID) And (PHRMCY_CLM_FACT.FINL_CLM_KEY = PHRMCY_FINL_CLM_DMNSN.FINL_CLM_KEY) AND
    (PHRMCY_CLM_FACT.MBR_KEY = MBR_ID_DMNSN.MBR_KEY) And (PHRMCY_CLM_FACT.BNFT_KEY = MBR_BNFT_DMNSN.BNFT_KEY) And
    (PHRMCY_CLM_FACT.DRUG_KEY = DRUG_DMNSN.DRUG_KEY) And (PHRMCY_FINL_CLM_DMNSN.CLM_ORGN_CD IN ('M','A')) AND
    (PHRMCY_CLM_FACT.LAST_SRVC_DT BETWEEN '01JUN2007' and '30SEP2009').
    NOTE: PROC SQL set option NOEXEC and will continue to check the syntax of statements.
    165 execute (drop table biplr_up_v1) by rosdwp;
    NOTE: Statement not executed due to NOEXEC option.
    166 disconnect from rosdwp;
    NOTE: Statement not executed due to NOEXEC option.
    167 quit;
    NOTE: The SAS System stopped processing this step because of errors.
    NOTE: PROCEDURE SQL used (Total process time):
    real time 0.24 seconds
    cpu time 0.02 seconds
    168
    Edited by: user12142482 on Nov 2, 2009 4:02 PM

  • How to create an error message which doesn't allow submitting form ?

    Hi,
    is there a way to create an error message so that the user can't submit the form until the error is solved?
    On my form I am doing some validation checks when the user hits the button to submit the form via e-mail.
    So if something on the form isn't filleld out correctly the user gets an error message. But after the user has clicked ok on the error message he can still send the form.
    So I am searching for a way that he can only submit the form if he has resolved the problems.
    I tried with
    xfa.host.messageBox("material is not valid!" , "error", 0);
    but this only shows the error messagen and doesn't prevent the next step.
    Can I solve this with using a different type of error message, or user different parameters at the messageBox?
    Thanks for your help.
    Martin

    hi Martin Beyer
    try like this.
    in submit button CLICK event u have to right validation for fields which u want to check.
    example :  here iam validating two varibles.
    var sub=0;
    if(sub==0)
    if(fields2.item(i).rawValue == null && fields.item(i).rawValue != null)
         sub++;
         xfa.host.messageBox("Status of Achievement is Mandatory");
         xfa.host.setFocus(fields2.item(i));
         break;
    if(sub==0)
              var Repe = xfa.host.messageBox("Do you want to Submit now???", "Warning", 2, 2);
              if (Repe == 4)
                   sub=0;
              else
                   sub++;                              
    hope it will help you.

  • "Unable to create volume" error when exporting

    Exporting photos from iPhoto gives me the "unable to create Volume" error. iPhoto and Mountain Lion are the latest versions, and most recent updates. Library of 30,000 images is currently on an NAS. Destination drive is formatted Mac OSX Extended (Journaled, Encrypted).
    Library has already been rebuilt. No change.
    PNGs have been deleted from library. No change.
    Tried batch re-titling every image in the library library, and exporting so that exported files were named according to title, followed by a number--thus no two files would have the same name. No change.
    Any suggestions?

    Library of 30,000 images is currently on an NAS.
    Likely cause right there.
    iPhoto needs to have the Library sitting on disk formatted Mac OS Extended (Journaled). Users with the Library sitting on disks otherwise formatted regularly report issues including, but not limited to, importing, saving edits and sharing the photos.
    Select one of the affected photos in the iPhoto Window and go File -> Reveal in Finder -> Original. A Finder Window should open with the file selected. Does it?

  • Dynamic table in Oracle report data model using laxical parameter is giving error Ora-00936: missing expression

    Hi ,
    I am using Oracle report 10G
    And trying to create report with dynamic table
    SELECT &COL1, &COL2
    FROM &TAB
    If I put this on data model it gives below error
    ORA-00936: missing expression
    ==> from
    Can anybody advise to solve this issue.
    Regards,
    Brajesh

    Look in the Reports Builder Help:
    If you want to use lexical references in your SELECT clause, you should create a separate lexical reference for each column you will substitute. In addition, you should assign an alias to each lexical reference.
    Does adding the column alias solve the problem?

  • Satellite T110-10x gave me the error right at the first power on

    Hello!
    My new Satellite T110-10x gave me the error right at the first power on.
    http://i25.tinypic.com/33bhiqq.jpg
    I try to start in Safe Mode , same problem:
    http://i25.tinypic.com/2hdvfis.jpg
    I start HDD recovery procedure using F8 And Repair my computer options but tis "Repair my... " missing from Advanced Boot Option menu:
    http://i31.tinypic.com/2pz9xkz.jpg
    I make same like Dwardlow and all start normay like a new "machine".
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=53952
    Thanks very much Dwardlow, for your help!!
    PS: I`m from Romania, sorry for my bad english!

    Thanks for the feedback.
    Nice to know that this thread has helped you.
    http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=53952
    Thanks to user Dwardlow for nice workaround!

  • BIEE 11.1.1.5.0 install failed: Creating ASInstance Error

    hi gurus,
    I face a problem when I install BIEE 11.1.1.5.0 , it failed at Creating ASInstance Error . Can anyone help me ? Thanks in advance.
    platform info as below:
    OS: Linux version 2.6.18-131.el5.custom x86_64
    Database : Oracle database 11.2.0.1.0 (installed in the same machine as BIEE )
    The error displayedin install log: The oracle instance is not empty.
    extract part of install log as below:
    [2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Assigning Port: 9503 to: OPMN_LOCAL_PORT
    [2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Assigning Port: 9504 to: OPMN_REMOTE_PORT
    [2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.bi] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Assigning Port: 9505 to: OPMN_REQUEST_PORT
    [2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Setting valueOf(OPMN_LOCAL_PORT) to:<SECURE>. Value obtained from:USER
    [2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Setting valueOf(OPMN_REMOTE_PORT) to:<SECURE>. Value obtained from:USER
    [2012-02-07T20:31:21.060+08:00] [as] [NOTIFICATION] [] [oracle.as.install.engine] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Setting valueOf(OPMN_REQUEST_PORT) to:<SECURE>. Value obtained from:USER
    [2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Executing a Jaxb workflow ...
    [2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Begining Oracle Fusion Middleware Configuration ...
    [2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] ENTRY ASDomain.connectToAdminServer
    [2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] ENTRY ASDomain._connectToAdminServer
    [2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] ENTRY ASDomain._getAdminServer
    [2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] RETURN: _getAdminServer
    [2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: ENTRY........
    [2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: eventStatus........oracle.as.provisioning.engine.ConfigEventStatus@5798795f
    [2012-02-07T20:31:21.083+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: 2........
    [2012-02-07T20:31:21.084+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: Set the Extion Id to START........
    [2012-02-07T20:31:21.084+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: Did the assignment...
    [2012-02-07T20:31:21.084+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: EXIT........
    [2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] RETURN: _connectToAdminServer
    [2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] RETURN: connectToAdminServer
    [2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] The action type for asinstance is CREATE
    [2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] ENTRY ASInstanceProv.createInstance
    [2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] ENTRY ASInstanceProv._createInstance
    [2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: ENTRY........
    [2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: eventStatus........oracle.as.provisioning.engine.ConfigEventStatus@563803f0
    [2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: 2........
    [2012-02-07T20:31:21.092+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: Set the Extion Id to START........
    [2012-02-07T20:31:21.093+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: Did the assignment...
    [2012-02-07T20:31:21.093+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] reportStartConfigAction: EXIT........
    [2012-02-07T20:31:21.093+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Values of opmn port passed by the Install: opmnLocalPort=9500
    [2012-02-07T20:31:21.093+08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: directoryIsPopulated] directoryIsPopulated found unexcluded file/dir: /home/admin/bea/instances/instance1/diagnostics/logs/OracleBIServerComponent
    [2012-02-07T20:31:21.094+08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: directoryIsPopulated] directoryIsPopulated found unexcluded file/dir: /home/admin/bea/instances/instance1/diagnostics/logs
    [2012-02-07T20:31:21.094+08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: directoryIsPopulated] directoryIsPopulated found unexcluded file/dir: /home/admin/bea/instances/instance1/diagnostics
    [2012-02-07T20:31:21.094+08:00] [as] [TRACE:16] [] [oracle.as.config] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: locateRequiredFiles] Required file is missing: /home/admin/bea/instances/instance1/config/OPMN/opmn/opmn.xml
    [2012-02-07T20:31:21.094+08:00] [as] [TRACE:32] [] [oracle.as.config] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [SRC_CLASS: oracle.as.config.impl.OracleASInstanceProvisioner] [SRC_METHOD: calcDirectoryStatus] Oracle Instance directory status: POPULATED_NONINSTANCE
    [2012-02-07T20:31:21.094+08:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [[
    oracle.as.config.exception.LocationAlreadyUsedException: The oracle instance is not empty. Select a different location or remove the instance at this location.
         at oracle.as.config.impl.OperationValidator.validateInstanceLocationForCreate(OperationValidator.java:205)
         at oracle.as.config.impl.OracleASInstanceImpl.create(OracleASInstanceImpl.java:78)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:249)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:166)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:116)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:523)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:439)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         at oracle.as.install.bi.biconfig.standard.StandardWorkFlowExecutor.executeHelper(StandardWorkFlowExecutor.java:31)
         at oracle.as.install.bi.biconfig.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:81)
         at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
         at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    [2012-02-07T20:31:21.095+08:00] [as] [NOTIFICATION] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] Exit code from OPMNAdmin : 0
    [2012-02-07T20:31:21.095+08:00] [as] [ERROR] [] [oracle.as.provisioning] [tid: 34] [ecid: 0000JLNfov38_qQ5yb9DiW1FCH0300000P,0] [[
    oracle.as.provisioning.engine.CfgWorkflowException
         at oracle.as.provisioning.engine.Engine.processEventResponse(Engine.java:596)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:178)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:116)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:523)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:439)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:866)
         at oracle.as.install.bi.biconfig.standard.StandardWorkFlowExecutor.executeHelper(StandardWorkFlowExecutor.java:31)
         at oracle.as.install.bi.biconfig.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:81)
         at oracle.as.install.bi.biconfig.standard.AbstractProvisioningTask.execute(AbstractProvisioningTask.java:70)
         at oracle.as.install.bi.biconfig.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.bi.biconfig.BIConfigMain.doExecute(BIConfigMain.java:112)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:83)
         at java.lang.Thread.run(Thread.java:662)
    Caused by: oracle.as.provisioning.util.ConfigException:
    Error creating ASInstance instance1.
    Cause:
    An internal operation has failed: The oracle instance is not empty. Select a different location or remove the instance at this location.
    Action:
    See logs for more details.
         at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:317)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:166)
         ... 18 more
    Caused by: oracle.as.config.exception.LocationAlreadyUsedException: The oracle instance is not empty. Select a different location or remove the instance at this location.
         at oracle.as.config.impl.OperationValidator.validateInstanceLocationForCreate(OperationValidator.java:205)
         at oracle.as.config.impl.OracleASInstanceImpl.create(OracleASInstanceImpl.java:78)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:249)
         ... 19 more
    Rgs
    Chopsun

    Dhar,
    Thanks for your reply and advice, but I dont think that is the root cause,since this is the 1st time installation in this machine.(Configure Ports: Auto Port Configuration)
    I check the opmn.log file, it says:
    [2012-02-11T19:26:55][opmn][NOTIFICATION:1][90][OPMN]ONS server initiated
    [2012-02-11T19:26:55][opmn][NOTIFICATION:1][522][OPMN][code:pm-internal]PM state directory exists: /home/oracle/fmw/instances/instance1/config/OPMN/opmn/states
    [2012-02-11T19:26:55][opmn][TRACE:1][526][OPMN][code:pm-internal]PM state file does not exist: /home/oracle/fmw/instances/instance1/config/OPMN/opmn/states/.opmndat
    [2012-02-11T19:26:55][opmn][NOTIFICATION:1][675][OPMN][code:pm-internal]OPMN server ready.  Request handling enabled.
    [2012-02-11T19:26:55][opmn][ERROR:1][17][OPMN][code:ons-listener]10.20.143.232,9500: BIND (Cannot assign requested address)
    I tried for 2nd time and use *Specify Ports Using Configuration File* as Configure Ports option and use Configuration File as below:
    [oracle@inc-dw-151-60 ~]$ cat staticports.ini
    [WEBLOGIC]
    #The Domain port no. This is the listen port of Weblogic Adminserver for the domain.
    Domain Port No = 7001
    #The "content" port for the BIEE apps. This is the Weblogic Managed Server port on which BIEE applications are deployed.
    Oracle WLS BIEE Managed Server Port No = 8080
    #The SSL port for the Weblogic Managed Server
    Oracle WLS BIEE Managed Server SSL Port No = 9804
    [OPMN]
    #Process Manager Local port no
    Oracle Process Manager Local Port No = 6700
    #Process Manager Remote port no
    Oracle Process Manager Remote Port No = 6701
    #Process Manager Request port no
    Oracle Process Manager Request Port No = 6702
    [BIFOUNDATION]
    #The listen port for OracleBIServer component
    Oracle BI Server Port No = 9703
    #The monitor port for OracleBIServer component
    Oracle BI Server Monitor Port No = 9701
    #The listen port for OracleBIPresentationServices component
    Oracle BI Presentation Services Port No = 9710
    #The listen port for OracleBIScheduler component
    Oracle BI Scheduler Port No = 9705
    #The monitor port for OracleBIScheduler component
    Oracle BI Scheduler Monitor Port No = 9708
    #The script RPC port for OracleBIScheduler component
    Oracle BI Scheduler Script RPC Port No = 9707
    #The listen port for OracleBIClusterController component
    Oracle BI ClusterController Port No = 9706
    #The monitor port for OracleBIClusterController component
    Oracle BI ClusterController Monitor Port No = 9700
    #The listen port for OracleBIJavaHost component
    Oracle BI JavaHost Port No = 9810
    [ESSBASE]
    #The listen port for Essbase Agent
    Essbase Agent Port No = 1423
    For the 2nd time ,I still get the same error: * Creating ASInstance failed*
    the opmn.log changed as following:
    [oracle@inc-dw-151-60 fmw]$ cat instances/instance1/diagnostics/logs/OPMN/opmn/opmn.log
    [2012-02-12T09:44:09][opmn][NOTIFICATION:1][90][OPMN][code:ons-internal]ONS server initiated
    [2012-02-12T09:44:09][opmn][NOTIFICATION:1][520][OPMN][code:pm-internal]Create pm state directory: /home/oracle/fmw/instances/instance1/config/OPMN/opmn/states
    [2012-02-12T09:44:09][opmn][TRACE:1][526][OPMN][code:pm-internal]PM state file does not exist: /home/oracle/fmw/instances/instance1/config/OPMN/opmn/states/.opmndat
    [2012-02-12T09:44:09][opmn][NOTIFICATION:1][675][OPMN][code:pm-internal]OPMN server ready.  Request handling enabled.
    [2012-02-12T09:44:09][opmn][ERROR:1][17][OPMN][code:ons-listener]10.20.143.232,6700: BIND (Cannot assign requested address)
    I guess the problem is the opmn. I done know where the 10.20.143.232 comes ,my machine IP is 10.20.151.60..
    who can help me on this problem.
    Chopsun.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • After Effects CC "Unable to Create Font" error fix?

    Can some one help me with this complicated problem?
    My After Effects CC 2014 won't work due to "Unable to create font" error.
    Error appears when in the project footage is missing. When footage is found it runs perfectly fine.
    What's the solution?
    I'm running Windows 7 64Bit

    Footage - I mean Product pictures imported from Photoshop. No odd file names.
    Error appears on every project I have when I remove footage. *(replace product shot in photoshop for example)
    System info:
    Windows 7 Proffesional 64 Bit
    Intel Core i7 CPU 3.40Ghz
    Nvidia GeForce GTX 560 Ti
    12GB Ram

  • Create Task Error

    Users are getting a Create Task Error. This occurs when a User tries to submit the init form multiple times without actually going and filling the Forms that is assigned to them when the Init form is submitted..Anyone faced a similiar issue and has trouble shooted it. Please Share
    Thanks,
    Shaz

    DAQmx Base is a completely different driver than DAQmx. You cannot install DAQmx Base and use DAQmx functions. When you create the installer, select DAQmx to include as one of the 'Additional Installers'
    Actually, I get the feeling that you totally skipped over creating an installer. This is an option when you right click on 'Build Specifications' and is something you should have noticed when you created the exe.

  • How to resolve create type error?

    Hi all,
    I am duplicating the contents of schema1 to schema2 on the same database.
    So I used expdp schema1/schema1 .... exporting schema1. Then impdp schema2/schema2 remap_schema=schema1:schema2
    These 2 schemas have dba privilege.
    Why do I get this error:
    ORA-39083: Object type TYPE failed to create with error:
    ORA-02304: invalid object identifier literal
    Failing sql is:
    CREATE TYPE "C1DEVADM"."CMQTNQHT"   OID 'AC82C504E18C6A98E044001A4B08907C' AS TABLE OF CMQTNQHF;Thanks a lot,

    Hi;
    I already done exporting the data :(
    I guess it will be ok if I create the object types manually after impdp right?Yes.
    PS:Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding
    Regard
    Helios

  • After iTunes update, iTunes.exe System Error - msvcr80.dll missing  & icudt49.dll missing.

    After iTunes update, iTunes.exe System Error - msvcr80.dll missing. Followed the support suggestion & uninstalled then re-installed iTunes 5 times & still no good so followed Apples advice & uninstalled again then went into programme files & manually deleted the files re-installed again & now getting iTunes.exe System Error - icudt49.dll missing. I give up, anyone out there help ?

    I've just (finally) managed to fix this problem today. I checked the Apple Support forums, and it seems a lot of people are having the same problem.
    I rang the Apple Support line, and the very helpful man (thanks Alan!) talked me through it stage by stage. If you go to the following page on the internet:http://support.apple.com/kb/TS5376   it takes you through the process. WARNING - it takes a little time! The main purpose of this is to remove any trace of the old version of iTunes from your computer...
    Basically, the first thing you have to do is go to your Program Files and double click on your iTunes folder. There'll be a number of files with the suffix .dll - you need to move all the .dll files from that folder to your desktop - you can simply click and drag them on the desktop..
    Next, uninstall iTunes - go to Control Panel / Add/Rempve Programs and when the list comes up remove iTunes. This will take a few minutes... Then reboot your computer.
    Next, go back to Control Panel / Add Remove and Remove - IN THIS ORDER -
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support
    Reboot again!
    Next, check in your Program Files that the iTunes folder is completely gone - if it has, great: if it hasn't, right-click on the folder and press Shift and Delete - it will say "Are you sure you want to completely remove the folder "iTunes"? Click on "Yes".
    Reboot!
    Then go to the iTunes download page and voila! It should download iTunes without any problems... well it did for me.... Good luck!

Maybe you are looking for

  • How  change NLS_NUMERIC_CHARACTERS parameter for load external table

    Hi, I use this version: OWB 11gR2 Database 11gR2 Parameter NLS_NUMERIC_CHARACTERS Database ., Instance ,. When I created database with wizard and in this moment I don't set spanish language, later I changed this parameters in instance parameters. Now

  • Mail merge question

    I'm putting together a church directory in Pages. The info (including pictures) is stored in Address Book. Here are my issues: 1. Can I merge the pictures? I don't immediately see a way to do it, but I'm not as experienced as some. 2. How can I make

  • USB upgrade

    I have a 6390 with the KM266 chipset. Is it possible to upgrade the 1.1 USB's to 2.0?

  • Editing MP4 files in CS6 then importing into Premiere Elements 13

    I would like to import MP4 files from a Phantom Drone into Photoshop CS6 ---Edit those files--Then rather then making the movie in CS6 --import into Premiere Elements 13 to edit and render ..Is it possible to use both program's to enhance the final m

  • Mail does not make sounds.

    I am using Lion on a new MacBook Air, and after migrating my old data from my old MBP, I noticed that Mail no longer makes sounds for new mail or sent mail.  I did some research and found something related to IMAP settings, but I use POP, and still d