Problem in export/import work repo !!!
Hi All,
Good Morning.
I have a problem with exporting and importing repositories. The description of the problem is given below,
I have a remote machine in that sunopsis is installed and all the developments,implementations,testing are happening there.
Now i need to stimulate the same environment in my local desktop(ODI is installed and master,work repo is created).
When i export the work repo from my remote machine and trying to import it in my local machine (from designer level import->work repo) after a while its saying "snp_lschema does not exists" error.
Any one have idea why this is happening?
Thanks,
Guru
Hi Julien,
Thanks for your input. It really helpful for me.
I need some more clarifications,
Actually i exported my master and work repo from my remote machine (as a zip file) and saved it in my local drive (say D:/downloads/deploy.zip...)
So when i tried to import master repo from topology ( browsing the zip file and said OK) its not doing anything, i mean nothing happens after i said OK.
Should i have to copy this master repo zip in the Sunopsis installation folder (in IMPEXP directory) and then import it? Am i doing right?
Please advise.
Thanks,
Guru
Similar Messages
-
Problem with EXPORT IMPORT PROCESS in ApEx 3.1
Hi all:
I'm having a problem with the EXPORT IMPORT PROCESS in ApEx 3.1
When I export an application, and try to import it again. I get this error message
ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 16, column 28: PLS-00103: Encountered the symbol "牃慥整㈰㈯⼴〲㐰〠㨷㐵㈺′䵐" when expecting one of the following: ( - + case mod new not null <an identifier> <a double-quoted delimited-identifier> <a bind variable> avg count current exists max min prior sql stddev sum variance execute forall merge time timestamp in
As a workaround, I check the exported file and found this
wwv_flow_api.create_flow
p_documentation_banner=> '牃慥整⠤㈰㈯⼴〲㠰〠㨷㠵㈺′äµ
And when I replace with this
p_documentation_banner=> ' ',
I can import the application without the error.
somebody knows why I have to do this??
Thank you all.
Nicolas.Hi,
This issue seems to have been around for a while:
Re: Error importing file
I've had similar issues and made manual changes to the file to get it to install correctly. In my case, I got:
ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful.<br>ORA-02047: cannot join the distributed transaction in progress<br>begin execute immediate 'alter session set nls_numeric_characters='''||wwv_flow_api.g_nls_numeric_chars||'''';end;There are several suggestions, if you follow that thread, about character sets or reviewing some of the line breaks within pl/sql code within your processes etc. Not sure what would work for you. -
Problem with export / import
Hi everybody, I am having a problem with an import. I am doing an export with a value in an user exit:
EXPORT V_NLQNR = V_NLQNR TO MEMORY ID 'QUANTL'
And after I call import in another program:
IMPORT V_NLQNR = V_NLQNR FROM MEMORY ID 'QUANTL'.
But when I check the sy-subrc I am getting 4, so I don't get anything.
Does anybody why?? Is there a problem if I call the export from an user exit??
Thanks in advance.Hello,
I think you have the right idea.
As a suggestion I would name my variables to make it clear which data is being
exported/imported. I would also use different names on the left and right side of the = sign.
Here is a working example from programs that I use:
In the first program
EXPORT intercodata FROM g_data_exp TO MEMORY ID 'INTERCOWOS'.
where g_data_exp is declared as a global variable
In the second program
IMPORT intercodata TO g_data_imp FROM MEMORY ID 'INTERCOWOS'.
where g_data_imp is declared as a global variable
The syntax that you use ( p1 = dobj1 ) should work as well, just make sure that the variable v_nlqnr to the right of the equal sign has a value before the export.
Regards
Greg Kern -
Problems in export / import repository
Hi there,
I'm trying to export/import a repository.
The first trouble is: I export the topology, but when I import it nothing is imported (no error messages).
I resorted to manually reconfiguring the topology
The second and worse trouble is: I exported the project and the models, then I imported the project (successfully)
but when I tried and import the models I got some error messages related to missing data (referential integrity)
Any help is warmly appreciated
Regards
Andrew FloritI've got the same problem "I export the topology, but when I import it nothing is imported (no error messages)."
What could be the solution?
Thanx -
Problem with export/import in back ground
Hi Experts,
I am having a requirement in which i am exporting an internal table to memory from one program and importing that in another program. in foreground it is working fine. But in background it is not working. Is there any work around.
Here is sample code.
Program1:
types:
begin of tab_type,
para type string,
dobj type string,
end of tab_type.
data:
id type c length 10 value 'TEXTS',
text1 type string value `IKE`,
text2 type string value `TINA`,
line type tab_type,
itab type standard table of tab_type,
itab1 type standard table of tab_type.
line-para = 'P1'.
line-dobj = 'TEXT1'.
append line to itab.
line-para = 'P2'.
line-dobj = 'TEXT2'.
append line to itab.
free memory id 'TD'.
export itab to memory id 'TD'.
Program2:
types:
begin of tab_type,
para type string,
dobj type string,
end of tab_type.
data:
id type c length 10 value 'TEXTS',
text1 type string value `IKE`,
text2 type string value `TINA`,
line type tab_type,
itab type standard table of tab_type,
itab1 type standard table of tab_type.
refresh itab.
import itab from memory id 'TD'.
free memory id 'TD'.
clear line.
loop at itab into line.
write: / line-para, line-dobj.
clear line.
endloop.
Thanks,
JyothiThanks for your links Venkat.
My problem is solved by using the SHARED BUFFER.
Here is the code i used inthe first program
DATA: wa_invdata(10) TYPE c VALUE 'INVDATA'.
DATA: wa_month(10) TYPE c VALUE 'MONTH'.
DATA: wa_process(10) TYPE c VALUE 'PROCESS'.
EXPORT wa_month_end TO MEMORY ID 'MONTHEND'.
EXPORT e_process = it_inv_data[]
TO SHARED BUFFER indx(st) ID wa_process.
EXPORT e_month = wa_month_end
TO SHARED BUFFER indx(st) ID wa_month.
EXPORT e_invdata = it_tab[]
TO SHARED BUFFER indx(st) ID wa_invdata.
EXPORT it_inv_data TO MEMORY ID 'PROCESS'.
DATA: number TYPE tbtcjob-jobcount,
name TYPE tbtcjob-jobname VALUE 'CRDR_ ',
print_parameters TYPE pri_params.
CONCATENATE name
sy-datum
INTO name .
*CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
no_dailog = 'X'
archive_mode = '3'
IMPORTING
out_parameters = print_parameters
out_archive_parameters = archi_parameters
valid = valid_flag
EXCEPTIONS
invalid_print_params = 2
OTHERS = 4.
CALL FUNCTION 'JOB_OPEN'
EXPORTING
jobname = name
IMPORTING
jobcount = number
EXCEPTIONS
cant_create_job = 1
invalid_job_data = 2
jobname_missing = 3
OTHERS = 4.
IF sy-subrc = 0.
print_parameters-pdest = 'locl'.
SUBMIT zsd_crdr_monthend_back_process
TO SAP-SPOOL
SPOOL PARAMETERS print_parameters
WITHOUT SPOOL DYNPRO
VIA JOB name NUMBER number
AND RETURN.
IF sy-subrc = 0.
CALL FUNCTION 'JOB_CLOSE'
EXPORTING
jobcount = number
jobname = name
strtimmed = 'X'
EXCEPTIONS
cant_start_immediate = 1
invalid_startdate = 2
jobname_missing = 3
job_close_failed = 4
job_nosteps = 5
job_notex = 6
lock_failed = 7
OTHERS = 8.
Second Program
Program zsd_crdr_monthend_back_process.
DATA: wa_invdata(10) TYPE c VALUE 'INVDATA'.
DATA: wa_month(10) TYPE c VALUE 'MONTH'.
DATA: wa_process(10) TYPE c VALUE 'PROCESS'.
IMPORT e_invdata = it_tab[]
FROM SHARED BUFFER indx(st) ID wa_invdata.
IF sy-subrc NE 0 OR it_tab[] IS INITIAL..
No data found for the Month end processing
MESSAGE s398(00)
WITH 'No Data Found'.
STOP.
ELSE.
found the data
IMPORT e_process = it_inv_data[]
FROM SHARED BUFFER indx(st) ID wa_process.
IMPORT e_month = wa_month_end
FROM SHARED BUFFER indx(st) ID wa_month.
Thanks for your help. -
Problem with Export/Import in background
Hi Experts,
I am having a requirement in which i am exporting an flag to memory from one program and importing that in another program. in foreground it is working fine. But in background it is not working. Is there any work around.
Report 1:
DATA:l_flag type c value 'X'.
free memory id 'ZFLAG'.
EXPORT L_FLAG TO MEMORY ID 'ZFLAG'.
LEAVE PROGRAM.
Report 2:
DATA:L_FLAG TYPE C.
import l_FLAG from memory id 'ZFLAG'.
free memory id 'ZFLAG'.
IF l_FLAG = 'X'.
LEAVE PROGRAM.Hi,
You can export the flag to database ..it is not required to be a internal tabel. You can refer to this link..
It is explained with example
http://help.sap.com/saphelp_45b/helpdata/en/34/8e73a36df74873e10000009b38f9b8/content.htm
Here obj1 can be single variable..
EXPORT obj1 ... objn TO DATABASE dbtab(ar) ID key
This will work in Background not the Export to MEMORY statement. -
Problems with export/import
Hi People,
I'm fairly new to the world of Oracle, I wonder if you could help me.
* Imported a dump file into Oracle 8.1.7 R3
( Came from Oracle 8.1.7 running on HP/UX, importing onto another HP/UX
system. Dump file is from one user and contains approx 7GB of data )
Once imported this leaves me with approx 10% of my disk left ( its a 9GB
partition ).
* Ran a purge script against the user's tables that removes transactional
data over 60 days old. This should get rid of 50-60% of the data.
* I then exported the table data out to a dmp file
( Compressing Extents )
* removed original user
* removed rollback segments
* removed tablespace
* recreated tablespace
* recreated rollback segment
* created user
* ran imp with the newly created dmp file
The problem i've got, is that once I import the newly created dump file,
it fills the disk up completely and the import never finishes.
Please forgive me, as i'm sure i'm doing something fundamentally wrong.
Can someone explain what i'm doing wrong and how to rectify it ?.
regards
/LarsIt seems the import is failing because the export to memory fails also.
Can you explain?
Did you check the extended debugger facilities like memory areas?
What is the structure/amount of data for ex- and import, same name, same data object?
Just reveal what you are really doing, post a few code lines.
Or not.
Regards,
Clemens -
{SOL}Problem in Export/Import a simple table between two diff. characterset
Hi ,
I have created a simple table on SCOTT schema....
SQL> CREATE TABLE TEST(A NUMBER(1) , B VARCHAR2(10));
Table created
SQL> INSERT INTO TEST VALUES(1 , 'TEST_TEST');
1 row inserted
SQL> COMMIT;
Commit complete
SQL> INSERT INTO TEST VALUES(2 , 'ΤΕΣΤ_ΤΕΣΤ'); <------------greek chars
1 row inserted
SQL> COMMIT;
Commit complete
The nls_parameters:
SQL> SELECT * FROM NLS_INSTANCE_PARAMETERS;
PARAMETER VALUE
NLS_LANGUAGE GREEK
NLS_TERRITORY GREECE
NLS_SORT
NLS_DATE_LANGUAGE
NLS_DATE_FORMAT
NLS_CURRENCY
NLS_NUMERIC_CHARACTERS
NLS_ISO_CURRENCY
NLS_CALENDAR
NLS_TIME_FORMAT
NLS_TIMESTAMP_FORMAT
NLS_TIME_TZ_FORMAT
NLS_TIMESTAMP_TZ_FORMAT
NLS_DUAL_CURRENCY
NLS_COMP
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
17 rows selected
SQL> SELECT * FROM NLS_SESSION_PARAMETERS;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
17 rows selected
and db characterset is EL8MSWIN1253
I export such as(following generally the instuctions found on Note:227332.1-Metalink):
C:\Documents and Settings\s_k>SET ORACLE_SID=EPESY
C:\Documents and Settings\s_k>SET NLS_LANG=GREEK_GREECE.EL8MSWIN1253
C:\Documents and Settings\s_k>C:\oracle\product\10.2.0\database10g\BIN\exp SYSTE
M/passwd@EPESY FILE=C:\TEST.DMP TABLES=(SCOTT.TEST) ROWS=Y LOG=C:\TEST2.TXT
Export: Release 10.2.0.1.0 - Production on ╩Ϋ± ╔ΎΫΊ 22 12:28:58 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
╕ήώΊί ≤²Ίϊί≤ύ ≤ί: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
╟ ίΌάή∙ή▐ ▌ήώΊί ≤ΪΎ ≤ίΪ ≈ά±άΆΪ▐±∙Ί EL8MSWIN1253 Άάώ ≤ΪΎ ≤ίΪ ≈ά±άΆΪ▐±∙Ί NCHAR AL1
6UTF16
╨±ΎίΪΎώΉά≤▀ά ήώά ίΌάή∙ή▐ Ϊ∙Ί Ώ±Ύ≤ϊώΎ±ώ≤Ή▌Ί∙Ί ΏώΊ▄Ά∙Ί Ή▌≤∙ ╙ΫΉέάΪώΆ▐≥ ─ώάϊ±ΎΉ▐≥ .
╧ Ϊ±▌≈∙Ί ≈±▐≤Ϊύ≥ ▄ΈΈάΌί ≤ί SCOTT
. . ίΌάή∙ή▐ ΪΎΫ Ώ▀ΊάΆά TEST 2 ή±άΉΉ▌≥ ίΌ▐≈ϋύ≤
άΊ
╟ ίΌάή∙ή▐ ΪίΈί▀∙≤ί ίΏώΪΫ≈■≥ ≈∙±▀≥ Ώ±ΎίώϊΎΏΎ▀ύ≤ύ.Then , i shutdown this database and i start the other.....
with this nls_parameters
SQL> select * from nls_session_parameters;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS CHAR
NLS_NCHAR_CONV_EXCP FALSE
17 rows selected
SQL>
SQL> select * from nls_instance_parameters;
PARAMETER VALUE
NLS_LANGUAGE GREEK
NLS_TERRITORY GREECE
NLS_SORT
NLS_DATE_LANGUAGE
NLS_DATE_FORMAT
NLS_CURRENCY
NLS_NUMERIC_CHARACTERS
NLS_ISO_CURRENCY
NLS_CALENDAR
NLS_TIME_FORMAT
NLS_TIMESTAMP_FORMAT
NLS_TIME_TZ_FORMAT
NLS_TIMESTAMP_TZ_FORMAT
NLS_DUAL_CURRENCY
NLS_COMP
NLS_LENGTH_SEMANTICS CHAR
NLS_NCHAR_CONV_EXCP FALSE
17 rows selected
with this db characterset: UTF8
C:\Documents and Settings\s_k>SET NLS_LANG=GREEK_GREECE.EL8MSWIN1253
C:\Documents and Settings\s_k>C:\oracle\product\10.2.0\database10g\BIN\imp syste
m/passwd@info FROMUSER=SCOTT TOUSER=SCOTT FILE=C:\TEST.DMP LOG=C:\TEST0_IMP.TXT
Import: Release 10.2.0.1.0 - Production on ╩Ϋ± ╔ΎΫΊ 22 12:40:16 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
╕ήώΊί ≤²Ίϊί≤ύ ≤ί: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
┴±≈ί▀Ύ ίΌάή∙ή▐≥ ϊύΉώΎΫ±ή▐ϋύΆί άΏⁿ EXPORT:V10.02.01 Ή▌≤∙ ≤ΫΉέάΪώΆ▐≥ ϊώάϊ±ΎΉ▐≥
ίώ≤άή∙ή▐ ▌ήώΊί ≤ί ≤ίΪ ≈ά±άΆΪ▐±∙Ί EL8MSWIN1253 Άάώ ≤ίΪ ≈ά±άΆΪ▐±∙Ί NCHAR UTF8
server ίώ≤άή∙ή▐≥ ≈±ύ≤ώΉΎΏΎώί▀ ≤ίΪ ≈ά±άΆΪ▐±∙Ί UTF8 (ϊΫΊάΪ▐ ΉίΪάΪ±ΎΏ▐ ≤ίΪ ≈ά±άΆΪ▐±
∙Ί)
server ίΌάή∙ή▐≥ ≈±ύ≤ώΉΎΏΎώί▀ ≤ίΪ ≈ά±άΆΪ▐±∙Ί NCHAR AL16UTF16 (ϊΫΊάΪ▐ ΉίΪάΪ±ΎΏ▐ ≤ί
Ϊ ≈ά±άΆΪ▐±∙Ί nchar)
. ίώ≤άή∙ή▐ Ϊ∙Ί άΊΪώΆίώΉ▌Ί∙Ί ΪΎΫ SCOTT ≤ΪΎ SCOTT
. . ίώ≤άή∙ή▐ ΪΎΫ Ώ▀ΊάΆά "TEST" 2 ή±άΉΉ▌≥ ίώ≤▐≈ϋ
ύ≤άΊ
╟ ίώ≤άή∙ή▐ ΪίΈί▀∙≤ί ίΏώΪΫ≈■≥ ≈∙±▀≥ Ώ±ΎίώϊΎΏΎ▀ύ≤ύ.
C:\Documents and Settings\s_k>SQLPLUS SCOTT/TIGER
SQL*Plus: Release 10.2.0.1.0 - Production on ╩Ϋ± ╔ΎΫΊ 22 12:41:20 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
╙²Ίϊί≤ύ ≤ί:
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> SELECT * FROM TEST;
A B
1 TEST_TEST
2 ????_????What may be the cause.....????
Note: I use db 10g v.2 on Windows XP platform.. and the two db instances reside on the same machine....
Thanks...
Sim"Generally speaking the value of the NLS_LANG registry key or environment variable needs to be equal to the characterset of the database."
Yes...that's why i have set the NLS_LANG env.variable to GREEK_GREECE.EL8MSWIN1253 ..equal to:
SQL> select * from nls_database_parameters;
PARAMETER VALUE
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET EL8MSWIN1253
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET AL16UTF16
NLS_RDBMS_VERSION 10.2.0.1.0"nls_language doesn't come into play, nor nls_instance_parameters."
Yes...it's true.
"So, in the dump you posted, no one can tell whether those characters were INSERTed correctly at all. Your NLS_LANG *registry key* may have been set to an incorrect value (it defaults to American_America.MSWIN1252)."
Actually , i have used a third-party tool PL/SQL Developer (which does have the OracleDB10g as default home).
Looking at the Windows registry of OracleDB10g the NLS_LANG is equal to GREEK_GREECE.EL8MSWIN1253.
"Thirdly, as I implied above the NLS_LANG on import should have been American_America.UTF8."
According to the Note 227332.1 , if the db characterset of the two dbs are not the same.. then it is preferable the conversion should be done on the import process and not the export....
So, in an example described there -export from a AMERICAN_AMERICA.WE8MSWIN1252 db and import on UTF8 db - (seems exactly the same as mine) the import is done as such:
c:\>set NLS_LANG=AMERICAN_AMERICA.WE8MSWIN1252
c:\>imp ....
The conversion to UTF8 is done while inserting the data
in the UTF8 database.Additional notes....
I have used many different patterns doing the import......
1) Use of AMERICAN_AMERICA.UTF8
2) Use of GREEK_GREECE.EL8ISO8859P7
3) Use the appropriate NLS_LANG that corresponds to the display of chcp command....
All tries display some '?' chars.....
Anyway... I 'll continue reading ... and testing
Thanks... a lot for your points
Sim -
Can't get export/import working for Apex
Hello,
We continue to struggle with exporting and importing. This is currently our release process from development area into production. Any better ideas?
The errors have continued to be random but what I currently get is:
Error ERR-1029 Unable to store session info. session=470508247781401 item=40006855470898
ORA-02091: transaction rolled back ORA-02291: integrity constraint (APEX_040100.WWV_FLOW_STEP_PROCESS_FK) violated - parent key not foundWe have an idea that the export is getting corrupted because when we alter a couple of pages and try to export again we sometimes get an ok message that can be imported. Anyone experience this? So frustrating.Thanks for taking a look at this situations. Since we develop on a development database and run a parallel copy in a production database where we only "deploy" by importing an exported copy from development. Not sure if this is how other people deploy from development into production, in fact I would be keen to know how other people handle this, but at the time I set it up a couple of years ago this was what suggested at that time.
We simply take an export of the entire application where I leave all the defaults that normally come up on the export page. If needed I'll go into the details. But it is very strange that no one else had issues when they exported that the export itself was corrupt? And subsequent exports either get corrupted in other places or "fix themselves." Does this have anything to do with the fact that my application is getting largish (over 125 pages) ?
Thanks for your help -
Have a problem with exporting & importing project.
Hi all,
I have created my web dynpro project in my system. i tried to exported as zip file. and import in to my laptop. unfortunatly it asks, where to import this zip file and i have given my workspace in my laptop. but it doesn't accept it. Any one can help me by step by step. forget about what i have done. please give me your sugisstions.
thank you
Regards
RaviHai,
Right Click on You project select export as -->zip file select location finish.
to import that one.
create new project with same name (the project old name)
file-->import -->zip file Select your zip file --> select the new project nad click finish
regards,
naga
Message was edited by:
Naga Raju Meesala -
Export/Import problem please help
Hi All,
I have a strange problem in Export/Import.. I don't know ,where to fix..
I'm trying to Export/Import dmp file in new Schema.
when i'm exporting the tables, it is writing with storage options(Which causing me the problem, I don't have a enough space in the tablespace and i can't increase any more)
I don't want the table data, i want only table structure without storage option.
So,i'm looking export syntax without storage options to the table(like inital extents,increment,max extents like that)
I'm writing like this
exp system/manager@connectstring file=exp.dmp log=exp.log owner=sys rows=N statistics=none indexes=n compress=N
Any idea ?
Thanks
James.Why are you exporting at all? You say you want to place this info into another schema (on the same instance? or an instance on the same network?) Just run this script:
alter tablespace mytablespace
default storage (initial 256K next 256K);
set heading off pages 0 echo off termout off
spool a.sql
select 'create table newschema.'||table_name||' tablespace mytablespace as select * from '||table_name||' where 1=2;'
from all_tables
where owner='OLDSCHEMA';
spool off
@a.sql
If the new schema is on a different instance or server, you will have to create a db link first. -
Steps to be followed in Export/Import
Can anyone help me out defining the exact steps to be followed in exporting and importing the ODI objects?
I have exported the master and work repository. I created a new master repository by importing the zip file. I can see the architecture neatly imported into the topology. The problem starts when I try to import the work repository. It keeps throwing the integrity constraint error. I export/import folder-wise as the current work repository is pretty huge!!
It will be of great help if some one could explain the steps to be followed while export/import in ODIHi there,
It is typical of ODI to throw those errors, as the documentation is not quite comprehensive about how to do it.
Here are a few guidelines:
(i) Topology (master repository) should be exported n imported first. Then the models and finally the projects and the variables. Also, work repository export may not work if you try to export whole work repo at one go using File---->Export---->Work Repository !
So the best thing is File--->Export---->Multiple Export----> then drag all ur objects into the box and check the "zip" checkbox
Create separate zips for Models and separate for Projects and so on
And import Model zip before Project zip in your new repository
OR
(ii) Use database schema export and import. This has worked the best for us.
And I think it is the most flawless way of doing export import because you dont lose any objects and dont get any integrity constraint errors etc
Just export the master repository & work repository schemas and then import them in you new database -
Hi,
since I do not have a good knowledge of oracle, hopefully somebody may help me to understand better how export/import work (oracle 9)
A colleague as run an export from a production server, now he needs to run the import on a test server but it fails.
Could someone be so kind to let me know what I have to take into consideration before running both commands ?
I explain better:
I have noticed that the DB_BLOCK_SIZE is indeed different on the two servers (production server has a DB_BLOCK_SIZE=4096)(test server has a DB_BLOCK_SIZE=8192)
so the first thing I have seen in the import log file is an error message saying that "tablespace block size 4096 does not match configured block sizes"
So my first question would be: is there any chance to run export/import on two servers with different DB_BLOCK_SIZE ?
Then (due to my ignorance of the subject):
- is there any problem is the SID is different on the two servers ? or it is not important ?
- is it important that the PATH of "*dbf" files is different on the two servers or this fact is not taken into consideration at all (since only 'logical' data are taken into consideration) ?
- do the tablespaces currently used on the production server have to exist in the test server in order to have a successful import ?
Hopefully somebody has few minutes to answer my question.
Thanks a lot in advance.Hi,
Are you talking about FULL export/import method, right? Well, Oracle 9i supports multiple block sizes in the same database. So, it gives you an option of using multiple block sizes, which is especially useful when you are transporting tablespaces from another database with a different block size. In this case, will be necessary to set the initialization parameter called DB_nK_CACHE_SIZE in the initialization parameter file. For example, in your case, if your standard block size is 8KB, you will need to pre-create a tablespace with a block size, say 4KB that are currently using on your product server and then you will must set the DB_4K_CACHE_SIZE parameter in your test server. The DB_nK_CACHE_SIZE The parameter is dynamic so you can alter its value using the ALTER SYSTEM statement.
>>- is there any problem is the SID is different on the two servers ? or it is not important ?
No problem ...
>>- is it important that the PATH of "*dbf" files is different on the two servers or this fact is not taken into consideration at all (since only 'logical' data are taken into consideration) ?
In fact, It is important that the tablespace exists in the target database and doesn't matter where they datafiles are located. In this case, logical data are taken into consideration.
>>do the tablespaces currently used on the production server have to exist in the test server in order to have a successful import ?
Yes. For a full import method, this is very important. So, you will need to pre-create the tablespaces in your target tablespaces, but in this case they need to be created with 4k of block size, as I said before. Anyways, you will need to make some tests.
Otherwise, if you want to make a test, create a database on you test server using 8k default block size and use the export user method instead.
Eg.:
If you have the user A, B and C using the TBS_1 in your prod database, so, create the tablespace TBS1 using the default block size (8k) in your test database and make this test below:
PROD DATABASE
exp a/pass file=a grants=n
exp b/pass file=b grants=n
exp c/pass file=c grants=n
TEST DATABASE
create the users A,B and C and perform these tasks below:
imp a/pass file=a full=y
imp b/pass file=b full=y
imp c/pass file=c full=y
In addition, give a feedback ....
Cheers
Legatti -
Issues with Export/Import using Database & Shared buffer
Hi All,
I have a method that calls a program via a job and I am having issues passing data between the two.
Note that two different users process the method and program (via job) resp. This is how I am calling the second prog-
SUBMIT ZPROGRAM
VIA JOB l_jobname
NUMBER l_jobcount
USER i_user
AND RETURN.
I need to pass data from method to the second program and vice versa and then the method continues its processing with the data acquired from the second program.
I have tried using Import/Export using database and also shared buffer. What I have found is that most of the times I am able to pass data from method to program. However the job takes a couple of min to execute and I think that the data is not making back to the method in time.
I have looked at some useful forum links-
Problem with export/import in back ground
Re: EXPORT/IMPORT to MEMORY
but havent been able to find an answer yet. Any solution? Thanks in advance for your help!
LizHi Suhas, Subhankar
I have tested the scenario without the job previously itself and it works. Thats the reason, i am trying with the job now as my requirement is that I need to change the user while executing the second report.
Here is an example of my import/export - I am passing the return value from the second report to the first.
Code in second report-
DATA: INDXKEY LIKE INDX-SRTFD VALUE 'RET1'.
INDX-AEDAT = SY-DATUM.
INDX-USERA = SY-UNAME.
EXPORT RETURN1 TO SHARED BUFFER INDX(ST) ID INDXKEY.
Code in first report -
SUBMIT ZPROGRAM
VIA JOB l_jobname
NUMBER l_jobcount
USER i_user
AND RETURN.
Once Job close FM is executed successfully, I import the values as follows
IMPORT RETURN1 TO RETURN1 FROM SHARED BUFFER INDX(ST) ID INDXKEY3.
INDXKEY is having value RET1.
However Return1 is not having any values in first report. It has some value in executed without the job
Please note that I have tried Export/import with Database too and I am getting the same results.
Thanks for your suggestions.
Regards, Liz -
Export/import in 904 versus 10.1.2
We have two 10G AS 904 installs (dev and prod - same O/S too). From time to time we move our production portal content to the dev server. We sometimes get corruption and have to use the Schema validation Utility scripts to fix the import to the dev server. Not a show stopper but this adds another manual step to the process.
I see the 10.1.2 version has improved import/export checks. Can anyone give feedback on the improvements in the export/import process?
Thanks
KevinKevin,
Careful with this approach. Passing from DEV to PROD is ok, but then to DEV back again, what I suggest you is that you have a clean start on DEV, ie, clean the DEV machine and later do the same to the PROD. Portal Export / Import works only in one-way and not both ways (this basically has to do with the checks we do make and with possible conflicts with the objects on both sides). Also check the available documentation... which is all compiled in Metalink Note:263995.1 - Master Note for OracleAS Portal Export / Import Issues
As to the improvement of the process, please give it a check on the New Features papers (make a find on "export" - it is easier to pick the references):-
10.1.2 -- http://www.oracle.com/technology/products/ias/pdf/1012_nf_paper.pdf
10.1.4 -- http://www.oracle.com/technology/products/ias/portal/pdf/portal_1014_new_features.pdf
I hope it helps...
Cheers,
Pedro.
Maybe you are looking for
-
How to store jsp session data of different user in util.hashmap
how to store jsp session data of different user in java.util.hashmap and access the data of all user on the server side The same example is given in professional jsp but its not working. I can use getIds() of httpsessioncontext but it's depricated
-
Buttons in a movie clip don't go to frame Labels
Hello, I have 1 button inbeded in a movie clip named mcintroclp that is on frame 1 of my main timeline, Frame 2 is labeled port_btn on the main timeline. In the timeline of the movie clip mcintroclp I've put the code: stop(); function buttonClick(eve
-
Question in Case Statement....
Hi Gurus, I have a case statement as below: Here I have to get the Initials of person only where desc = underwriter. ( P.S sometimes there are multiple underwriter, thats why i put the min() around a character.) Initials = min(case when ( table1.DESC
-
WRT54GS defective out of the box
I recently purchased a Linksys WRT54GS router. I set everything up according to instructions, but immediately encountered a problem. With the ethernet cable from the IP modem connected to the router the Internet light on the front of the unit does
-
How can I automatically insert a date in Pages for my Ipad
Is there any way to automatically insert the current date in a letter using Pages for the IPad? If so how?