Export error oracle 8.1.7

I try to exp dump but i got this error...
EXP-00008: ORACLE error 4045 encountered
ORA-04045: errors during recompilation/revalidation of SYS.DBMS_AQ_IMPORT_INTERNAL
ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-905: object SYS.AQ$_SUBSCRIBERS is invalid
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_SYS_SQL", line 1076
ORA-06512: at "SYS.DBMS_SQL", line 316
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 84
ORA-06512: at "SYS.DBMS_EXPORT_EXTENSION", line 135
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully
Please hlp........

Try to run catqueue.sql in ORACLE_HOME/rdbms/admin as SYS or internal.
See Metalink Note:108099.1

Similar Messages

  • Export  error oracle 9.2.0.1

    hi, i want to get an export file for a table from Oracle 8.1.6.0 (on sun server 5500) using 9.2.0.1 server ( on another server machine) exp command like that :
    exp username/pass@string file=myexp.dmp tables=tablename
    when i give this command it gives me errors :
    EXP-00056 : Oracle error 942..
    ORA-00942 : table or view does not exist
    EXP-00000: ..unsuccessfully
    then i changed exp paramaters like that :
    exp username/pass@string file=myexp.dmp tables=tablename OWNER=owner name
    after that it gives me again an error :
    EXP-00026 conflictig modes specified
    EXP-00000: ..unsuccessfully
    i changed init.ora compatibility paramater 8.1.0.0 but result did not changed
    what can i do ?
    thanks...

    If the user doing the export is not the owner of the tables, then you need to use:
    exp username/pass@string file=myexp.dmp tables=table_owner.tablenameNote that the user oing the export needs the EXPORT_FULL_DATABASE role.
    HTH
    John

  • Export error - oracle 9i in windows server

    One of my export started giving error (it was working fine before but now it is giving error). Error is
    "LRM-00112: multiple values not allowed for parameter 'log'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully"
    the scipt is
    exp userid=user/password
    file=D:\db\exp\exp_db_%fdate%_%ftime%.dmp
    log=D:\db\exp\exp_db_%fdate%_%ftime%.log
    FULL=Y
    ROWS=Y
    the fdate and ftime are set like this (up in the script)
    set fdate=%date%
    set fdate2=%fdate: =-%
    set fdate=%fdate2%
    set fdate2=%fdate:/=-%
    set fdate=%fdate2%
    set ftime=%Time:~0,2%%Time:~3,2%%Time:~6,2%
    your help will be appreciated

    exp userid=user/password
    file=D:\db\exp\exp_db_%fdate%_%ftime%.dmp
    log=D:\db\exp\exp_db_%fdate%_%ftime%.log
    FULL=Y
    ROWS=Y
    This is the script for export. It has only one log file value. It was working fine for months and now all of a sudden it stopped working.

  • Oracle Export Error on QUERY Parameter

    Hi All,
    I would like to ask for assistance.
    Here's my environment:
    OS: Linux 5.4 32bit
    DB: Oracle 10.2.0.4
    Here's what I would like to do:
    Export selected rows from SH.SALES table using the query:
    SQL> select * from sh.sales
    where to_date(time_id,'DD-MON-RR:HH24:MI:SS') = to_date('28-DEC-01:00:00:00','DD-MON-RR:HH24:MI:SS');
    My parfile is:
    userid="sys/oracle as sysdba"
    buffer=10000000
    file=mysales148.dmp
    log=mysales148.log
    TABLES=sh.mysales
    query="where to_date(time_id,\'DD\-MON\-RR:HH24:MI:SS\')=\to_date(\'28\-DEC\-01:00:00:00\',\'DD\-MON\-RR:HH24:MI:SS\')"
    recordlength=65535
    statistics=none
    When I run the script, I am getting this error:
    [oracle@shaoran selective_export]$ exp parfile=exp_mysale.par
    Export: Release 10.2.0.1.0 - Production on Thu Feb 3 16:57:08 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in US7ASCII character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    Current user changed to SH
    . . exporting table MYSALES
    EXP-00056: ORACLE error 911 encountered
    ORA-00911: invalid character
    Export terminated successfully with warnings.
    Hope to hear your feedback soon.
    Thanks a lot!

    Hi Guys,
    Thanks for the feedback.
    I edited my parfile as shown here:
    [oracle@shaoran selective_export]$ cat exp_mysale.par
    userid="sys/oracle as sysdba"
    buffer=10000000
    file=mysales148.dmp
    query="where time_id=\to_date(\'28\-DEC\-01:00:00:00\',\'DD\-MON\-RR:HH24:MI:SS\')"
    log=mysales148.log
    TABLES=sh.mysales
    recordlength=65535
    statistics=none
    [oracle@shaoran selective_export]$
    and I did the following steps:
    [oracle@shaoran selective_export]$ export NSL_LANG=AMERICAN_AMERICA.UTF8
    [oracle@shaoran selective_export]$ exp parfile=exp_mysale.par
    Export: Release 10.2.0.1.0 - Production on Fri Feb 4 11:34:03 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Export done in UTF8 character set and AL16UTF16 NCHAR character set
    server uses WE8ISO8859P1 character set (possible charset conversion)
    About to export specified tables via Conventional Path ...
    Current user changed to SH
    . . exporting table MYSALES
    EXP-00056: ORACLE error 911 encountered
    ORA-00911: invalid character
    Export terminated successfully with warnings.
    [oracle@shaoran selective_export]$
    I still get the same error. :(

  • File does not exist: /export/home/oracle/orahtml/marvel/images/spacer.gif

    Seeing this error in the apache log:
    File does not exist: /export/home/oracle/orahtml/marvel/images/spacer.gif
    I know there are spacer.gif files under the theme folders but why is it looking for a spacer.gif file in the images folder? Is this a bug?

    Hello,
    Yes I just checked it's a problem with theme 9 there are a couple of places where the theme calls #IMAGE_PREFIX#spacer.gif when it should call #IMAGE_PREFIX#themes/theme_9/spacer.gif
    There are two ways for you to fix this
    1. Copy themes/theme_9/spacer.gif to the top level images directory, I recommend this one because then if someone creates the theme from the repository again it wont' come up agian.
    2. Change all #IMAGE_PREFIX#spacer.gif to #IMAGE_PREFIX#themes/theme_9/spacer.gif in theme 9, if you export the theme you can just us a search and replace the export to do this and then reapply the theme.
    This as been bugged and will get fixed in future version.
    Carl

  • Export errors after patch Database9i 9.2.0.1 to 9.2.0.5

    Dear OTN,
    I have problems with exports after appliying the patch 9.2.0.5 to 9.2.0.1. The database was created new under the new release.
    Solaris 8
    For example:
    $ exp seguridad/seguridad@silim owner=seguridad file=prueba2.dmp
    Export: Release 9.2.0.5.0 - Production on Wed Aug 11 14:17:16 2004
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Connected to: Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.5.0 - Production
    Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
    About to export specified users ...
    . exporting pre-schema procedural objects and actions
    . exporting foreign function library names for user SEGURIDAD
    . exporting PUBLIC type synonyms
    . exporting private type synonyms
    . exporting object type definitions for user SEGURIDAD
    About to export SEGURIDAD's objects ...
    . exporting database links
    . exporting sequence numbers
    . exporting cluster definitions
    EXP-00056: ORACLE error 31600 encountered
    ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3926
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 4050
    ORA-06512: at "SYS.DBMS_METADATA", line 836
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    If I execute a full the error terminate with:
    . exporting system procedural objects and actions
    . exporting pre-schema procedural objects and actions
    EXP-00008: ORACLE error 3113 encountered
    ORA-03113: end-of-file on communication channel
    EXP-00008: ORACLE error 1041 encountered
    ORA-01041: internal error. hostdef extension doesn't exist
    EXP-00000: Export terminated unsuccessfully
    But if I execute table by table the export work fine!!!
    Please any help with this are welcome!!
    Best regards,
    Alfredo.

    Normally the export error on EMIT_SCHEMA can happen if the catpatch.sql script was not run successfully after a patchset install.
    See Note:232120.1 on MetaLink
    Login as SYSDBA and run catpatch.sql (without other users logged in).

  • Oracle error - oracle initializarion or shutdown in progress

    Hi Experts,
    When I tried to connect to oracle there was an error "oracle initializarion or shutdown in progress"
    then i tried the following steps and the results are as below.
    still i could not connect to oracle. Kindly suggest me a good solution.
    C:\>sqlplus/nolog
    SQL*Plus: Release 9.0.1.0.1 - Production on Wed Jun 30 12:30:40 2010
    (c) Copyright 2001 Oracle Corporation. All rights reserved.
    SQL> connect sys/manager as sysdba
    Connected.
    SQL> exp
    SP2-0042: unknown command "exp" - rest of line ignored.
    SQL> export
    SP2-0042: unknown command "export" - rest of line ignored.
    SQL> shutdown
    ORA-01109: database not open
    Database dismounted.
    ORACLE instance shut down.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 118255568 bytes
    Fixed Size 282576 bytes
    Variable Size 83886080 bytes
    Database Buffers 33554432 bytes
    Redo Buffers 532480 bytes
    Database mounted.
    ORA-00600: internal error code, arguments: [2037], [8388610], [0], [0], [39],
    [4], [16], [0]

    As suggested by you, hereby i am attaching the alert log. Kindly do the needful..... thank u.
    Dump file G:\oracle\admin\ORACLE\bdump\oracleALRT.LOG
    Fri Jul 02 10:10:02 2010
    ORACLE V9.0.1.1.1 - Production vsnsta=0
    vsnsql=10 vsnxtr=3
    Windows 2000 Version 5.0 Service Pack 4, CPU type 586
    Starting up ORACLE RDBMS Version: 9.0.1.1.1.
    System parameters with non-default values:
    processes = 150
    timed_statistics = TRUE
    shared_pool_size = 46137344
    large_pool_size = 1048576
    java_pool_size = 33554432
    control_files = G:\oracle\oradata\ORACLE\CONTROL01.CTL, G:\oracle\oradata\ORACLE\CONTROL02.CTL, G:\oracle\oradata\ORACLE\CONTROL03.CTL
    db_block_size = 4096
    db_cache_size = 33554432
    compatible = 9.0.0
    fast_start_mttr_target = 300
    undo_management = AUTO
    undo_tablespace = UNDOTBS
    remote_login_passwordfile= EXCLUSIVE
    db_domain =
    instance_name = ORACLE
    dispatchers = (PROTOCOL=TCP)(SER=MODOSE), (PROTOCOL=TCP)(PRE=oracle.aurora.server.GiopServer), (PROTOCOL=TCP)(PRE=oracle.aurora.server.SGiopServer)
    background_dump_dest = G:\oracle\admin\ORACLE\bdump
    user_dump_dest = G:\oracle\admin\ORACLE\udump
    core_dump_dest = G:\oracle\admin\ORACLE\cdump
    sort_area_size = 524288
    db_name = ORACLE
    open_cursors = 300
    ifile = G:\oracle\admin\ORACLE\pfile\init.ora
    PMON started with pid=2
    DBW0 started with pid=3
    LGWR started with pid=4
    CKPT started with pid=5
    SMON started with pid=6
    RECO started with pid=7
    Fri Jul 02 10:10:05 2010
    starting up 1 shared server(s) ...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    starting up 1 dispatcher(s) for network address '(ADDRESS=(PARTIAL=YES)(PROTOCOL=TCP))'...
    Fri Jul 02 10:10:07 2010
    alter database mount exclusive
    Fri Jul 02 10:10:13 2010
    Successful mount of redo thread 1, with mount id 1596368193.
    Fri Jul 02 10:10:13 2010
    Database mounted in Exclusive Mode.
    Completed: alter database mount exclusive
    Fri Jul 02 10:10:13 2010
    alter database open
    Fri Jul 02 10:10:14 2010
    Beginning crash recovery of 1 threads
    Fri Jul 02 10:10:15 2010
    Started first pass scan
    Fri Jul 02 10:10:17 2010
    Completed first pass scan
    Fri Jul 02 10:10:19 2010
    Started recovery at
    Thread 1: logseq 1685, block 2, scn 0.86480005
    Recovery of Online Redo Log: Thread 1 Group 1 Seq 1685 Reading mem 0
    Mem# 0 errs 0: G:\ORACLE\ORADATA\ORACLE\REDO01.LOG
    Fri Jul 02 10:10:21 2010
    Errors in file G:\oracle\admin\ORACLE\udump\ORA01568.TRC:
    ORA-00600: internal error code, arguments: [2037], [8388610], [0], [0], [39], [4], [16], [0]
    ORA-600 signalled during: alter database open...

  • Is it possible to export (expdp) oracle table from client machine ?

    Is it possible to export (expdp*) oracle table from client machine, without using Remote desk top connection ?*
    1) Database-10g server is in America
    2) client machine is in India
    3) Oracle client-10g software is installed in my machine
    4) I am able to connect to the server, could see all tables
    5) one table is with 35 million record, I wanted to export this table using data pump, is it possible?
    note: without using Remort desk top connection.

    Hi
    I used the following syntax , but I am getting error
    6) connect sys as sysdba
    create directory test_dir as '/dbusr1/exp_test'
    grant read, write on directory test_dir to user1;
    7) expdp user1/pwd1@xyz tables=test_1 directory=test_dir dumpfile=test_file.dmp logfile=test_file.log
    8) Errors
    In linux prompt I am getting this error
    -bash: expdp: command not found
    In windows cmd prompt I am getting this error
    ORA-39002: invalid operation
    ORA-39070: Unable to open the log file.
    ORA-29283: invalid file operation
    ORA-06512: at "SYS.UTL_FILE";, line 488
    ORA-29283: invalid file operation
    9) why ?
    -- Does the user ( "user1") should have any system level privilege ? to export his own table?
    -- This folder ('/dbusr1/*exp_test'*) has write privilege in os level.
    Thanks in advance
    sbmk_design
    Edited by: sbmk_design on Aug 24, 2009 12:06 AM

  • The error: "Oracle Error 904 / Invalid Column name"

    When I try to take the Oracle Backup with the Exp command. I got the following error.
    The error: "Oracle Error 904 / Invalid Column name" .
    Any solution or suggestion?????????

    Asif, to add another question to the list of things to check. Is the version of the exp utility you are using to perform the export operation the same version as the database? If not, that would explain the error.
    If you are trying to export using a newer version of the export utility that generally will not work. You should switch to using the db version.
    If you are exporting using an older version because the target is an older version then usually you need to run the catexp# where # is the version number script for the target version that Oracle provides in the $ORACLE_HOME/rdbms/admin directory.
    HTH -- Mark D Powell --

  • Data export(ttbulkcp) Oracle TimesTen Question

    I'm trying to export an Oracle TimesTen(TimesTen Release 11.2.1.5.0) with ttbulkcp(Data export), using SQL Developer Version 2.1.1.64
    All other functions are normal operation. Also ttbulkcp(Data export) in Oracle Table is normal operation. But , I get the following error in ttbulkcp(Data export) in TimesTen Table.
    java.lang.NullPointerException
         at oracle.dbtools.raptor.format.ResultsFormatterWrapper.getColumnCount(ResultsFormatterWrapper.java:67)
         at oracle.dbtools.raptor.format.ResultsFormatter.getColumnCount(ResultsFormatter.java:130)
         at oracle.dbtools.raptor.timesten.format.TimesTenLoaderFormatter.getColumns(TimesTenLoaderFormatter.java:207)
         at oracle.dbtools.raptor.timesten.format.TimesTenLoaderFormatter.printColumnData(TimesTenLoaderFormatter.java:183)
         at oracle.dbtools.raptor.timesten.format.TimesTenLoaderFormatter.start(TimesTenLoaderFormatter.java:73)
         at oracle.dbtools.raptor.format.ResultSetFormatterWrapper.print(ResultSetFormatterWrapper.java:150)
         at oracle.dbtools.raptor.format.ResultsFormatter.print(ResultsFormatter.java:200)
         at oracle.dbtools.raptor.format.ResultsFormatter.doPrint(ResultsFormatter.java:416)
         at oracle.dbtools.raptor.dialogs.actions.TableExportAction$5.doWork(TableExportAction.java:637)
         at oracle.dbtools.raptor.dialogs.actions.TableExportAction$5.doWork(TableExportAction.java:634)
         at oracle.dbtools.raptor.backgroundTask.RaptorTask.call(RaptorTask.java:193)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$RaptorFutureTask.run(RaptorTaskManager.java:492)
         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
         at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
         at java.util.concurrent.FutureTask.run(FutureTask.java:138)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
         at java.lang.Thread.run(Thread.java:619)
    Driver not capable
    Thank you.
    GooGyum

    If you have a DB support contract, I suggest you open a SR on Metalink/MOS, to get official response and follow-up, else you can hope someone from development picks it up here.
    Regards,
    K.

  • Export-Error Message EXP-00003

    Dear List
    I'm using Oracle 9.2.0.5 on Windows.
    Seventeen Tables in the schema have Spatial-Columns (MDSYS.SDO_GEOMETRY).
    I try to export the schema.
    For 2 tables the Exp-program gives the error message EXP-00003.
    When I set all spatial-values in these tables to null by an UPDATE-Statement the Export-Error still occures.
    When I drop the spatial-column and then reintroduce it the Export-error disappears.
    The error comes back, after filling the spatial-column with data again.
    Documentation says:
    EXP-00003 no storage definition found for segment(number, number)
    Cause: Export could not find the storage definitions for a cluster, index, or table.
    Action: Record the accompanying messages and report this as an Export internal error to Oracle Customer Support.
    Any suggestions?

    You could be using a older version (9.2.0.4) of the export utility.
    Check note 274076.1 on metalink for details.

  • Adobe media encoder export error  "writer not found"

    When trying to export to wmv using adobe media encoder I get an export error of "writer not found". I did a search and found others having the same issue with no fix as far as I can see. Just wondering if anyone has any more iformation on this. I'm using Vista Ultimate and Premiere CS3.
    Thanks

    I registered the WMEncoderHelper.exe file with regserv, but I still get
    the "writer not found error". I wish I knew what codec it is trying to find and use.

  • Quicktime Export Error: "An output module stopped responding."

    I'm experiencing an odd export error whenever I use any Quicktime codecs:
    "After Effects error: An output module stopped responding. The file may be damaged or corrupted. You may need to restart After Effects."
    Similarly, Adobe Media Encoder hangs when outputting to Quicktime codecs. Neither program makes any progress at all before the hang occurs. At that point, I have to manually "end task" to exit. Also, it doesn't seem to matter what I try to export. In AME, for example, I can simply try to convert one video format to another and have it hang, so I don't think the problem is due to a problem with the source settings or effects. Also, I'm not attempting any multiprocessing since I don't really have enough RAM for that. Other output modules work, so I'm just exporting image sequences for the time being.
    System specs:
    Windows 7 64-bit
    Intel i7-2600k processor
    8 GB RAM
    GTX 580 GPU
    Software:
    Adobe CS6
    AE Plugins include Tracode Suite 12 and Optical Flares
    Quicktime 7.7.3
    Any thoughts on this? I've seen very few references to this error in other places, and not really found a solution that seems to apply to my situation. Thanks in advance for your help.
    Josh

    Thanks for setting me in the right direction. Clicking through to the 25 :: 101 error page (http://myleniumerrors.com/2013/01/06/25-101-4/) led me to a reference about other software, such as remote access software, using the same ports that AE needs for communication with its various processes. In my case, LogMeIn was the culprit. I had no idea that AE even used TCP for these types of operations, so that's very helpful to know.
    *EDIT*
    That worked temporarily, and now it doesn't work. I ran into a similar effect when I first disabled the Windows Firewall. But of course, as I type this and piddle around, it works again. It SEEMS like if I open AME and click into the output settings and scrub through the video preview, it makes everything work when I go to actually export. That's exactly the type of thing I would say is completely unrelated under normal circumstances, but at the moment all I know is that it is currently working and I don't want to test anything else until I finish the rendering I need to accomplish today. I'll work on it more later and post an update at that time.
    Thanks,
    Josh

  • PE 7 memory and export errors

    In Premiere Elements ver 7, I have put together a 4 1/2 minute video made up of mpeg4 HD 720p mixed with regular avi digital footage. I am having memory errors and export errors when trying to render into a wmv or mpeg file.  When working on previous videos with non-HD footage, I didn't have these issues. I also recently put together a 1 minute mpeg4 HD 720p video rendered into HD 720p wmv file without any issues.
    1) memory errors - I got these when I was putting the video together and when rendering. After a lot of restarting the PC and reworking the video, I was able to finally complete in pre-render format.  It includes music soundtrack and transitions/effects.
    Here are my PC's specs:
    Dell Inspiron 530 with Intel Quad Core CPU 2.66Ghz processor
    4 GB RAM
    32 bit OS
    Windows Vista SP1
    When rendering, I get the "caution - low memory, save your work" message. I have since set the virtual memory paging file size per Technote kb404939.  This seems to have helped a little bit but still getting the message even though it continues to render....but then I get the export error message....
    2) Export errors - I first tried to render into a wmv HD 720p 30fps file. In the first 1 of 2 rendering phase, I got the "Export Error - failed to return a frame - cancelling operation" message. I checked for gaps in the timeline and there are none. Even though I do have some black space/dip to black sequences, I can "page down" through the entire movie without any pauses or hiccups with the CTI (Current Time Indicator).
    I then tried to render into a smaller wmv LAN speed file, and it went through the first 1 of 2 phases rendering (with the low memory message but it kept on going). Just after it started into the 2 of 2 rendering phase, I got an error message saying "Export Error - Unknown Error".
    What to do? I'm very frustrated at this point after a great deal of time invested in this video and troubleshooting the issues. Please help. Thanks.

    What are the sources of your video? What types of camcorders did this video come from?
    Premiere Elements supports AVCHD video, but does not work well with video from Flip and webbie camcorders, which use proprietary codecs. They can also use non-standard frame rates. Conversion is usually necessary before the files can be edited in Premiere Elements.
    And does your DV footage come from a miniDV camcorder captured over FireWire? And what project settings are you using in Premiere Elements.
    I would also not recommend mixing HD and DV footage in the same project. This could also be contributing to your problems.
    I also recommend you visit Windows Update and manually download any (even non-critical) updates. Vista should be at least on SP2. You may also want to download the latest version of Quicktime.

  • 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

