Need script file for imp

Hi Guys,
I need to load data using import option. data is in .dmp format. for this i have to write a unix shell script.
i am using this url http://orafaq.com/scripts/unix/exportdb.txt as base which is having only export script.
actual syntax is.
imp username/pwd@sid file=file.dmp logfile=file.log
for this process i have to write script file.
If any one is having this type of script could you pl send.
TIA,
Muvvala

Thank you for the reply.
i wrote the script like this....
#!/usr/bin/ksh
# import_db.sh - Korn Shell script to import (an) Oracle schema(s).
# Hardcoded values: copy_dir, pipefile, dba
# import_db.sh -
# Usage: sh test_2.sh pathway abc123 OWBDEV organmap_icon_71606
#dba=PSG
#copy_dir=/dbcopy/
# Loop through the command line parameters
# -u - User name
# -p - Currently the password.
# -d - The Oracle SID of the database to export. This matches the TNS entry.
# -f - The export file to import.
# If either/all of these don't exist, prompt for them.
# Now, check the parameters...
echo "*******************************************************"
echo "* Importing $1 at `date`"
echo "*******************************************************"
cat test_xyz.sh
echo imp $1/$2@$3 file=$4.dmp log=$4.log full=y statistics=none buffer=1000000 ignore=y
sqlplus -s $1/$2@$3
set serveroutput on
set heading off
exec imp $1/$2@$3 file=$4.dmp log=$4.log full=y statistics=none buffer=1000000 ignore=y;
!EOF
echo "*******************************************************"
echo "* Import Completed at `date`"
echo "*******************************************************"
exit 0
but I am getting the following errors
test_2.sh: sqlplus: not found
test_2.sh: imp: not found
the bottomline is i am not able to execute oracle command.
can any one encounter this,pl help me.
TIA,
Muvvala

