Comand operating system to copy files on Unix by ODI

Hi all

I use 11 ODI and Oracle 11 g.
I need to copy some files and put them into another folder using the operating system as
"cp /dean/sc/ready_file_*.dat/dean/sc/lony.

But when I run the OS command in ODI it gives error like

ODI-1226: command of OS step 1 fails after 1 attempt.
ODI-1242: the operating system command will fail.
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlS.getExceptionOnStepTaskFailure(SnpSessTaskSqlS.java:49)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatStepTaskError(SnpSessStep.java:1101)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:575)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ 2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$ 0 (StartSessRequestProcessor.java:292)
to oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$ StartSessTask.doExecute (StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
to oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$ 2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:736)

Please suggest any entries.


Thank you
Lony

Hi lony,.

If you want to copy, and then you have to use oditools which is OdiFileCopy.

If you want to use scriptfile can the script file updated the directory accessible to ODI. Then use the codes below in your oscommand or odioscommand.

/Home/lony/scrpt.sh

Sometimes you may need to use the environment variable (depending on the needs. ex: If odi can you can reach all the child directory in/home/lony but not in/home/test.).

Thank you.

Published by: Stéphane 21 August 2012 16:36

Tags: Business Intelligence

Similar Questions

  • What can do XP Pro SP3 OS be upgraded into without loss of programs (though of course, some are not compatible with the new operating system) and user files and info?

    Operating system
    MS Windows XP Professional SP3 32-bit
    CENTRAL PROCESSING UNIT
    Intel Pentium M 740
    Dothan 90nm technology
    RAM
    1.50 GB Single-Channel DDR @ 166 MHz (2, 5-3-3-7)
    Motherboard
    TOSHIBA ECU00 (U1)
    Graphics
    Monitor Plug-and-Play (1280x768@60Hz)
    Mobile Intel (r) 915GM/GMS, 910GML Express Chipset Family
    Hard drives
    97 F TOSHIBA TOSHIBA MK1032GAX (PATA) 43 ° C
    Optical drives
    MATSHITA DVD - RAM UJ-YEARS 840
    VUNSH ZC5QZWX SCSI CdRom Device
    Audio
    Realtek AC97 Audio

    Hello

    Vista is no longer sold by Microsoft.

    Microsoft now sells Windows 7.

    You can't do what you want to do.

    "Upgrading from Windows XP to Windows 7"

    Introduction

    To upgrade your Windows XP computer to Windows 7, you will need to select custom during installation of Windows 7. A custom installation keeps your programs, files or settings. It is sometimes called a 'clean' for this reason installation.

    http://Windows.Microsoft.com/en-us/Windows7/help/upgrading-from-Windows-XP-to-Windows-7

    @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

    Here's more information to consider before upgrading;

    Before purchasing Windows 7, follow these steps:

    Go to your computer / computer laptop manufacturer Web site and see if Windows 7 drivers are available for your make and model computer / laptop.

    If this is not available, Windows 7 will not properly work for you.

    Run the "Windows 7 Upgrade Advisor.

    http://www.Microsoft.com/en-US/Download/details.aspx?ID=20

    Check if your specifications are compatible for Windows 7:

    "Windows 7 system requirements"

    http://Windows.Microsoft.com/en-us/Windows7/products/system-requirements

    "Windows 7 Compatibility Center" for software and hardware:

    http://www.Microsoft.com/Windows/compatibility/Windows-7/en-us/default.aspx

    Windows 7 upgrade paths:

    http://TechNet.Microsoft.com/en-us/library/dd772579 (v = ws.10) .aspx

    And the Microsoft Store where you can get an idea of the price of Windows 7:

    http://www.microsoftstore.com/store/msstore/en_US/list/CategoryID.50726100

    See you soon.

  • Corruption in the operating system of the files - where to start?

    I recently had a problem with my McAfee security software and to cut a long story short their technical people tell me that I have damaged OS files.   They ran a "sfc/scannow" which produced a CBS. LOG file detailing errors and (probably) what needs to be fixed.  How do I know what to do next?

    Hello

    You may need to do a repair installation upgrade

    To do a repair installation upgrade with a Vista DVD get you in a RACE vista operating system.

    "How to perform a repair for Vista Installation"

    http://www.Vistax64.com/tutorials/88236-repair-install-Vista.html

    Click under 'Further information' on this link to learn how to see what files may not be fixed, etc.

    http://support.Microsoft.com/kb/929833

    See you soon.

  • Image vs cloning on the new HARD drive with an operating system already installed.

    First of all, I'm NOT tech savvy.  I apologize in advance.

    After several warnings error that my hard drive was in danger of failing, I was finally able to install a new HARD drive.  Windows has had some difficulty in installing Windows 7 to new HARD drive, but I finally found a solution.  So here's my current situation.

    I have the main drive (old) (C:\) which has Windows 7 and all my data on it (it is a Seagate 1 TB HARD drive that came installed on my Dell Studio XPS 8100).  I installed a new WD Black 1 TB HARD drive and was finally able to get Windows to download on it (it reads now like two distinct? score?) E:\ and F:\) see photo.

    Now, my question is this...

    I want to save all my data from my old HDD and put it on my new HARD drive.  One that I have this, I would like to remove the old Windows 7 HDD and use it as "extra" space

    Make a clone of the old HARD drive to the new since I have already installed the new Windows 7 HARD disk?

    Please advise and please keep in mind that I might say things correctly and I can't understand though if the answers are on my level.  I appreciate any help!

    OK, so here is what I would do to try to avoid problems of compatibility or driver, as far as I can:
    -Turn off your system completely and unplug from the power outlet wall
    -Disconnect the old drive in your system (SATA and power cables)
    -Place the new WD Black on the main port SATA (should be labeled SATA0)
    -Turn on your system and put your OS drive you can do a completely new installation of the operating system.
    S ' ensure that you have updated all the drivers and the operating system after the installation
    -Turn off your system and plug your old drive
    -Turn on the system in the BIOS and make sure the WD Black has the priority starting on the old HDD
    -Boot into the operating system and copy all data from the start of your old disk partition that you want to keep for the WD Black
    -Go to disk management and delete the old boot partitions and the old drive system
    -The old HDD should be your secondary drive now and you can freely move files between the two disks
    N ' have in mind that due to the new copy of the OS, you must reinstall all the games and programs in order to operate because of the new system registry

    This should put you on the safe side and prevent any compatibility issue or driver which is possible during a clone or restore procedure. :)

    Captain_WD.

  • Copy of a file in a guest operating system

    How to use powerCLI to copy a file from the computer I am running PowerCLI on in the operating system of a virtual machine Windows comments?  I want it without the BONES inside the virtual machine with its network card configured, by connecting the vCenter Server.  I want to use the credentials for the server vCenter only and not the credentials for the ESX host on which the virtual machine is.

    Thank you

    You must use the cmdlet "Copy-VMGuestfile.

    NAME
    Copy-VMGuestFile

    LOGBOOK
    Copies a file and from the guest operating system virtual machines specified using VMware tools.

    --------------  Example 1 --------------

    C:\PS>copy-VMGuestFile-source c:\text.txt-Destination c:\temp\ - VM VM - GuestToLocal - HostUser - HostPassword, GuestUser - pass1 superuser
    ssword pass2

    Copy the file text.txt from the OS system invited to the local Temp directory.

  • Copy the contents of the Blob in an operating system file...

    Hey folks, I'm developing a procedure to copy the contents of a blob to a file on my operating system... But I am facing a problem in the code of procedure.

    blob_content / / DESC

    Name Null? Type
    --------

    ID NOT NULL NUMBER (38)
    TBL_NAMESET NOT NULL BLOB
    CREATE or REPLACE DIRECTORY PHOTO_FOLDER AS 'c:\sample_files ';
    CREATE OR REPLACE PROCEDURE get_photo
    (p_id NUMBER)
    AS
    f_photo BFILE.
    b_photo BLOB;
    RAW beef (32767).
    BEGIN

    -find out where is the pointer to the photo.
    f_photo: = bfilename ('PHOTO_FOLDER', 'temp.jpg');
    -Open the photo as an option in writing.
    DBMS_LOB. Open (f_photo, DBMS_LOB. FILE_READWRITE);
    -load the photo in the photo of the column.

    SELECT tbl_nameSET from b_photo
    OF blob_content
    WHERE id = p_id;

    Read (b_photo, DBMS_LOB. GetLength (b_photo), 1, buf);
    -close the pointer of the photo.

    Write (f_photo, DBMS_LOB. GetLength (b_photo), 1, buf);

    DBMS_LOB. FileClose (f_photo);
    -Save the photos loaded record.

    COMMIT;

    EXCEPTION
    -Check your error messages
    WHILE others THEN
    dbms_output.put_line ('* ERROR * check you the procedure.) ") ;
    END;
    -My Question is how to open a bfile in write mode type, and then how to write the content of the blob in the location pointed to by the bfile...

    During the creation of this procedure the error I get is:
    LINE/COL ERROR

    12/1 PL/SQL: statement ignored
    12/33 PLS-00302: component 'FILE_READWRITE' must be declared
    19/1 PL/SQL: statement ignored
    19/1 PLS-00201: identifier 'READ' must be declared
    22/1 PL/SQL: statement ignored
    22/1 PLS-00201: identifier 'WRITE' must be declared

    so this means, that you have also created this package to this user too, please run this too:

    SQL > drop package user1.utl_file;
    SQL > grant execute on utl_file User1;

  • In a configuration of dual boot Vista/Vista, where are the operating system files stored in another copy of Vista?

    In one, the operating system is in the C:\Windows folder. Where the operating system is stored on the 2nd partition?

    Hi BDTT.

    If you have installed the Windows vista operating system in a dual-boot on two partitions Setup then you find another folder Windows in the second disc of the partition.

    For example: C:\Windows and D:\Windows.

    When you start in any partition the root drive letter would change to the C:\ drive.

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Copy a file in VMware machine from the host (for the guest OS) operating system

    Hello

    I need to migrate data in

    guest operating system of the host OS via

    VMware.

    The client runs as a virtual machine in VMware

    that is run from the host operating system.

    Anyone know of a way to do it?

    Thank you

    Stuart

    smcracraft wrote:

    I need to migrate data in the operating system of the host operating system through VMware.

    The client runs as a virtual machine in VMware that runs from the host operating system.

    Anyone know of a way to do it?

    First VMware is a company not a product and you didn't say what VMware product you use no you said what OS is on the host or the guest then I suggest you read the VMware product documentation that you are using.  In general, if the Virtual Machine works in the same way a physical Machine so you can do the same between the host and guest in dealing with clients as if it were a physical Machine.

    If you have VMware Tools installed in the comments you can also take advantage of VMware shared folders and or the functionality of Drag and Drop on pris supported operating systems.

    BTW take a look on: HOWTO: ask (and answer) Questions

  • I upgraded my computer, the new operating system on a new hard drive. Want to get my favorites on Firefox off my old drive, but can't find the file.

    I upgraded my computer, adding a second hard disk for a new operating system and kept the old drive as a data disc. I assumed that I could install Firefox on the new disk and import my favorites from the old installation of Mozilla on the old disk. I can't find the files on the old drive with my favorites. They're still here, or when I reinstalled Firefox, I lost everything even if it was on another drive? I can't find the backup on the old disk files and want to restore my old favorites. Is it possible to do this?

    You must find your profile folder in the old drive, the way in which must be:

    1. First display the hidden files and folders:

    2. Then go to:
      • < old drive >: \AppData\Roaming\Mozilla\Firefox\Profiles \Users\ < username >
    3. Enter in your profile, and then enter the folder bookmarkbackups .
    4. Copy the latest file from json (backup of bookmarks)
    5. Then restore from them:
  • I had to reinstall the operating system after that Itried to restore my files for the backup that I had already taken in an external drive, the problem is tha files are empty?

    When I am trying to restore my file that I can't reach them, in some cases I can read the name of the file such as the name of a singer, but when I tried to open the file is empty, he said. This happens with my contact and all my media. I lose my stuff.

    [Moved from comments]

    Hi Hector.

    1. what version of Windows operating system is installed on your computer?

    2. you use software to perform the system backup and restore?

    3 is the issue limited to any particular file?

    First of all, I suggest you click with the right button on the backup files and check the size of the file in the Properties window.

    Try to copy and paste the files to the computer and check if you are able to access the files.

    You can also check if the folders are hidden. If the folders are hidden, so you can view folders and check if you are able to access the data.

    1. press the ALT key on the keyboard in any Windows Explorer window to display the toolbar.
    2. click on tools, then Options of folders, and then on the view tab.
    3. then choose "show files and folders". After clicking OK, they appear with the other files.

    Hope that the information provided is useful.

  • Computer that has crushed - I have to reinstall the same operating system to avoid losing files.

    Basically, everything I've read about the BSOD "Unmountable boot error" I have tells me that I have to reinstall XP. The question is can I install a different operating system and not lose all my files on the computer? Thank you

    Hello

    ·        What is the exact error message that you encounter in Blue Screen of Death (BSOD)?

    ·        You are able to boot into safe mode without any problem?

    ·        Remember to make changes to the system?

    ·        Do you have the XP CD with you?

    Method 1:

    If you have the XP disc and then start in the recovery and then console perform a disk check. I suggest you to check the below link.

    When you restart your computer or upgrade to Windows XP, you receive the error message "STOP 0x000000ED UNMOUNTABLE_BOOT_VOLUME".

    http://support.Microsoft.com/?kbid=297185

    Method 2:

    If this does not help, then you can install a parallel installation of Windows XP on the same drive and then copy the important files and folders that are present on the system to an external device (flash drive), then install a new copy of the Windows XP operating system. Follow the steps mentioned in the article given below to perform a parallel installation of Windows XP.

    Follow method 4 that is listed in the article given below to perform a parallel installation of Windows XP.

    How to install or upgrade to Windows XP

    http://support.Microsoft.com/kb/978307

    Copy the files to an external device, and then create a clean install the operating system.

    I suggest you to check the links below, if you plan to install Windows Vista or Windows 7

    Install, reinstall, and then uninstall

    http://Windows.Microsoft.com/en-us/Windows/help/install-reinstall-uninstall

    Perform a custom installation of Windows 7

    http://Windows.Microsoft.com/en-us/Windows7/help/performing-custom-installation-Windows-7

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • If my boyfriend had a windows vista operating system when he bought his computer is able to get a copy for a small fee?

    He needs a copy of its operating system to a new hard drive. Recently, its power supply is out and fried hard drive.

    Hello JennyHanner,

    You have rec would be false information of the other poster in their response to you.

    1 recovery disks ARE reinstalling Vista discs (the final result is reinstalled Vista!). only informatuion had already to you on how to get...

    A LOT of computer manufacturers STILL have Vista Recovery DVD's available for their clients.

    I know from recent experience with clients.

    2 and you do NOT have to install the EXACT same tough at all.

    People spend their hard drives to a larger size and model all the time, and reinstall the operating system with no problems at all.

    HP is one of the few companies who occasionally may have this problem which is corrected by a phone call for them to download a specific file to ensure the compatibility of the BIOS.

  • Unable to install Windows Vista, the system freezes at copying files and the extension of the files

    Original title: Setup error

    So I installed window vista Ultimate edition on my Mac, like two windows. I backed up all of my hard drives. so when I started to install everything went well until when it came in part from extension of files and copy files to the * something *. After like 20 minutes I had this error saying could not complete the installation because of corrupted files or something and then he is out. I tried homebasic, home premium etc. but I received an error even for each other. I went to the dealer where I bought the cd, returned and got another but still have the same thing

    Hello

    ·        What are your system specs?

    ·        How you try to install windows vista on the system? After the start of the desktop?

    ·        What is the exact error message that you experience when the system hangs during the installation?

    I suggest you to disconnect all external devices that are connected to the system such as (printers, scanners, etc.) and see if the problem is resolved.

    This occurs mainly, if the system (hardware or software) is not compatible with the operating system that you are trying to install on the system. I suggest you to format the partition in which you try to install Windows Vista, and then check if you are able to install the operating system or not.

    Installation and reinstallingWindows Vista

    http://Windows.Microsoft.com/en-us/Windows-Vista/installing-and-reinstalling-Windows-Vista

    I suggest you to check the below link.

    http://social.technet.Microsoft.com/forums/en-CA/itprovistadeployment/thread/6cb6510d-3e4f-4611-ba73-7e68fc4aa0a6

    Thanks and regards.

    Thahaseena M
    Microsoft Answers Support Engineer.
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Satellite L850D - 12 p: need to copy of Windows 8 to reinstall the operating system

    Hello

    I have a Satellite L850D - 12 p and need a copy of windows 8 to reinstall the operating system

    I deleted all the data on the HD including the recovery partition, I don't envy spening £30 order disks and want to download the

    The supreme macine provided with Windows 8...

    Thank you

    Jaz

    It of not possible to download a recovery image Windows 8!

    If you have not created the disc clean recovery or recovery USB flash stick memory such as mentioned in the user manual, you must order such environment.

  • Cannot find the operating system files

    Cannot find the operating system files after system, Windows 7 error Ox490 HP Pavilion e9150t recovery

    Thank you very much I'll check on that.  Ended up doing a restore of the original.  Painful but successful.

Maybe you are looking for

  • Why the space available on the iPhone never match iTunes report?

    Long-standing oddity, not terribly urgent, but as I hit my phone memory limits recently, something I I want to better understand: Storage looking on my iPhone under settings > general > use storage & iCloud, I see a number that does not match the fre

  • Soundtrack Pro 3.0.1 on new iMac - license number to the first use

    I migrated just all my files to a 24 "iMac (2009) to a 27" new iMac. When I try to use Soundtrack Pro (first time), he wants the ORIGINAL of the licence number and does not accept the upgrade license number. REALLY? What can I do if I don't have the

  • 4540 proBook s: help to the New Installation of hard drive recovery

    I had a bad hard drive crash. I installed a new and got the bios to boot from the cd drive, with windows 7 orginal cd of installation in the drive.  He acknowledged drive 0, I clicked again in the options. He created a system partition. Installed win

  • IOException when the receiver of incoming messages definition

    Hi all In my requirement, I need to put the receiver of incoming messages. But, I'm getting an IOException while calling messageConnection.setMessageListener. Please, help me to solve this issues. Here is my code snippet. SerializableAttribute public

  • Windows 7 64 bit MCE Spinning question blue circle

    OS: Windows 7 64 bit on my HTPC. MediaBrowser running inside MCE for the Organization and appearance of my HTPC We leave the HTPC on 24/7.  If we look at a movie on the HTPC, it works perfectly.  If we close not the film down and leave running, next