Maybe you are looking for

  • Issue during installation of Acrobat 9 Pro Extended trial version

    Hello, I have a problem during the installation of Acrobat 9 Pro Extended trial version. I downloaded the version from the Adobe website (so I have donwloaded APEX9_Win_WEB_WWEFG.exe and APEX9_Win_WEB_WWEFG.7z files). After that I copied the files to

  • Using UNIX command to copy desktop files/folders

    Hello All. I need help using UNIX command(s) to copy text documents and or folders from my lab computers to my desktop at home. Since I have such a slow connection, I think this will work best. I need help with the cp command and the path mostly. Sin

  • Viewers are not working

    I got the program to load (see prior question). Now the viewers do not function correctly. I am working on a memorial video using pictures. I am working from project that was working. When I click on a picture, it does not showing in the source viewe

  • How to create a model access class ???

    HI,       Can somebody tell me how to create a Model Access Class. In the Application Set, i can find the Model Access folder, but it has a list of application sets which is already created and the system asks to select a Application set. I need to c

  • NOKIA N79 CANT BACKUP CONTACT DATA TO MEMORY CARD

    hello, I am not able to backup the contact data of my nokia n79 to memory card. When performing the above function the progress bar progresses for sometime goes 50 % completed and then returns to the home screen. Tried formatting the phone/MC as well