Query in export on vms

greetings:
could any1 help me with the syntax for using a query in an oracle817 export sitting on openVMS operating system?

Following metalink note would help you,
Metalink Note:46164.1 Subject:      Vms: Exporting To Tape From Unix To Import On OpenVMS
Jaffar

Similar Messages

  • Error In Query Level export with  multiple conditions

    When i am running the following Query for Export with i am getting the result.
    C:\Documents and Settings\ITL>exp scott/tiger@orcl tables=(emp) QUERY='"WHERE deptno > 10 and sal !=2850"' LOG=log011.log FILE=exp.dmp
    Export: Release 10.2.0.1.0 - Production on Wed Jan 30 10:01:27 2013
    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 WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    About to export specified tables via Conventional Path ...
    . . exporting table EMP 10 rows exported
    EXP-00091: Exporting questionable statistics.
    EXP-00091: Exporting questionable statistics.
    Export terminated successfully with warnings.
    But When I run with The following condition then it shows the following error...
    C:\Documents and Settings\ITL>exp scott/tiger@orcl tables=(emp) QUERY='"WHERE deptno > 10 and job!='CLERK' "' LOG=log011.log FILE=Exp01.dmp
    LRM-00111: no closing quote for value ' LOG=log01'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully
    C:\Documents and Settings\ITL>exp scott/tiger@orcl tables=(emp) QUERY="WHERE deptno > 10 and job!='CLERK'" LOG=log5.log FILE=exp01.dmp
    LRM-00112: multiple values not allowed for parameter 'query'
    EXP-00019: failed to process parameters, type 'EXP HELP=Y' for help
    EXP-00000: Export terminated unsuccessfully
    Please suggest a solution for it.

    966523 wrote:
    Padma.... wrote:
    Hi,
    The single quotes used for CLERK are causing the issue most probably.
    C:\Documents and Settings\ITL>exp scott/tiger@orcl tables=(emp) QUERY='"WHERE deptno > 10 and job!='CLERK' "' LOG=log011.log FILE=Exp01.dmp
    try replacing with this
    C:\Documents and Settings\ITL>exp scott/tiger@orcl tables=(emp) QUERY='"WHERE deptno > 10 and job!=''CLERK'' "' LOG=log011.log FILE=Exp01.dmp
    Two single quotes(not double quotes) in the place of one single quote for CLERK.
    Thanks
    Padma...Thanks A Lot...if/when you place all inside control file, then you do not have to worry about such complications

  • Query For Exporting URL

    Hi All,
    I have query related exporting object to dev to QA, and QA to PRD.
    So i want to see the url address. so plz suggest me how can i see these url?
    Please suggest me the step to see.
    Thanks
    Amit

    Amit,
    Are u asking about the Track URL's for configuring CMS. If yes then
    <b>Repository tracks</b>
    http://host:port/rep/
    http://host:port/rep/
    http://host:port/rep/
    <b>Directory tracks</b>
    http://host:port/dir/
    http://host:port/dir/
    http://host:port/dir/
    Best regards,
    raj.

  • Need a query for export table data .....

    Hi,
    I need a query for exporting the data in a table to a file.
    Can anyone help me ?
    Thanking You
    Jeneesh

    SQL> spool dept.txt
    SQL> select * from dept;
        DEPTNO DNAME          LOC
            10 ACCOUNTING     NEW YORK
            20 RESEARCH       DALLAS
            30 SALES          CHICAGO
            40 OPERATIONS     BOSTON
    SQL> spool off
    SQL> ed dept.txt

  • Connect to Universe, query and export as xml

    hello,
    I'm trying to do the following:
    Connect to a Universe, query and export as xml the results of this query. I want to do it with java not via Crystal Reports. To afterwards import the xml in another Universe.
    So far I've tried connecting with The Bussiness Objects Enterprise SDK but I think Im not in the correct path. I can see the Universe I want to connect as a CI_APPOBJECTS by quering.
    Which SDKs should I use? What procedure do you recommend?
    Thanks a lot

    Hi,
    I have a problem  with my code using Report Aplication Server SDK.
    In my imports I have:
    import com.businessobjects.sdk.biar.IExportOptions;
    import com.businessobjects.sdk.biar.internal.ExportOptions;
    import com.crystaldecisions.sdk.exception.SDKException;
    import com.crystaldecisions.sdk.framework.CrystalEnterprise;
    import com.crystaldecisions.sdk.framework.IEnterpriseSession;
    import com.crystaldecisions.sdk.framework.ISessionMgr;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObject;
    import com.crystaldecisions.sdk.occa.infostore.IInfoObjects;
    import com.crystaldecisions.sdk.occa.infostore.IInfoStore;
    import com.crystaldecisions.sdk.occa.managedreports.IReportAppFactory;
    import com.crystaldecisions.sdk.occa.report.application.OpenReportOptions;
    import com.crystaldecisions.sdk.occa.report.application.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.application.PrintOutputController;
    import com.crystaldecisions.sdk.occa.report.exportoptions.*;
    But it was an error when I call three methods:
    IXMLExportFormat xmlExportFormat = new XMLExportFormat();
              XMLExportFormats xmlExportFormats = new XMLExportFormats();
              IXMLExportFormatOptions xmlExpFormatOpts = new XMLExportFormatOptions();
              xmlExportFormats = rcd.getPrintOutputController().getSavedXMLExportFormats(); //this
              int index = xmlExportFormats.getDefaultExportSelection();
              xmlExpFormatOpts.setXMLExportSelection(index);
              xmlExportFormat = xmlExportFormats.getXMLExportFormat(index);
              IExportOptions expOpts = new ExportOptions();
              expOpts.setExportFormatType(ReportExportFormat.XML);//this
              expOpts.setFormatOptions(xmlExpFormatOpts);//this
    ¿Where is the problem?

  • Exporting snapshotted VMs and dynamic memory

    We have a production VM which uses dynamic memory. Unfortunately, someone decided to snapshot this machine and now we cannot export the VM using the hyper-v "Export" facility.
    Export gives a warning message indicating that VMs and snapshots cannot be imported into Server 2008R2 and that dynamic memory must be turned off prior to exporting. Here's the message:
    I can turn off dynamic memory in the main VM but each snapshot has its own setting for dynamic memory. I can see the setting, dynamic memory is on but it is grayed out.
    As a backup, I want to export the VM prior to merging the snapshots. How can I do this?
    Thanks,
    Alan
    [email protected]
    Alan MacKenzie [email protected]

    Yes, you cannot import to Server 2008 R2, you can only import to Server 2008 R2 SP1 or newer.
    You cannot go backward in the version of the hypervisor, that is what it is warning about.  It is not a block, it is just information.  You can still Export and Import (if necessary) to a 2008 R2 SP1 or 2012 machine.
    In regards to the snapshot.  That is a different issue.  Simply delete the saved state portion (the running memory part) of the snapshot.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

  • FR query ready export gives error

    Hi
    We are exporting a FR report in Query ready mode to Excel but its giving javascript error as Permission Denied.
    Any idea.
    Thanks

    You could check this IE settings :
    1. From the Tools menu, click Internet Options.
    2. Click Advanced.
    A. Scroll to "Disable script debugging". Check the option.
    B. Scroll to "Display a notification about every script error". Un-check the option.
    3. Click the Security tab.
    4. Click Internet, and then click Custom Level.
    5. In the Security Settings list, scroll to Miscellaneous.
    6. Set "Access data sources across domains" to "Enable" or "Prompt".
    Thanks...

  • Query Result export problem

    When I attempt to export query results, I consistently get an error and am unable to get any export. I have taken the following steps:
    1. Right click output grid.
    2. Select Export >
    3. Select any format.
    These steps result in this error, in a dialog box:
    ORA-00907: missing right parenthesis (dialog title)
    An error was encountered performing the requested operation:
    ORA-00907: missing right parenthesis
    Vendor code 907
    I am on Windows XP SP2, and I have been reporting this and similar errors through several of the beta Raptor / SQLDeveloper versions. It is still occurring in the production version. Please let me know if I may provide any further information.

    Here is the query, which has only 4 columns: EWUID, FULL_NAME, PROGRAM, and STYP. The query returns 48 rows.
    SELECT DISTINCT
    p.id_number ewuid,
    p.full_name_lfmi full_name,
    r.program,
    'Recruit' AS styp
    FROM as_person p, as_recruitment_information r
    WHERE
    p.person_uid = r.person_uid
    AND r.program IN ('POST-BACH','CERT-TEACHER')
    UNION ALL
    SELECT DISTINCT
    p.id_number ewuid,
    p.full_name_lfmi full_name,
    a.program,
    CASE WHEN APPL_ACCEPT_ANY_TIME_IND = 'Y' THEN 'App and Stu' ELSE 'Applicant' END AS styp
    FROM as_person p, as_admissions_application a
    WHERE
    p.person_uid = a.person_uid
    AND a.program IN ('POST-BACH','CERT-TEACHER')
    -- PROGRAM: PB_Curriculum.SQL
    -- AUTHOR: BEN MORGAN
    -- DATE: 5/4/2006
    -- PURPOSE: GENERATE LIST OF ALL Post-Bac APPLICANTS with invalid
    -- curriculum programs (POST-BACH and CERT-TEACHER) for
    -- manual cleanup.
    The query looks at 3 views - as_person, as_recruitment_information, and as_admissions_application. I can post the code that generates each view, but that would take pages, so please let me know if you need it.
    However, I can successfully export the following query:
    select *
    from as_admissions_application
    where STUDENT_POPULATION = 'R'
    as_admissions_application is one of the same views as in the query above - so it isn't a specific problem with the view. The difference is the commenting I have below the query. These are legal SQL comments, and they document what I'm using the query for. I've tried putting a semi-colon after the comments, but that doesn't work either. But I think the comments are the issue.
    Our version of Oracle is: Oracle9i Enterprise Edition Release 9.2.0.5.0 - 64bit Production.

  • Using a query to export XML

    I have to export data from an existing schema. The data has to be in XML and it has to conform to an XML schema I was sent. The datatypes match, but none of the table names or column names match.
    Is there an easy way to do this?
    Thanks,
    Jeremy.

    Hi Steve,
    Did you ever solve this? I'm having a similar issue while trying to build a Report Query that I want to build with nested elements.
    &lt;?xml version="1.0" encoding="UTF-8" ?&gt;
    - &lt;ROWSET&gt;
    - &lt;ROW&gt;
    &lt;EE_ID&gt;467&lt;/EE_ID&gt;
    &lt;EE_GRIDS&gt;
    &lt;EE_GRID INDEX="1"&gt;
    &lt;EE_INCENTIVE_CASH_PROGRAM&gt;MIP&lt;/EE_INCENTIVE_CASH_PROGRAM&gt;
    &lt;EE_BONUS&gt;20&lt;/EE_BONUS&gt;
    &lt;/EE_GRID&gt;
    &lt;EE_GRID INDEX="2"&gt;
    &lt;EE_INCENTIVE_CASH_PROGRAM&gt;VIP&lt;/EE_INCENTIVE_CASH_PROGRAM&gt;
    &lt;EE_BONUS&gt;30&lt;/EE_BONUS&gt;
    &lt;/EE_GRID&gt;
    &lt;/EE_GRIDS&gt;
    &lt;/ROW&gt;
    - &lt;ROW&gt;
    &lt;EE_ID&gt;468&lt;/EE_ID&gt;
    &lt;EE_GRIDS&gt;
    &lt;EE_GRID INDEX="1"&gt;
    &lt;EE_INCENTIVE_CASH_PROGRAM&gt;MIP&lt;/EE_INCENTIVE_CASH_PROGRAM&gt;
    &lt;EE_BONUS&gt;20&lt;/EE_BONUS&gt;
    &lt;/EE_GRID&gt;
    &lt;EE_GRID INDEX="2"&gt;
    &lt;EE_INCENTIVE_CASH_PROGRAM&gt;VIP&lt;/EE_INCENTIVE_CASH_PROGRAM&gt;
    &lt;EE_BONUS&gt;30&lt;/EE_BONUS&gt;
    &lt;/EE_GRID&gt;
    &lt;/EE_GRIDS&gt;
    &lt;/ROW&gt;
    &lt;/ROWSET&gt;
    Thanks
    Keith
    Edited by: kmatthew on Mar 17, 2009 2:44 PM

  • Import & Export of VMs.

    If i import a VM from one forest and export it to other forest then how virtual switch and DHCP work for this?

    Hello Pawan,
    You can import/export from any forest to a different forest without any issue.
    The only thing that you want to pay attention is the Virtual Switch name.
    When you import the VM on the other forest, and Hyper-V detects that you don't have the Virtual Switch name, it will prompt you with error during the import process, then you can fix the issue and choose the existing vSwitch name and everything
    should back to normal.
    As for the VM hardware configuration, for example, if the VM was running on the former forest with 16 vCPUs and 16GB of RAMs, and then you import the VM on a host with less available resources E.g: 4 physical cores(8 logical), you will have compatibility
    issues during the import process, then you need to adjust these settings to match the new host.
    As for the vNIC, if you have another DHCP server in the latter forest, it will grab a new IP Address without any problem, and if the vNIC was set to Dynamic, it will get a new MAC address based on the Host MAC Address Range.
    Turn on the VM and you are good to go!
    Hope this help.
    Regards,
    Charbel Nemnom
    MCSA, MCSE, MCS, MCITP
    Blog: www.charbelnemnom.com
    Please remember to click “Mark as Answer” on
    the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community
    members reading the thread.

  • Query on Export to Excel- Help needed

    Hi All,
    I wanted to know if we can set a hidden field value when user clicks on the "export to excel" link in the reports.
    I am using the Apex Export feature itself. Is it possible to set an item value when user clicks on the link?
    If yes then how can we do it? If no can you please let me know the other options available?
    Thanks,
    Sumana

    Thanks Denes!
    I understood how to trigger the process on click of the export to csv link. As of now i will implement that in my application..
    I just wanted to know if "the" dialog box could be controlled.
    But later maybe,( if my client really needs it...), I will have to use my custom export to excel option. I have even downloaded your download-excel.
    But it says that it cant be used for pl/sql returning function....
    Is there a workaround on that?
    And I will tell you the difference it makes to my application.
    Current Requirement: I need to track the information (for e.g say user id's) that have been sold to a customer. I am doing this by inserting the data exported by user to the table. This must happen only when user saves the file. Only when user saves the file, the information is considered as "Slod".
    Now if the user click on export to csv link but simply opens or cancels the file download, that information is not considered as "Sold"
    Hence my need, that i could control the dialog box. Hope this clears your doubt.
    Regards,
    Sumana

  • Query on Export to Excel

    Hi All,
    I need some suggestions in using "Export to CSV"
    Situation is as follows:
    I have a report that gets dispalyed based on many search condiitions. Once the report is dispalyed, and the user clicks on Export to CSV link, i set a hidden item value as 1. My CSV link looks like this(I use this instead of the custom #CSV_LINK#) -
    href="f?p=&APP_ID.:&APP_PAGE_ID.:&APP_SESSION.:FLOW_EXCEL_OUTPUT_#REGION_ID#_en-us:::P0_capture_export:1:" >Export to Spreadsheet
    Based on this value I have written a pl/sql process that inserts data into table. If this has to be executed, the page needs to be submitted if i select process point as "On Submit". Or the page needs to be reloaded if i select process point as "On Load".
    But the problem is that, when user clikcs on "export to csv link" the page is not submitted, and neither is it reloaded.
    I need the page to be submitted only after the file dialog box appears.
    Any idea how this can be achieved? I tried Javascript reload. This only reloads the page and ignores the "Export request".
    Please help. Any suggestions are welcome.
    Thanks,
    Sumana
    Message was edited by:
    Sumana

    Sumana,
    What you may want to try is to have your custom link submit the page, run your onSubmit process, and then re-direct to another page where you could roll your own CSV export procedure and execute that in a before header process.
    You can use the same item references on the second page, so that your exported report has the same data as your displayed report.
    See my blog posting on creating custom CSV exports here: http://spendolini.blogspot.com/2006/04/custom-export-to-csv.html
    Thanks,
    - Scott -

  • Automate Query and Export in HTML to Sharepoint

    Hello,
    Currently I'm using Disco Plus and I'm finding out that I don't have the ability to automate a report and export the result. In this case, I'm wanting to export in HTML format to a Sharepoint drive.
    I found a recent post saying that there you can script it with Disco Desktop but I don't have that installed and I'm not certain where I can get it... is it possible to download and install yourself or would my IT group need to install it (i have admin privileges to my machine). Is there a licensing fee separate for Desktop? Here are my Disco and system particulars if that helps:
    OracleBI Discoverer 10g (10.1.2.2)
    Oracle Business Intelligence Discoverer Plus 10g (10.1.2.54.25)
    Discoverer Model - 10.1.2.54.25
    Discoverer Server - 10.1.2.54.25
    End User Layer - 5.1.1.0.0.0
    End User Layer Library - 10.1.2.54.25
    PivotMan

    Hi PivotMan
    It is possible to download and install Discoverer Desktop yourself as the install is very, very easy. There is, as you suspect, a license issue though in that Discoverer Desktop is not licensed along with your Plus and Viewer licenses and is priced, I believe, at $1,200 per seat.
    If your company has a Discoverer Adminstrator using the Administrator tool then you may not be aware that the license for Admin also includes a license for Desktop and it is probably already installed.
    Independently, you can download the Desktop software, as part of the Tools CD, from OTN at this address: http://www.oracle.com/technology/software/products/ids/htdocs/101202winsoft.html
    The download you want is the second one, the Oracle Business Intelligence Tools 1og (10.1.2.0.2) for Microsoft Windows.
    Be wary though because your company has probably upgraded Discoverer to either 10.1.2.2 or 10.1.2.3. You will need to do the same thing for Desktop by downloading the relevant patch from MetaLink. Also, please read the licensing agreement on OTN before downloading and using any Oracle software as you will be required to confirm that you have read and understood Oracle's terms and conditions.
    I hope this helps
    Best wishes
    Michael

  • Automate query that export to excel

    Hi,
    I'm not sure if this is the right place to post this question... but....
    I run some queries every day and export to an excel file and send by email every day, there is any way to make it automatic?
    Do anyone have any suggestion?
    Thanks,
    Leandro Takeda

    You can use Dump_Csv developed by tom kyte. Below is the code that i modified for my requirement.
    create or replace function  dump_csv( p_query     in varchar2,
                                          p_separator in varchar2
                                                        default ',',
                                          p_dir       in varchar2 ,
                                          p_filename  in varchar2 )
    return number
    AUTHID CURRENT_USER
    is
        l_output        utl_file.file_type;
        l_theCursor     integer default dbms_sql.open_cursor;
        l_columnValue   varchar2(2000);
        l_status        integer;
        l_colCnt        number default 0;
        l_separator     varchar2(10) default '';
        l_cnt           number default 0;
         l_colDesc          dbms_sql.DESC_TAB;
    begin
        l_output := utl_file.fopen( p_dir, p_filename, 'w' );
        dbms_sql.parse(  l_theCursor,  p_query, dbms_sql.native );
        for i in 1 .. 255 loop
            begin
                dbms_sql.define_column( l_theCursor, i,
                                        l_columnValue, 2000 );
                l_colCnt := i;
            exception
                when others then
                    if ( sqlcode = -1007 ) then exit;
                    else
                        raise;
                    end if;
            end;
        end loop;
        dbms_sql.define_column( l_theCursor, 1, l_columnValue, 2000 );
        l_status := dbms_sql.execute(l_theCursor);
         dbms_sql.describe_columns(l_theCursor,l_colCnt, l_colDesc);
         l_separator := '';
         for lColCnt in 1..l_colCnt
         loop          
                utl_file.put( l_output, l_separator ||  '"' || Upper(l_colDesc(lColCnt).col_name) || '"');
                   l_separator := p_separator;
         end loop;
         utl_file.new_line( l_output );
        loop
            exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
            l_separator := '';
            for i in 1 .. l_colCnt loop
                dbms_sql.column_value( l_theCursor, i,
                                       l_columnValue );
                utl_file.put( l_output, l_separator ||  '"' ||
                                        l_columnValue || '"');
                l_separator := p_separator;
            end loop;
            utl_file.new_line( l_output );
            l_cnt := l_cnt+1;
        end loop;
        dbms_sql.close_cursor(l_theCursor);
        utl_file.fclose( l_output );
        return l_cnt;
    end dump_csv;Thanks,
    Karthick.

  • SSCM Query to export Microsoft Products installed along with the last logged username and other infos

    Dear all, for a SAM Activity, I'm going to Asset a customer of us for the Microsoft products installed on their Workstations
    The customer has SSCM and I would like to provide him a Custom Query to "have what we need" , mainly a report with : "Device NetBIOS name" "Last Logged Username" "Operating System" "Installed Microsoft Product"
    "last SSCM contact day" .
    Finally , if possible , I would like to exclude from the report the installed Patches and MS Updates.
    As I'm a beginner with SSCM, has anyone of you already experienced such kind of needs ?
    Many thanks to all for the help
    Regards,
    Davide

    If the built-in report don't give you exact that then clone them and the extra fields.
    However I have a feel that your team is looking for the "ridiculous" Software list report as such make sure that you read this blog post.
    http://be.enhansoft.com/post/2009/10/26/How-to-Perform-a-Basic-Software-Audit.aspx
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

Maybe you are looking for

  • Ipod not recognized in MY Computer

    When I connect iPod to My Computer I can not view it 1 minute or so after I connect it. That is, after it stops syncing the My iPod drive icon goes away. I thought on my previous ipod it would always be there to view as a drive. It does this this on

  • Computer and TV Tuner

    I recently bought a new all-in-one Dell computer. The reason I bought it is for the TV Tuner that it came with. About a month and a half ago, my computer would start to record a show but it would have a green bar that flickers at the bottom of the sc

  • Recording vinyl with Audacity - not having any luck

    I'm trying to record my vinyl collection using audacity and not having much luck. I've got the line in and can get the red recording cursor moving but no waveform appears. I have followed the info on the wiki but I cannot get any further. The wiki is

  • How to open AVI files?

    I have six AVI files that I very much need to see.   They come on a CD-ROM.  I have transferred them to my hard drive.   They do not work from either the CD-ROM or the hard drive. GetInfo identifies these videos as "AVI movie." The closest I can get

  • Certification cost of SAP-CO

    Hi, Can anybody tell me the training and certification cost of SAP-CO(Controlling (CO). Thanks,