11.2.0.3, DBMS_DATAPUMP import ower db link, DATA_REMAP does not work

This is related to impdp: should network_link and remap_data work together? that I accidentally marked as answered.
Documentation says, I can supply NULL as value of schema for DATA_REMAP: See   DBMS_DATAPUMP
That does not work, it gives an error:
ERROR at line 1:
ORA-39001: invalid argument value
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
ORA-06512: at "SYS.DBMS_DATAPUMP", line 3507
ORA-06512: at "SYS.DBMS_DATAPUMP", line 4309
ORA-06512: at line 11
If I give SOURCE_SCHEMA as schema, DATA_REMAP does nothing.
TARGET_SCHEMA is of course not accepted as TABLE_TO_LOAD does not yet exist.
The code I am using is something like this:
set serveroutput on;
declare
  handlename number;
begin
    handlename := DBMS_DATAPUMP.open('IMPORT','TABLE', 'SOURCE_DB_LINK','NAME_OF_JOB');
    DBMS_DATAPUMP.METADATA_FILTER(handle => handlename, name => 'SCHEMA_LIST', value => '''SOURCE_SCHEMA''');
    DBMS_DATAPUMP.METADATA_FILTER(handle => handlename, name => 'NAME_EXPR', value => 'IN (''TABLE_TO_LOAD'')');
    DBMS_DATAPUMP.METADATA_REMAP(handlename,'REMAP_SCHEMA','SOURCE_SCHEMA','TARGET_SCHEMA');
    DBMS_DATAPUMP.ADD_FILE(handlename, 'name_of_log','DUMPDIR',NULL,DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE,1);
    DBMS_DATAPUMP.DATA_REMAP(handlename, 'COLUMN_NAME', 'TABLE_TO_LOAD', 'COLUMN_TO_REMAP',  'TARGET_SCHEMA.REMAPKG.REMAPFN',  NULL);
    DBMS_DATAPUMP.START_JOB(handlename);
end;
Any ideas?

Hi,
seems it is not supported for Network link check this: Ref Doc:DBMS_DATAPUMP
Usage Notes
The DATA_REMAP procedure is only supported for Export and Import operations. It allows you to manipulate user data being exported or imported. The name of the remap determines the remap operation to be performed.
I haven't try this but, are you using the same user/schema name for the data pump operation where your object exist.. if not you can try this option as well. in that case NULL support i believe.
HTH

Similar Messages

  • Why my AVI file, once imported in Adobe premiere 4, does not work there ?

    I created an AVI file from 3D Studio Max. It works fine with VLC and any other player. Once I import it into Adobe Premiere, it does not work at all. All it gives me is a still image of the first frame of the movie. PLEASE help me !!!!! I have a presentation next week and I don't know what to do !
    thanks

    I put my AVI file in Media info and found the following :
    Format                              
    : AVI
    Format/Info                         
    : Audio Video Interleave
    File size                           
    : 491 MiB
    Duration                            
    : 15s 367ms
    Overall bit rate                    
    : 268 Mbps
    Video
    ID                                  
    : 0
    Format                              
    : JPEG
    Codec ID                            
    : MJPG
    Duration                            
    : 15s 367ms
    Bit rate                            
    : 268 Mbps
    Width                               
    : 1 536 pixels
    Height                              
    : 698 pixels
    Display aspect ratio                
    : 2.2:1
    Frame rate                          
    : 30.000 fps
    Color space                         
    : YUV
    Chroma subsampling                  
    : 4:2:2
    Bit depth                           
    : 8 bits
    Scan type                           
    : Interlaced
    Scan order                          
    : Top Field First
    Compression mode                    
    : Lossy
    Bits/(Pixel*Frame)                  
    : 8.323
    Stream size                         
    : 490 MiB (100%)

  • Importing .p7b certificates using certutil does not work, but work with IE. I need to automatize certificate installation. Help!

    Hello,
    I have to add a trusted certificate authority to XP machines to allow use of mail via OWA.
    There is a domain, but there are too remote machines which are not in the domain (and it's on them I'm experiencing the problem).
    Domain sysdmin sent me the .P7B certificate, which I can load withour problem using import with IE. The certificate is stiored in the Trusted Root Certificate Authorities and it's all ok.
    But I need to automatize the certificate import due to the hifg number of these clients as well as the linbe spped (very slow graphic), so I found the certutil utility.
    I've tried with several commands (like "certutil -f -v -addstore root filename.p7b"  or "certutil -enterprise -f -addstore NTAuth filename.p7b" and several variants), but the utility always said that the certificate is correctly imported, but when checking
    with the MMC console I can't find it (and, by the way, trying to load again results in also being notified that the certificate is already loaded!), so all the stuf does not work.
    What should I do to be able to import the .P7B in Trusted Root Certificate using command line (.bat file, of course)?
    Many thanks in advance for any help!
    Max

    Hi,
    As i can understand you want to import a .p7b file which is a chain of certificates. And certutil is not working.
    I too had the same issue. After searching and thinking the alternatives for hours, got a solution which worked for me. Here is it.
    Get certmgr.exe tool available with MS .net framework tools.
    Try adding this to your batch file
    certmgr -add -all -c "File.p7b" -s -r localMachine Root
    where File.p7b is the file containing certificates. You can replace the name with your file name.
    Check if its working.
    Thanks,
    Reyaz

  • Import CD in itune 11 does not work

    import CD in itune 11, music is stored in the directory but it does show up in "music" panel.

    I've never used iTunes that way. I always import them using the menus.
    "File>Add File To Library" or "File>Add Folder To Library", is the proper way to import files already on your hard drive.
    Clicking on the inserted CD and clicking the "import cd" icon at the top right of the window, is the proper way to import a cd into your library.
    I just did the way you suggest, dragged a bunch of files to the iTunes window, it imported them just fine. I think you may want to check your library prefs, make sure you have "copy to library" and "keep library organized" checked.

  • Import From Device "show preview" Does not work for RAW (Canon T1i/500D)

    Hi,
    Not sure if anyone else has seen this.  I just got a canon T1i (500D for you Europeans).  When I plug the camera into the computer and select Import From Device, and select "show preview" in the import window, only the JPEGs show thumbnails.  All of my RAW images show up as grey boxes.  This is the first digital SLR I ever owned, and the first time I am really using lightroom.  This kills my workflow plans, as I ususally download images into folders, and name them, by category.  Without seeing the thumbnails, it is impossible to know what category what images belong to.
    Anywone have any ideas?  Does this happen with all RAW images on all cameras?  Is it a T1i problem?
    Thanks.
    w0den

    OK, I have the previews working now, which is good.  Here is how I am using the tool.
    1) put the card in a card reader
    2) select import from device
    I noticed a couple of things that are very frustrating:
    1) I Don't see a way to delete photos from the import tool, either manually or automatically after import.  I seem to have to delete thing through explorer (I am on windows xp)
    2) There is no indication of whether you have downloaded an image already or not.  The software that came with the camera puts an arrow on all downloaded pictures.  This is very nice if you are not importing all your pictures at once.
    3) My camera takes movies.  There is no way to import them along with the rest of the files (yes I know lightroom is not a movie tool, but having to use another program or explorer is annoying).  Furthermore,  every time I try to import files when there is a movie on the card, I get an error saying movies will be skipped.  The pics still import, but it is irritating.
    Any suggestions?  I am trying to figure out a good work flow.  I would import everything and than organize the files, but I don't see any easy way to resort files and rename them en-mass.  I tried moving files in explorer, but, as could be expected, LR could not find the files afterward.  I re-synced the folder, but that lost the changes I made on images (I did not have them saved as DNG, so the modifications were in the side car, I guess).
    Thanks,
    w0den

  • "Import GPS from iPhone photos" does not work with iPhone 4

    I have not been able to get A3's "Import GPS from iPhone photos" to work with my iPhone 4, I get an empty list of photos. A3 is able to import photos from iPhoto 4 without any problems but I'm not able to get the GPS data.
    I'm not sure if it is an iPhone 4 or iOS4 issue, I tried my old iPhone 2G and "Import GPS from iPhone photos" is working fine.

    Where are you seeing this "Import GPS from iPhone" option?? I just tried importing a picture directly from my iPhone ,and it correctly had its place marked on the Places map. Am I misunderstanding what you all are trying to do??

  • I get this error when I go to imovie, I have instalerat on via appstore, but it does not work. The QuickTime components necessary to view, edit, import and export various types of films are not installed. The components included in the iMovie installer. R

    I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
    The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.

    I get this error when I go to imovie, I have instalerat on via appstore, but it does not work.
    The QuickTime components necessary to view, edit, import and export varioustypes of films are not installed. The components included in the iMovie installer.Reinstalling iMovie.

  • I have iMovie '11, and I am unable to access mpeg HD video files that I want to edit.  The files are fine (I can open and watch them using VLC), but I cannot seem to import the files into iMovie. File Import does not work.  Any suggestions??

    More detail: I have a bunch of mpeg HD video files that were shot on a SONY HDR-HC3 Handycam camcorder.  I would like to edit these into a single video production.  I can access and view the mpeg files using VLC (Quicktime does not work with them).  However, I seem to be unable to get the mpeg files to interface with iMovie '11 -- I cannot use the File --> Import command, nor can I drag-and-drop them into iMovie.
    Is there something anyone might suggest to get this to work?  Or are these files incompatible with iMovie?  If so, I assume I must purchase a different video editing software program (e.g. Adobe Premeir Pro).  Suggestions???
    Many thanks in advance for your time and consideration

      Yes, I tried that.   The files were ordered by their original numbers as imported from the camera, but I batched them through Phocoshop to downsize all of them into a more manageable file size.   I opened that destination folder from quick time  from where it said select image sequence.   I clicked on the first one and opened it.   The result was a large image with an arrow indicating a movie was ready to go.   When I pressed the arrow, though, I realized it had only imported that one frame so there was no movie.   The files are Jpgs and are about 450 KB each. 
        To your knowledge are there any links to iMovie tutorials or quick time tutorials that may address this situation?  Maybe there will be one I haven't looked at yet. 
        Thanks

  • Why can I not import pictures any more? Lightroom says "Your Lightroom 5 64-bit does not work correctly"

    Why can I not import pictures any more?
    Lightroom says "Your Lightroom 5 64-bit does not work correctly"
    Technical informations:
    PC with Windows 7 64-bit, Lightroom 5.7.1 64-bit installed.
    What I have done:
    I downloaded the newest LR 5.71 and installed it again - mode repair; without success
    I checked my PC with Norton 360: full scanning and optimizing registry
    I restarted the PC and than I installed the LR 5.7 again - repair
    Trouble 1:
    Two days ago I could work with my LR 5 and to import pictures from a SD was no problem. Now I can start LR 5 and I can watch/modify pictures, but as soon as I try to import new pictures LR 5 stops and gives the message "your LR 5 64-bit does not work correctly - searching for solution". I have not changed anything in my computer since lasttime LR 5 worked properly, only the registry was optimized by Norton 360.
    Trouble 2:
    I live in Switzerland and my language ist German. I dit not find a place where I can present my problem in German, e.g. a phone number oder email-address oder german-chat. My English is to week for a discussion for computer problems and do understand it.
    Help:
    I would very appreciate if anybody can help me, either to trouble 1 or to trouble 2. Thanks.

    Sehen Sie diesen Beitrag:
    Photoshop CS4 & Lightroom 2.6 X64 funktionieren nicht mehr
    Wacom Tablet-Treiber-Problem?

  • Importing element definition from an  EDD into a template - does not work

    FM 10.0.1 German on Windows XP SP3.
    When importing the element definitions from an existing EDD into an existing template, FrameMaker converts the template into a  new EDD.
    So the element definitions which are correctly defined do not appear in the template.
    The highest level element is than ElementCatalog in the template and not the higherst lvel element defined in the EDD.
    In FM9 this was no issue.
    Any help is appreciated, I have a deadline and must do some changes in the EDD.
    Best Regards
    Thomas

    Lynne,
    EDD is english (Version FM7.0), Interface language is German.
    Maybe it´s a localization issue.
    I have attached a captivate demo pdf so you can see what happens and the
    defective EDD.
    Mit freundlichen Grüßen
    Best Regards
    Thomas Zeisig
    From:   Lynne Price <[email protected]>
    To:     "Th. Zeisig" <[email protected]>
    Date:   13.10.2011 14:12
    Subject:        Importing element definition from
    an  EDD into a template - does not work
    Re: Importing element definition from an EDD into a template - does not
    work
    created by Lynne Price in FrameMaker Structured - View the full discussion
    Thomas,
      No question the behavior you describe is a bug. However, I am unable to
    duplicate it. I created an EDD with two element definitions:
    Element (Container): doc
      Valid as the highest-level element.
      General rule:  (
      When I imported element definitions from this EDD into a new portrait
    document, FM reports that element a is referenced but not defined and that
    b is defined but not referenced. However, with all elements listed, the
    element catalog shows a, b, and doc. The metatemplate elements are not
    available.
      I wonder if this is a language-dependent problem. Is your EDD German or
    English? What about your user interface?
      Can you send me a short EDD that fails as you've described?
      Thanks,
          --Lynne
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/3969067#3969067]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/3969067#3969067]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in FrameMaker Structured by email or at Adobe
    Forums
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.

  • Import package does not work - beginner help

    Hi, I'm a beginner with java. I just trying to figure out how to use packages. I followed everything in the tutorial, but I can't figure out why my simple example does not work.
    I made the following directories three, for the sake of the example.
    in /home/username/Desktop I created a directory named it
    inside it I created prove
    inside prove I created test1 and test2
    Inside test1 I created the following sample class:
    package it.prove.test1;
    public class HelloWorld
         private String message;
         public HelloWorld(String message)
              this.message = message;
         public String getMessage()
              return this.message;
    }in the directory test2 I created this other one:
    package it.prove.test2;
    import it.prove.test1.HelloWorld;
    public class HelloWorldProgram
         public static void main(String[] args)
              HelloWorld hw = new HelloWorld("Guten Tag, Welt!");
              System.out.println(hw.getMessage());
    }So now I have this three:
    it
    it/prove
    it/prove/test1, it/prove/test2
    As I said in test1 there is HelloWorld.java and in test2 HelloWorldProgram.java.
    When I compile HelloWorld.java, it worked fine.
    When I try to compile HelloWorldProgram.java, the compiler says that cannot find package it.prove.test1..
    Why that? What did I make wrong?
    Sorry both for my bad english (it is not my first language) and for the really trivial question (I'm a really beginner).
    Tnx to whoever will help

    Assuming you are running on Windows here.
    Packages are directly tied to the classpath. Before java can find the it.prove.test1 package, it needs to be a part of the classpath. To make this possible, you need to add the root of the path, where the 'it' directory is in, to the classpath, like this:
    javac -cp .;/home/username/Desktop file.java
    the -cp switch tells java which classpath to use; it consists of two elements:
    . = current directory
    /home/username/Desktop = the directory containing the 'it' package root
    When run like this, it should work. The same goes for running the code, you would run it like this:
    java -cp .;/home/username/Desktop it.prove.test2.HelloWorldProgram
    Hope that gives you the hints you need.

  • I would like to create the a swatch, add it to the library and import to the swatch panel.  The help pages available relate to earlier versions of Muse, which does not work with the 2014.2 release version that I have.  I have created a library folder, imp

    I would like to create the a swatch, add it to the library and import to the swatch panel.  The help pages available relate to earlier versions of Muse, which does not work with the 2014.2 release version that I have.  I have created a library folder, imported the colour swatch as just 4 colours as a mulib file.  I drag the four colours on to the muse page in design view but that is as far as I get.  Can anyone help?  Thanks

    I don't know since I don't share anything. You'll have to peruse the help files and check the permissions and ACLs on the Shared folder. According to the permissions on the Shared folder everyone can R&W. If you want those to be inherited by everything dropped into the folder, add an ACL for
    everyone allow read, write
    Details in the manpage for chmod. The actual steps are left as an exercise.

  • ITunes drag to import new songs in library or to create playlists from folders on windows does not work!

    iTunes drag to import new songs in library or to create playlists from folders on windows does not work!
    WHY? I have to solve, how can I do? Thank you

    up

  • After the upgrade to Mozilla 32 using csv files to import data does not work anymore. What should I do?

    Hello,
    After the latest upgrade to Mozilla 32 a previously recorded imacros scirpt in which the data was being imported into mozilla from a csv file keeps erroring out. This same problem occurred with the with the upgrade to Mozilla 30 and was fixed when Mozilla was upgraded to 31. Can you please advise on how to correct the problem so that csv files can be used in conjunction with imacros scripts. I would like to point out that imacros still works without the use of csv files, but when you introduce a csv to the script the imacros does not work.
    Thank you,
    Eugene

    hello eugene, please directly contact the imacros extension developers through the means provided at their [http://forum.iopus.com/viewforum.php?f=11 forum] - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon for new firefox versions. thank you...

  • Import mail function does not work for Outlook Express

    working on a windows 8.1 laptop, trying to import emails from a Outlook Express directory that was moved to the new PC. Latest Thunderbird is running and the import starts and then very quickly finishes without importing anything.

    Thunderbird import does not work on my XP machine either, I already tried it. Do you mean that outlook Express has to be running at the time of import?
    I did migrate the mail folder into Windows live email, so I have access to the email but only as a kludgy 2 email solution.
    Thunderbird does not recognize Live Mail, so that was not helpful.
    I think the import broke in some previous release and has not been tested lately.

Maybe you are looking for

  • I am trying to acquire several cycles of a waveform and save it to an excell file.

    Only one or two (I don't remember which) of the values shows up on the excell spreadsheet, the spreadsheet remains otherwise empty. I know that the waveform is being captured by the DAQ because it is graphed, and it looks fine. If someone could point

  • Lightroom - Photoshop Integration breaks for more than one file

    This message is for those of us who process lots of images. I just spend a n afternoon working with Lightroom 1.0 to process the 900+ images taken at a sporting event over the weekend. My task is to find the keepers, and then run a custom action in P

  • RFC to pull the Idoc's from FTP

    Hey,      Is there any standard RFC to pull the IDOCs from an FTP server into the R3. Please help.

  • How to control the mesh tool?

    I am wanting to use the mesh tool but I need to know how to control my lines. I want a starting point and an end point but when I click the starting point is decided by me but the end point is decided on its own, and it is not the end point I want. I

  • Use of U perform tool.

    Hi Experts, where use the U perform tool while BBP preparation or any stage in implementation project. My client ask me about these u perform tool. regards, AVI DDS.