Sponsored Content
Full Discussion: Linux > Export (exp) command
Operating Systems Linux Linux > Export (exp) command Post 302250800 by ora_umair on Friday 24th of October 2008 09:49:52 AM
Old 10-24-2008
Linux > Export (exp) command

Hi All,

When I run the following command to export the data dump file:

$ exp DEV@ccprod

I get the following message:

Export done in US7ASCII character set and AL16UTF16 NCHAR character set server uses WE8ISO8859P1 character set (possible charset conversion).

The export works, but I need to do the export using the native character set. Same thing happens when I try to import.

Is there a way to force the exp command to use the native character set.

Thanks for your help in advance.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

using export command

I saw a unix shell script in which export command is used like this : export filename what is a file exported for ? thanks srini (4 Replies)
Discussion started by: sveera
4 Replies

2. UNIX for Advanced & Expert Users

Export command

Hi all, Want to know what does export command do?? What is its functionality? And on a shell prompt $at=1 $ echo $at 1 The variable above is it available to other script??? (3 Replies)
Discussion started by: prakash.kudreka
3 Replies

3. UNIX for Advanced & Expert Users

Linux Export command

Hi All, Can anybody tell me . What does it mean by following statement export $$ Generally export command sets up the environment variable and if any child process is created it passes on to it Thanks & Regards Srivatsav (2 Replies)
Discussion started by: bsrivatsav
2 Replies

4. Shell Programming and Scripting

awk/sed Command : Parse parameter file / send the lines to the ksh export command

Sorry for the duplicate thread this one is similar to the one in https://www.unix.com/shell-programming-scripting/88132-awk-sed-script-read-values-parameter-files.html#post302255121 Since there were no responses on the parent thread since it got resolved partially i thought to open the new... (4 Replies)
Discussion started by: rajan_san
4 Replies

5. UNIX for Dummies Questions & Answers

extract a part of a path like (input: /etc/exp/home/bin ====> output: exp)

Hi, I need to make some extraction . with the following input to get the right output. input: /etc/exp/home/bin ====> output: exp and input: aex1234 ===> output: ex Thanks for your help, (4 Replies)
Discussion started by: yeclota
4 Replies

6. UNIX for Dummies Questions & Answers

exp command to extract particular rows

Hi, I'm new to unix so hopefully you can help! I'm using the below command to extract a tables contents and store it in a dmp file: exp OWNER/OWNER@LINK FILE=exp.dat TABLES=TABLE_TEST This works fine and dumps the table into the exp.dat file. What i can't figure out, is how to... (3 Replies)
Discussion started by: boijie
3 Replies

7. Shell Programming and Scripting

Need help for export command

Hi, I need help for using export command. Lets consider there are 2 servers ie. A & B. I am running one script on server A which calls another script on server B using remsh command. There is one variable in the script on server B which do not gets evaluated and ultimately i get the error. ... (3 Replies)
Discussion started by: tushar_shah06
3 Replies

8. Shell Programming and Scripting

set output of linux cmd as a variable in .exp

I am trying to make a script to take commands from a .txt file ( line by line) and pass it using send ( used in another function ) what i am trying to achieve is : set nol "`grep '' ${exp_path2}/cmdlist.txt | wc -l `" as in shell script nol=`grep '' $exp_path2/cmdlist.txt | wc -l` ... (0 Replies)
Discussion started by: dixyantar
0 Replies

9. UNIX for Dummies Questions & Answers

How to export a command ?

Hi The command "ssh -V" works as normal user but fails as root. As Normal user: bash-3.00$ ssh -V OpenSSH_5.9p1, OpenSSL 1.0.0e 6 Sep 2011As Root user: # ssh -V bash: ssh: command not found Thanks (1 Reply)
Discussion started by: frintocf
1 Replies

10. Shell Programming and Scripting

When i am trying to execute export command within a shell script it is saying command not found.

I am running the export command within a view to use that value inside my build script. But while executing it it is saying "export command not found" My code is as follows: -------------------------- #!/bin/sh user="test" DIR="/bldtmp/"$user VIEW="test.view1" echo "TMPDIR before export... (4 Replies)
Discussion started by: dchoudhury
4 Replies
Exporting Topologies to XML.(3) 			     Hardware Locality (hwloc)				   Exporting Topologies to XML.(3)