Similar Messages

  • I need a file for EPLAN P8 Version 2.4

    My problem is that I need a file for EPLAn P8 about NI USB-6501.

    HI, 
    there are just a few documents for dimensional drawings like that:
    http://digital.ni.com/hardref.nsf/websearch/bead78e923f9670286257475006ecb9a
    Are you looking for this?
    Best Regards, Fabian

  • I need rpl file for my n70 plz nokia

    i need rpl file for my n70 plz nokia
    model n70
    Moderator's note: The post was edited. IMEI was removed. Please avoid posting any of your personal information on public forums like this.

    novasewline wrote:
    wheres my answer... i need help now!
    And where is your question, explained in detail?

  • Need JAR files for load testing the dicoverer plus 9.0.4

    I am able to capture the Applet events in oracle discoverer plus 9.0.4 using loadrunner. But i am not able to replay the script. For replaying the script it needs some jar files to be included in the classpath. Source.jar,Xmlparserv2.jar,inner.jar and remoteclient.jar files. I am not able to find out the source.jar and remoteclient.jar in server.
    Any one help me out to get all these jar files with complete stuff to include in classpath and replay that is run the script in loadrunner.
    i need these jar files urgently. Version is discoverer plus 9.0.4

    Hi, Bhushan and all!!
    I have the dll's needed for the connection:
    - GxSiebelBridge.dll
    - Interop.SiebelApplicationServer.dll
    - Interop.SiebelBusObjectInterfaces.dll
    - Interop.SiebelDataServer.dll
    Tell me if you want it. You can implement these dll's with JNI (Java Native Interface).
    I need the jars, too. If anyone have it, please send me.
    Thanks!!

  • Script file for import XML

    Hi,
    I want import the XML (ask user to select xml file) and run the xslt then open the new document after that to place the convert style and tagged text file in InDesign. I need all function in using one script (java script). I am using InDesign CS2. I have no more knowledge about java script. Can anyone give me one script to run all tool in one script file in inside the InDesign Document.
    My files are...
    1. XML file
    2. XSLT File
    3. Ind Template
    Thanks for help.
    Byomokesh

    Hi
    Maybe looking in the Adobe's documentation ?
    http://www.adobe.com/devnet/bridge/pdfs/javascript_tools_guide_cs3.pdf
    It deals deeply with xml & javascript.
    Ok it's CS3 but reference manual for CS2 contains xml method and properties so working with these two documents should be helpful.
    Sorry not for helping better but I never used xml and js.
    Loic

  • SampleValidateData.js OR ValidateData.js script files for Hyperion forms

    Hi All.
    We're running Hyperion EPM 11.1.1.2 and I want to create some custom javascript functions for a Planning data form. I want to work within SampleValidateData.js or ValidateData.js but I can't find either of these files.
    We're running Tomcat and 11.1.1.2 EPM Planning.
    Thanks!

    It's possible the Planning webapp is deployed remotely. Check the tomcat server.xml file for a context tag that references HyperionPlaning. There you can find out where the HyperionPlanning directory that has custom under it is located.
    It's also possible that planning is running directly from an unpacked war. In which case you will need to change the unpackWARs setting to true in server.xml in order to readily work with the validation javascript.
    Regards,
    Robb Salzmann

  • Need Flat file for Message type DELINS

    Hi Experts,
      It possible to see the flat file for the Message type DELINS ,, If needed means please say how it can  view..
    Advance thanks..

    >My need is to convert the EDI format into SAP.
    As far as I know EDI can be read by SAP as Idoc directly without conversion. At least I would try this.
    I checked in WE20 /partner profiles/ for outbound parameters there is a tab called 'EDI standards' and here you can define the EDI parameters. However there is no such tab for inbound processing.
    What I would do /using transaction code SALE/
    - define logical systems
    - assign the received to the client
    - create RFC port for Idoc processing
    - create distribution model with the correct message type
    - create port as file
    - define or generate partner profiles
    Try to upload sample files via transaction WE19 or WE16.
    You can try to debug the inbound processing and write a program based on that, which could be scheduled as a background job.
    I had a program doing similar, but it was another message type and it was XML based, however the FMs I used are the following:
    'EDI_PORT_READ' - read port definition
    'EPS_GET_DIRECTORY_LISTING' - get the file names in the dir
    'EDI_DATA_INCOMING' - process idocs
    Hope it helps.
    Peter

  • Need Installation File for Elements 7

    So I uninstalled Cs6 to reinstall it.. but I should have looked for my disks first.
    You see I initially bought Elements 7
    upgraded from Elements 7 to CS4
    Upgraded cs4 to cs6
    Now to reinstall anything I need the serial code to Elements 7
    Thankfully I still have that from a safe place,
    but I need to put Elements 7 on my older slow laptop, and I can't find the disks!
    I have my cs4 disks and my cs6 download files but because I 'upgraded' each version I need the serial for Elements 7.. which I have, but I also need the disk to install on the old laptop!
    So where can I get a hold of the downloadable Elements 7???
    I'm also missing a different companies video editing disks, so I'm guessing they're in a 'safe place' somewhere, but I have no idea where that 'safe place' is, and I can't find them!

    if you follow all 7 steps, you can download a trial via one of the links on this page using a browser that accepts cookies:  http://prodesigntools.com/direct-download-links-for-lightroom-3-and-photoshop-elements-8.h tml/comment-page-1#comment-2174
    and activate with your serial number.
    if you have a download problem, you didn't follow all 7 steps.  typically, failure to meticulously follow steps 1,2 and/or 3 is the problem, but your browser must also allow cookies so that's (a restrictive browser setting) another potential source of problems.

  • Need install files for Photoshop Elements/Premier 10.

    I lost my install disks and my computer died.  How do I get the files for photoshop elements/premier?

      If you registered your products on-line you should be able to find the serial numbers which you will need. Then you could download the free-trials and make them permanent with the codes. That’s provided you haven’t already installed them more than once already.
    Click the red Adobe logo at the top left of this forum page.
    Then click My Adobe >> My Products & Services
    Log in to your account using your Adobe ID
    Expand your purchase history using the small black triangles to the left of the purchase date.
    http://www.adobe.com/cfusion/tdrc/index.cfm?product=photoshop_elements&loc=en_us

  • Need .exp file for Dynamic Subprocess project

    Dan ,
    I'm looking in to you project Dynamic Subprocess in 4 shared.com (http://www.4shared.com/get/G4DmkQ8G/Dynamic_Subprocess_Lesson_10gR.html) , can you please let me know the link , where i can download the .exp file for Dynamic Subprocess

    You'll need to spend some money to convert the WMP file to a format iMovie can use:
    http://www.telestream.net/flip4mac/overview.htm
    The $29 version will do what you need.

  • Script file for test automation.

    I have a file “HPE3631A configure output.vi” (DC power supply). This file I downloaded from NI web for using control our DC power supply. I would like to use a script file that can automatically process and configure the output voltage, current parameter? I do not have to click mouse for change the voltage and current parameter. We would like use this script file as one of our test automation.
    What format file can use as a script? Is any example file I can use as a reference (it does not have to be HPE3631A).

    I don't have an example. You are free to create a script file in any format that you want. To give you a little help, say you have a comma separated file. The first field could be instrument address. The second field could be a function. This might be Initialize, Configure Voltage,Configure Trigger, etc. The following fields could be parameters that you pass. Some functions would require more parameters than others. Look at the number of functions in the driver and see if you want to duplicate them and how many parameters they require or whether you want to break some of them down into something smaller. When you've decided that, then you can determine how to read the file and parse out the commands. Do you want to do error checking here or someplace else? What I mean is, what if the file contains the word "Initilize" instead of "Initialize". What if a voltage parameter is out of bounds?
    Like I mentioned, you could have a LabVIEW VI generate the script. Imagine a front panel text ring in which you have listed all of the various functions. If function b is selected, have logic that displays the correct number (and type) of other parameters required. When the selection is complete, click an OK button to display the new step in a table. A table is nothing more than a 2D string array so saving it to a file is then simple.

  • Need PDF file for FI-CA

    Hi Friends,
    Can any one help me, how to get PDF document for FI-CA (Contract Accounts Receivable and Payable (FI-CA)
    Thanks
    Chandra

    hi chandra, do you have the pdf file for fi-ca configuration

  • Importing Script file for speech analysis - error message

    I'd love to get some assistance to get past an error message in Premiere Pro CC, "Matching scene number not found".  However, I've named the scene number and the clip to match, simply as "1".  What am I missing?  NOTE:  the scene is 33 pages long as this is a long speech that I've transcribed and would like to match up to the video clip . . . just in case that is an issue that someone has experienced in the past.  But I'm hoping length of clip isn't a problem (as this is a typical work flow scenario for me).

    Hi,
    Even I am getting the same error while importing the .zip file for the second time through B2B console-->Administration-->Import/export tab.
    But again it works for the third time..
    Error Message:
    Import of file OriginalProject.zip failed. MDS-00521: error while reading document /soa/b2b/tpa_MnjhBHh-70301432125893445241.xml from metadata repository MDS-00520: failure to read document /soa/b2b/tpa_MnjhBHh-70301432125893445241.xml because it is not in the metadata repository MDS-00911: Document with name "/soa/b2b/tpa_MnjhBHh-70301432125893445241.xml" and version 34 does not exist in the repository. ORA-01403: no data found ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 407 ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 603 ORA-06512: at line 1 ORA-01403: no data found ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 407 ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 603 ORA-06512: at line 1 ORA-01403: no data found ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 407 ORA-06512: at "DEV_MDS.MDS_INTERNAL_SHREDDED", line 603 ORA-06512: at line 1
    Please help...

  • Trace file event set....need the file for the user...

    hello all,
    i had a question about the trace file, I was asked by one of ur manager to set events for trace file...he asked to do this...
    ALTER SESSION SET EVENTS '10046 trace name context forever, level 12';
    alter system set events '1483 trace name errorstack, level 12' ;
    i understand they go to the udump, but my question how am i suppose to know which trace file to look as there are tons of them in udump??? We actually want this for a specific schema that we are lookin for. Could anyone explain what the above are doing and how to get the trace file for it. Thanks

    If you are running this from your session and want to check the file that has been created for your session,from Effective Orcle by design,this may be helpful,
    select rtrim(c.value,'/') || '/' ||d.instance_name ||
    '_ora_' || ltrim(to_char(a.spid)) || '.trc'
    from V$process a,v$session b,v$parameter c,v$instance d
    where a.add=b.paddr
    and b.audsid=sys_context('userenv','sessionid')
    and c.name='user_dump_dest'This would tell you the exact file that would had been created for your session.
    HTH
    Aman....

  • Needing .INF file for HP Photosmart 7760

    I have an HP7760 connected & shared on a Win7[64bit] desktop.
    I am trying to print to the HP7760 from another LAN wired desktop AND from a wireless HP laptop.
    "add network printer" DOES find the HP7760 but is asking for the .INF,.IN_ file for this printer.
    PS:  I THINK the "solution" is in THIS .INF file if I could only figure out WHY the wizard doesn't like it
    Please note: I am cross-posting this message as I could not determine WHICH forum would have the appropriate expert.
    Click HERE to see the original [lengthy & detailed] post in the Printing-Issues-Troubleshooting forum.
    Please reply to the original post so I can keep all replies together.
    Many thanks,
    Jimbo213
    This question was solved.
    View Solution.

    SOLVED my own problem by modifying the hphp2k12.inf file to include these lines:
    [Models]
    "hp photosmart 140 series"=hp_Install_140,HPPHOTOSMART_140_SER0FDA
    "hp photosmart 240 series"=hp_Install_240,HPPHOTOSMART_240_SER002A
    ;back port
    "hp photosmart 7200 series"=hp_Install_7200,HPPHOTOSMART_7200_SE5294
    "hp photosmart 7600 series"=hp_Install_7600,HPPHOTOSMART_7600_SE842D
    "hp photosmart 7700 series"=hp_Install_7700,HPPHOTOSMART_7700_SE80FD
    ; ADDED FOR 7760 test
    "hp photosmart 7760 series"=hp_Install_7700,HPPHOTOSMART_7700_SE80FD
    ; ADDED FOR 7760 test
    "hp photosmart 7900 series"=hp_Install_7900,HPPHOTOSMART_7900_SE779C
    ;front port
    "hp photosmart 7200 series"=hp_Install_7200,HPPHOTOSMART_7200_SE8FD3
    "hp photosmart 7600 series"=hp_Install_7600,HPPHOTOSMART_7600_SE3DC4
    "hp photosmart 7700 series"=hp_Install_7700,HPPHOTOSMART_7700_SEA1C1
    "hp photosmart 7900 series"=hp_Install_7900,HPPHOTOSMART_7900_SE49F7

Maybe you are looking for