NAME
Exporting Topologies to XML. - Functions int hwloc_topology_export_xml (hwloc_topology_t topology, const char *xmlpath) int hwloc_topology_export_xmlbuffer (hwloc_topology_t topology, char **xmlbuffer, int *buflen) void hwloc_free_xmlbuffer (hwloc_topology_t topology, char *xmlbuffer) void hwloc_topology_set_userdata_export_callback (hwloc_topology_t topology, void(*export_cb)(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj)) int hwloc_export_obj_userdata (void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length) int hwloc_export_obj_userdata_base64 (void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length) void hwloc_topology_set_userdata_import_callback (hwloc_topology_t topology, void(*import_cb)(hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)) Detailed Description Function Documentation int hwloc_export_obj_userdata (void *reserved, hwloc_topology_ttopology, hwloc_obj_tobj, const char *name, const void *buffer, size_tlength) Export some object userdata to XML. This function may only be called from within the export() callback passed to hwloc_topology_set_userdata_export_callback(). It may be invoked one of multiple times to export some userdata to XML. The buffer content of length length is stored with optional name name. When importing this XML file, the import() callback (if set) will be called exactly as many times as hwloc_export_obj_userdata() was called during export(). It will receive the corresponding name, buffer and length arguments. reserved, topology and obj must be the first three parameters that were given to the export callback. Only printable characters may be exported to XML string attributes. If a non-printable character is passed in name or buffer, the function returns -1 with errno set to EINVAL. If exporting binary data, the application should first encode into printable characters only (or use hwloc_export_obj_userdata_base64()). It should also take care of portability issues if the export may be reimported on a different architecture. int hwloc_export_obj_userdata_base64 (void *reserved, hwloc_topology_ttopology, hwloc_obj_tobj, const char *name, const void *buffer, size_tlength) Encode and export some object userdata to XML. This function is similar to hwloc_export_obj_userdata() but it encodes the input buffer into printable characters before exporting. On import, decoding is automatically performed before the data is given to the import() callback if any. This function may only be called from within the export() callback passed to hwloc_topology_set_userdata_export_callback(). The function does not take care of portability issues if the export may be reimported on a different architecture. void hwloc_free_xmlbuffer (hwloc_topology_ttopology, char *xmlbuffer) Free a buffer allocated by hwloc_topology_export_xmlbuffer() int hwloc_topology_export_xml (hwloc_topology_ttopology, const char *xmlpath) Export the topology into an XML file. This file may be loaded later through hwloc_topology_set_xml(). Returns: -1 if a failure occured. Note: See also hwloc_topology_set_userdata_export_callback() for exporting application-specific userdata. Only printable characters may be exported to XML string attributes. Any other character, especially any non-ASCII character, will be silently dropped. int hwloc_topology_export_xmlbuffer (hwloc_topology_ttopology, char **xmlbuffer, int *buflen) Export the topology into a newly-allocated XML memory buffer. xmlbuffer is allocated by the callee and should be freed with hwloc_free_xmlbuffer() later in the caller. This memory buffer may be loaded later through hwloc_topology_set_xmlbuffer(). Returns: -1 if a failure occured. Note: See also hwloc_topology_set_userdata_export_callback() for exporting application-specific userdata. Only printable characters may be exported to XML string attributes. Any other character, especially any non-ASCII character, will be silently dropped. void hwloc_topology_set_userdata_export_callback (hwloc_topology_ttopology, void(*)(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj)export_cb) Set the application-specific callback for exporting userdata. The object userdata pointer is not exported to XML by default because hwloc does not know what it contains. This function lets applications set export_cb to a callback function that converts this opaque userdata into an exportable string. export_cb is invoked during XML export for each object whose userdata pointer is not NULL. The callback should use hwloc_export_obj_userdata() or hwloc_export_obj_userdata_base64() to actually export something to XML (possibly multiple times per object). export_cb may be set to NULL if userdata should not be exported to XML. void hwloc_topology_set_userdata_import_callback (hwloc_topology_ttopology, void(*)(hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)import_cb) Set the application-specific callback for importing userdata. On XML import, userdata is ignored by default because hwloc does not know how to store it in memory. This function lets applications set import_cb to a callback function that will get the XML-stored userdata and store it in the object as expected by the application. import_cb is called during hwloc_topology_load() as many times as hwloc_export_obj_userdata() was called during export. The topology is not entirely setup yet. Object attributes are ready to consult, but links between objects are not. import_cb may be NULL if userdata should be ignored during import. Note: buffer contains length characters followed by a null byte (''). This function should be called before hwloc_topology_load(). Author Generated automatically by Doxygen for Hardware Locality (hwloc) from the source code. Version 1.7 Sun Apr 7 2013 Exporting Topologies to XML.(3)
All times are GMT -4. The time now is 07:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy