How to take data dump(export) with given language set on oracle 9i database(production server) ?

Hi,
I am taken data dump on oracle 9i machine and ported (imported ) oracle 10g (production machine) ,But it will showing error : language set error,
Could you tell me how to take data dump with language set.
Regards,
Suva

Hi PaulM,
     Please follows the details, 
Development server  ,It is 9i machine (I am export in this machine) and Imported on Production Server ( It is Oracle 10 g).
    When import on production server error is coming, Tis error log adding below.
Production Databse (Language details)
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET UTF8
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 UTF8
NLS_RDBMS_VERSION 10.2.0.1.0
Development Database  Language details Details.
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET UTF8
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 UTF8
NLS_RDBMS_VERSION 10.2.0.1.0
Log file
Connected to: Oracle Database 10g Release 10.2.0.1.0 - Production
Export file created by EXPORT:V09.02.00 via conventional path
import done in WE8MSWIN1252 character set and UTF8 NCHAR character set
import server uses UTF8 character set (possible charset conversion)
export server uses AL16UTF16 NCHAR character set (possible ncharset conversion)
. importing JW_OR's objects into JW_OR
. importing JW_OS's objects into JW_OS
. importing JW_ADMIN's objects into JW_ADMIN
. importing JW_OR's objects into JW_OR
. . importing table                      "ACCRXNS"     234671 rows imported
. . importing table                  "AUTHORLINKS"     790450 rows imported
. . importing table                      "AUTHORS"      79500 rows imported
. . importing table                       "CATSOL"      25505 rows imported
. . importing table               "CATSOLSYNONYMS"      80045 rows imported
. . importing table                "CHAPTERTITLES"        133 rows imported
. . importing table                "COMPOUNDLINKS"     601785 rows imported
. . importing table                   "CONDITIONS"     207445 rows imported
. . importing table                     "JOURNALS"       2327 rows imported
. . importing table                     "LANGUAGE"          0 rows imported
. . importing table                     "MAINDATA"     234659 rows imported
. . importing table                      "MOLDATA"     721174 rows imported
. . importing table                   "PLAN_TABLE"          1 rows imported
. . importing table                   "REFERENCES"     276783 rows imported
. . importing table                        "ROLES"          2 rows imported
. . importing table                  "RXNKEYLINKS"    1724404 rows imported
. . importing table                  "RXNKEYWORDS"        848 rows imported
. . importing table                  "TABLETITLES"       2400 rows imported
. . importing table                   "TEMP_TABLE"     165728 rows imported
. . importing table          "TEMP_WILEY_MAINDATA"     155728 rows imported
. . importing table           "TEMP_WILEY_PDF_MAP"      16672 rows imported
. . importing table      "TEMP_WILEY_YEAR_VOL_MAP"         42 rows imported
. . importing table                  "WEX_ACCRXNS"       3465 rows imported
. . importing table              "WEX_AUTHORLINKS"      14183 rows imported
. . importing table                  "WEX_AUTHORS"      79500 rows imported
. . importing table            "WEX_CHAPTERTITLES"        133 rows imported
. . importing table            "WEX_COMPOUNDLINKS"      10925 rows imported
. . importing table               "WEX_CONDITIONS"       5297 rows imported
. . importing table                 "WEX_JOURNALS"       2327 rows imported
. . importing table                 "WEX_LANGUAGE"          0 rows imported
. . importing table                 "WEX_MAINDATA"       3465 rows imported
. . importing table                  "WEX_MOLDATA"      10358 rows imported
. . importing table               "WEX_REFERENCES"       3795 rows imported
. . importing table              "WEX_RXNKEYLINKS"      34540 rows imported
. . importing table              "WEX_RXNKEYWORDS"        848 rows imported
. . importing table              "WEX_TABLETITLES"       2400 rows imported
. . importing table           "WEX_WILEY_HTML_MAP"      17316 rows imported
. . importing table           "WEX_WILEY_MAINDATA"       3465 rows imported
. . importing table            "WEX_WILEY_PDF_MAP"      23925 rows imported
. . importing table       "WEX_WILEY_YEAR_VOL_MAP"         58 rows imported
. . importing table               "WILEY_HTML_MAP"      17316 rows imported
. . importing table               "WILEY_MAINDATA"     234659 rows imported
. . importing table                "WILEY_PDF_MAP"      23925 rows imported
. . importing table           "WILEY_YEAR_VOL_MAP"         58 rows imported
. importing JW_OS's objects into JW_OS
. . importing table                      "ACCRXNS"       7116 rows imported
. . importing table                   "ATMOSPHERE"         47 rows imported
. . importing table                  "AUTHORLINKS"      33276 rows imported
. . importing table                      "AUTHORS"       6555 rows imported
. . importing table                       "CATSOL"       1463 rows imported
. . importing table               "CATSOLSYNONYMS"       9370 rows imported
. . importing table                    "CHEMICALS"      78197 rows imported
. . importing table                "COMPOUNDLINKS"      20799 rows imported
. . importing table                       "EXPDET"          1 rows imported
. . importing table                    "FOOTNOTES"      77825 rows imported
. . importing table                     "JOURNALS"          2 rows imported
. . importing table                     "LANGUAGE"          2 rows imported
. . importing table                     "MAINDATA"       7116 rows imported
. . importing table                     "PATHSTEP"       7199 rows imported
. . importing table               "PROCEDURENOTES"      77293 rows imported
. . importing table                        "ROLES"          2 rows imported
. . importing table                  "RXNKEYLINKS"      23096 rows imported
. . importing table                  "RXNKEYWORDS"       1272 rows imported
. . importing table                  "WEX_ACCRXNS"        135 rows imported
. . importing table               "WEX_ATMOSPHERE"         47 rows imported
. . importing table              "WEX_AUTHORLINKS"        613 rows imported
. . importing table                  "WEX_AUTHORS"       6555 rows imported
. . importing table                "WEX_CHEMICALS"          0 rows imported
. . importing table            "WEX_COMPOUNDLINKS"        497 rows imported
. . importing table                   "WEX_EXPDET"          1 rows imported
. . importing table                "WEX_FOOTNOTES"       2184 rows imported
. . importing table                 "WEX_JOURNALS"          2 rows imported
. . importing table                 "WEX_LANGUAGE"          2 rows imported
. . importing table                 "WEX_MAINDATA"        135 rows imported
. . importing table                 "WEX_PATHSTEP"        135 rows imported
. . importing table           "WEX_PROCEDURENOTES"       2253 rows imported
. . importing table              "WEX_RXNKEYLINKS"        695 rows imported
. . importing table              "WEX_RXNKEYWORDS"       1272 rows imported
. importing JW_ADMIN's objects into JW_ADMIN
. . importing table                     "APP_USER"         76 rows imported
. . importing table                       "AUTHOR"      61874 rows imported
. . importing table                     "CITATION"
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 9, maximum: 8)
Column 1 10794
Column 2 77
Column 3 1
Column 4 24
Column 5
Column 6 Science of Synthesis
Column 7 Negishi, E.-i.; Takahashi, T. Science of Synthesis...
Column 8 681–848
Column 9 2
Column 10
Column 11 2002
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 10, maximum: 8)
Column 1 10879
Column 2 77
Column 3 1
Column 4 110
Column 5
Column 6 Comprehensive Organic Synthesis
Column 7 Hiemstra, H.; Speckamp, W. N.; Trost, B. M.; Flemi...
Column 8 1047–108
Column 9 2
Column 10
Column 11
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 10, maximum: 8)
Column 1 10880
Column 2 77
Column 3 1
Column 4 111
Column 5
Column 6 Houben-Weyl Methods of Organic Chemistry
Column 7 De Koning, H.; Speckamp, W. N.; Helmchen, G.; Hoff...
Column 8 1953–200
Column 9 E21b
Column 10
Column 11 1995
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 10, maximum: 8)
Column 1 10904
Column 2 77
Column 3 1
Column 4 135
Column 5
Column 6 Houben-Weyl Methods of Organic Chemistry
Column 7 Ryu, I.; Murai, S.; de Meijere, A., Ed. Houben-Wey...
Column 8 1985–204
Column 9 E17c
Column 10
Column 11 1997
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 9, maximum: 8)
Column 1 10905
Column 2 77
Column 3 1
Column 4 136
Column 5
Column 6 The Chemistry of the Cyclopropyl Group
Column 7 Tsuji, T.; Nishida, S.; Patai, S.; Rappoport, Z., ...
Column 8 307–373
Column 9
Column 10
Column 11 1987
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 10, maximum: 8)
Column 1 10906
Column 2 77
Column 3 1
Column 4 137
Column 5
Column 6 The Chemistry of the Cyclopropyl Group
Column 7 Vilsmaier, E.; Patai, S.; Rappoport, Z., Eds. The ...
Column 8 1341–145
Column 9
Column 10
Column 11 1987
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 9, maximum: 8)
Column 1 10952
Column 2 77
Column 3 1
Column 4 183
Column 5
Column 6 Cyclopropane-Derived Reactive Intermediates
Column 7 Boche, G.; Walborsky, H. M. Cyclopropane-Derived R...
Column 8 117–173
Column 9
Column 10
Column 11 1990
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 10, maximum: 8)
Column 1 10958
Column 2 77
Column 3 1
Column 4 189
Column 5
Column 6 Houben-Weyl Methods of Organic Chemistry
Column 7 Klunder, A. J. H.; Zwanenburg, B. Houben-Weyl Meth...
Column 8 2419–243
Column 9 E17c
Column 10
Column 11 1997
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 9, maximum: 8)
Column 1 10995
Column 2 77
Column 3 1
Column 4 226
Column 5
Column 6 Science of Synthesis
Column 7 Cha, J. K. Science of Synthesis 2005, 325–338.
Column 8 325–338
Column 9
Column 10
Column 11 2005
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 10, maximum: 8)
Column 1 17123
Column 2 82
Column 3 1
Column 4 13
Column 5
Column 6 Comprehensive Organometallic Chemistry II
Column 7 Dushin, R. G.; Edward, W. A.; Stone, F. G. A.; Wil...
Column 8 1071–109
Column 9 12
Column 10
Column 11 1995
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 9, maximum: 8)
Column 1 17124
Column 2 82
Column 3 1
Column 4 14
Column 5
Column 6 Modern Carbonyl Olefination
Column 7 Ephritikhine, M.; Villiers, C.; Takeda, T. Ed. Mod...
Column 8 223–285
Column 9
Column 10
Column 11 2004
IMP-00019: row rejected due to ORACLE error 12899
IMP-00003: ORACLE error 12899 encountered
ORA-12899: value too large for column "JW_ADMIN"."CITATION"."PAGE" (actual: 9, maximum: 8)
Column 1 17126
Column 2 82
Column 3 1
Column 4 16
Column 5
Column 6 Transition Metals for Organic Synthesis (2nd Editi...
Column 7 Furstner, A.; Beller, M.; Bolm, C. Eds. Transition...
Column 8 449–468
Column 9
Column 10
Column 11 2004      17712 rows imported
. . importing table                     "FOOTNOTE"         38 rows imported
. . importing table              "GT_STATS_REPORT"          0 rows imported
. . importing table         "GT_VALIDATION_REPORT"          0 rows imported
. . importing table                     "OR_USERS"          1 rows imported
. . importing table                     "OS_USERS"          1 rows imported
. . importing table                "PROCEDURENOTE"         70 rows imported
. . importing table                  "QC_TRACKING"     539881 rows imported
. . importing table                         "ROLE"          5 rows imported
. . importing table                       "SCHEMA"          3 rows imported
. . importing table              "TASK_ALLOCATION"     159370 rows imported
. . importing table                     "USER_LOG"     174488 rows imported
. . importing table                      "VERSION"          3 rows imported
About to enable constraints...
IMP-00017: following statement failed with ORACLE error 2298:
"ALTER TABLE "AUTHOR" ENABLE CONSTRAINT "FK_AUTHOR_CITATIONID""
IMP-00003: ORACLE error 2298 encountered
ORA-02298: cannot validate (JW_ADMIN.FK_AUTHOR_CITATIONID) - parent keys not found
Import terminated successfully with warnings.
Regards,
Subash

Similar Messages

  • In power mac g5, how to take Automatic Screen Shot with Date

    in power mac g5, how to take Automatic Screen Shot with Date ?
    please help me

    If you are standing by, and activating the process by keyboard
    you could be sure to include the open Date Time menu bar
    image in a complete screenshot, using cmd shift 3. Or outline
    the area you want if not full-screen, by using cmd shift 4.
    The command button may also have an apple icon on it.
    So that's the three key shortcuts for full & partial screen.
    For a more automated method, perhaps try using software to
    run an AppleScript, like Automator. Then write a script or find
    one that you can modify to do tasks and test it.
    There may be other methods, however identifying your intent
    would be higher on the list at this time; to narrow the method.
    Good luck & happy computing!

  • How to fetch data from Mysql with SSL.

    I am using jdk1.5 and mysql 5.0.
    How to fetch data from Mysql with SSL
    I am using url = jdbc:mysql://localhost/database?useSSL=true&requireSSL=true.
    It shows error. how to fetch

    I have created certificate in mysql and checked in mysql.
    mysql>\s
    SSL: Cipher in use is DHE-RSA-AES256-SHA
    but through ssl how to fetch data in java.

  • HR master data change export with Interface-Toolbox PU12

    Hello out there !
    I implemented a HR master data change export with PU12 at one of my customers.
    It works fine - with one little problem:
    It is only possible to export one period (actual or selected).
    Is there any possibility to export more than one period (also periods in the future) ?
    The request is to export also master data with validity start date in a future period.
    Thanks for any help.
    Greetings, Holger Mächtig

    Dear Holger,
    I am very curious about your problem last year. Is it possible to do a future export with PU12?
    I am now working with PU12 for the first time and I have set up a export file in PU12.
    But when I am doing an update without filling the name for the file layout I have the following error:
    "An error occurred when opening the "export file"
    When I am filling the file layout I have the following error:
    "An error occurred when writing to an export file" (Error Number E107).
    "File processing: end of file".
    When I am not doing an update the export file runs and seems right.
    Do you know what I am doing wrong?
    Thanks in advance!
    Kind regards,
    Yvette

  • How to save data in columns with headers?

    I'm trying to save 10 different types of data into individual columns with headers, but I can either get one giant column of data with the given header at the start of each data set (imbeded in the column) or I can get the headers in different columns, but the data all in one row. This seems like a simple problem, but for the life of me I can't figure it out--HELP!
    I've attached my code...don't laugh, I think I've created a monster trying to figure this out. What I'm trying to get is one column with the header "Power (watts)" and then the power data in that column, one column with the header "angular acceleration (rad/s^2)" and then the angular acceleration data in that column, and so on...
    Thanks!
    Attachments:
    RILE-25.vi ‏335 KB

    Hi
    Take a look at this VI / Block diagram pic
    Here, I am demonstrating how to write data to a file column wise along with relevant column headers
    Hope this helps
    Regards
    Dev
    Attachments:
    header_column data.JPG ‏49 KB
    header_column data.vi ‏20 KB

  • Data Pump Export with Column Encryption

    Hi All-
    I have the following two questions:
    - Can I export encrypted column data to a file, preserving the data encrypted? (ie. I don't want clear text in resulting file)
    - If yes, what would another person need to decrypt the generated file? (ie. I want to give the resulting file to a customer)
    Thanks a lot for your help!
    Juan

    Hi,
    expdp and impdp works only on oracle database. You you need to have oracle database on source and destination to use expdp/impdp. You can also use expdp with ENCRYPTION_PASSWORD option so that password can be passed to client for doing impdp at their end with given password.
    Regards

  • Data pump export with error

    Hi All,
    I am new to DBA and when I run expdp for the full database,I am getting the below error
    " ORA-39139: Data Pump does not support XMLSchema objects. TABLE_DATA:"APPS"."abc_TAB" will be skipped.
    I am facing issue with exp utility,so I have to use expdp.
    Kindly help me to avoid these errors.
    Thank,

    Thanks Srini for the Doc - A good one.
    We have scheduled a daily full export backup. Now this is having problems.
    -> exp expuser/exppaswd file=/ora/exp.dmp log=/ora/exp.log direct=Y statistics=none full=Y
    error=
    Table window348_TAB will be exported in conventional path.
    . . exporting table window348_TAB 0 rows exported
    Table wtpParameters350_TAB will be exported in conventional path.
    . . exporting table wtpParameters350_TAB 0 rows exported
    . exporting synonyms
    EXP-00008: ORACLE error 1406 encountered
    ORA-01406: fetched column value was truncated
    EXP-00000: Export terminated unsuccessfully
    Oracle requested to drop/disable the policy. But one policy assigned to many tables and one table having more than one policies.
    We haven't set any policy, all are default one.
    1. If I disable/drop policies how it will affect the application?
    2. How I can disable or drop it for all the objects in the database?
    3. How I can identify the policies - whether OLS or VPD
    Pelase help me to get a daily full export backup or any alternate solution for the same.
    Thanks,
    Asim

  • How to show Date and Time with TimeZone

    Dear All,
    I have to show Date and Time with TimeZone abbreviation,
    for example:
    1) 31 March 2011 2:30 in india standard time - it should show in screen 31 March 2011 2:30 IST.
    2) 31 March 2011 2:30 in Australia/New Zealand - Eastern time zone it should show in screen 31 March 2011 2:30 AEST.
    how can i show *Australia/New Zealand - Eastern time zone to AEST*,
    I tried with format DD MMM YYYY HH:MM zzz, and i looked time zone API too.
    Appreciate your help
    Thanks
    Daya

    Dayananda wrote:
    ok, than i have to use zzzz format, as z won't help in my case, so i have to use zzzz which display descriptive value like, Indian Standard Time i.e. ISTPer the javadocs there is a very specific reason why that is a problem especially if you intend to support many timezones in one application.
    "+For compatibility with JDK 1.1.x, some other three-letter time zone IDs (such as "PST", "CTT", "AST") are also supported. However, their use is deprecated because the same abbreviation is often used for multiple time zones (for example, "CST" could be U.S. "Central Standard Time" and "China Standard Time"), and the Java platform can then only recognize one of them+."
    Thus you have one single case where there can be many and moreover it can change (twice a year I believe.)
    There is a standard source for this information although when I tried it it appears to not work.
    If the app only needs to display one zone then provide a configuration value that allows a user to overload the display value.
    If the app needs to display many values then you MUST inform business users of the problem because there are duplicates and they, not you, need to decide specifically what happens in those cases.

  • How to fetch data where reference with two values

    Hello Gurus,
    How to fetch data from database table with two values for reference. like
             SELECT  < FIELDS>
                              FROM <DB>
                              INTO TABLE TAB2
                              FOR ALL ENTRIES IN
                              TAB1
                              WHERE
                               FIELD1 = TAB1-FIELD1 AND
                               FIELD1 =  TAB1-FIELD2.

    Hi,
    If you want to get data for both fields then Instead of AND use OR
            SELECT  < FIELDS> 
                              FROM <DB>
                              INTO TABLE TAB2
                              FOR ALL ENTRIES IN
                              TAB1
                              WHERE
                               FIELD1 = TAB1-FIELD1 OR
                               FIELD1 =  TAB1-FIELD2.
    Or if you want that only common data for both fields should be fetched then create new internal table. Append data of both fields into that table. Sort new table and do delete adjust duplicate. Now use new internal table in your select query.
    Let me know if this helps.
    Regards,
    Jigar Thakkar.

  • How to take heap dump in weblogic

    Hi All,
    we have weblogic 11.1.1.5.0 installed with Jrockit JVM. we need to take heap dump for our server at will.
    please suggest possible way to take heap dump.
    TIA,
    Bob

    Hi, under JROCKIT_HOME/bin directory you can run this command:
    ./jrcmd [Process_id] hprofdump filename=[filename]

  • How to take IIS dump remotely for remote server

    Hello ALL,
    Is there any way to take IIS dump remotely using debug diag tool  or using powershell script on remote computers
    please answer if any knows.every time we are login into servers and taking dump before resetting IIS on our Web servers.
    Regards
    Satya

    Hi Satya,
    You can post the question to IIS forum instead:
    http://forums.iis.net/
    If you have any feedback on our support, please send to [email protected]

  • How to extract data from multiple flat files to load into corresponding tables in SQL Server 2008 R2 ?

    Hi,
              I have to implement the following scenario in SSIS but don't know how to do since I never worked with SSIS before. Please help me.
              I have 20 different text files in a single folder and 20 different tables corresponding to each text file in SQL Server 2008 R2 Database. I need to extract the data from each text file and
    load the data into corresponding table in Sql Server Database. Please guide me in how many ways I can do this and which is the best way to implement this job.  Actually I have to automate this job. Few files are in same format(with same column names
    and datatypes) where others are not.
    1. Do I need to create 20 different projects ?
                   or
        Can I implement this in only one project by having 20 packages?
                 or
        Can I do this in one project with only one package?
    Thanks in advance.

    As I said I don't know how to use object data type, I just given a shot as below. I know the following code has errors can you please correct it for me.
    Public
    Sub Main()
    ' Add your code here 
    Dim f1
    As FileStream
    Dim s1
    As StreamReader
    Dim date1
    As
    Object
    Dim rline
    As
    String
    Dim Filelist(1)
    As
    String
    Dim FileName
    As
    String
    Dim i
    As
    Integer
    i = 1
    date1 =
    Filelist(0) =
    "XYZ"
    Filelist(1) =
    "123"
    For
    Each FileName
    In Filelist
    f1 = File.OpenRead(FileName)
    s1 = File.OpenText(FileName)
    rline = s1.ReadLine
    While
    Not rline
    Is
    Nothing
    If Left(rline, 4) =
    "DATE"
    Then
    date1 (i)= Mid(rline, 7, 8)
     i = i + 1
    Exit
    While
    End
    If
    rline = s1.ReadLine
    End
    While
    Next
    Dts.Variables(
    "date").Value = date1(1)
    Dts.Variables(
    "date1").Value = date1(2)
    Dts.TaskResult = ScriptResults.Success
    End
    Sub

  • How do I create a session with the datasource set in code not sessions.xml

    I want to create a session where I specify the J2EE datasource name dynamically in code. Normally, I would hard-code a J2EE datasource name in sessions.xml e.g.
    <login>
    <datasource>jdbc/MyApplicationDS</datasource>
    <platform-class>oracle.toplink.platform.database.oracle.Oracle10Platform</platform-class>
    <uses-external-connection-pool>true</uses-external-connection-pool>
    <uses-external-transaction-controller>true</uses-external-transaction-controller>
    </login>
    However, we don't want to use a hard-coded string "jdbc/MyApplicationDS". We want to be able to set this at runtime.
    I found this in the App Developer's Guide:
    Configuring an External Connection Pool in Java
    To configure the use of an external connection pool in Java:
    1. Configure the DataSource on the server.
    2. Configure the Login to specify a DataSource and the use of an external connection pool:
    login.setConnector(
    new JNDIConnector(new InitialContext(), "jdbc/MyApplicationDS"));
    login.setUsesExternalConnectionPooling(true);
    and this:
    Configuring Sessions with the sessions.xml File
    OracleAS TopLink provides two ways to preconfigure your sessions: you can export and compile Java source code from the OracleAS TopLink Mapping Workbench, or use the OracleAS TopLink Sessions Editor to build a session configuration file, the sessions.xml file.
    It seems like I should export and compile Java code that calls login.setConnector(), but I can't find out any information on how to do this. I looked at the MW user guide and I didn't see anything on this.
    I also found this by searching this discussion forum:
    To create a server session completely from code given a project you can use,
    project.getLogin().setConnector(new JNDIConnector(new InitialContext(), "your-datasource-url"));
    project.getLogin().setUserName("");
    project.getLogin().setPassword("");
    Server server = project.createServerSession();
    server.login();
    However, I don't know how to get the project.
    Thanks,
    Vicki

    If you are using a sessions.xml file, you can get your project from your session. Ensure that when you access your session from the SessionManager, that you do not have it login.
    Session session = SessionManager.getManager().getSession("my-session", false);
    session.getProject().setConnector(...);
    session.login();
    If not using a sessions.xml, you can either read your Project from the XMLProjectReader, or instantiate your Project class directly.

  • ERM Role Export with multiple languages

    Hi All,
    I have an issues where role download program /VIRSA/RE_DNLDROLES exports the roles with all text languages included (if the role was maintained in multiple languages).
    Then when I mass import the roles into ERM (AC 5.3 SP10), the upload program gives an "unknown error." After several hours of testing I figured out that that eliminating all but one of the multiple role language texts in main role file will allow the roles to be uploaded sucessfully.
    It seems that the function module /VIRSA/RE_BAPI_DOWNLOAD_ROLES should be changed to include a language parameter.
    Anybody ever have this problem?
    Thanks, Dylan

    Hi All,
    I found a workaround for this issue, I'm posting it for posterity then will close this post within a couple of days. I would appreciate to know if anyone has run into this issue too, it can't just be me?!
    First, the download of the main role text file from /VIRSA/RE_DNLDROLES stores the file as ANSI text type. At least that is how my Windows PC opens it. IF the role was maintained in mulitple languages with special language characters like ü, ô, ê, é, è, à, ò, ä, ö, then GRC AC 5.3 SP10 ERM gives me an "unknown error" when trying to do the mass import. To fix this issue, simply save the file as text type "UTF-8" or anything but ANSI. The ANSI seems to work fine for plain english.
    Second, roles with multiple language versions get all the languages squished together in the long description. I had one role with a Japanese, English, German, French and Italian long description BUT each maintained in it's own language. During the upload, all were imported into ERM and grouped together in one ugly text.
    I fixed this (although not ideally) by modifying Function Module /VIRSA/RE_BAPI_DOWNLOAD_ROLES used during the download:
    The code change is as follows:
        SELECT * FROM AGR_TEXTS APPENDING TABLE i_agR_TEXTS WHERE AGR_NAME
                                                            "#EC CI_GENBUFF
    *{   REPLACE        SIDKxxx
          in r_agr_name.
           in r_agr_name
           and spras eq 'E'.   "download only English
    *}   REPLACE
    Then, the 1000+ roles uploaded successfully without issues.
    I realized after that OSS Note 1260773 covers explains this similarly.
    -Dylan

  • How can I have a fluidarea with max width set?

    I have a design where I want a div with the background set to full width - hence 100%
    <div id="ContentArea" style="width:100%;background-color:#F55; >
    <div id="FIXEDCOLUMN" style="width:60px; >
              some content goes here
    </div>
    <div id="FLUIDAREA" style="width:MAX900;background-color:#FFF; >
              some content goes here
    </div>
    </div>
    I want to be able so set the div FLUIDAREA to a max width of 900
    I want FIXEDCOLUMN to the left of FLUIDAREA (using float left or something)
    I want the columns FIXEDCOLUMN and FLUIDAREA to be centred within the ContentArea (setting margin width to auto I assume???)
    How can I achieve this?
    Do I need another div around these to max 960 to wrap them up?
    Thank you.

    As simple as that!!!
    Hmmm.
    I've been searching with google for that but getting all sorts of answers.
    Thank you for all your help.
    Terry

Maybe you are looking for

  • BPM 11g integration with Business Activity Monitoring

    Hello, I'm trying to implement business indicators in a new project in Jdeveloper, and i want see the business indicators in the BAM portal, i alredy configure the BAM adapter in the IBM console and make all settings described in the tutorial, but wh

  • Badi for attach documents at PO line item?

    Hi Gurus- I was wondering if there is a BADI or a user exit for enabling selection criteria for populating the link to documents button (for the PO line item).  If so, can you tell me what it is?  Thanks! -J

  • Function pool relation to Function group

    Hi friends, Could you please clarify for me how the 2 are related? I can understand function group but not sure what is function pool and how it relates to function group and function module. I have searched the online help but its not clear to me. P

  • Add element to GUI

    Hi, I was wondering if it would be possible to add new elements (eg button) to an app GUI (eg iTunes). I know how to do a script and make it available in scripts menu, but, is it possible to add a new button to the iTunes GUI, and fire the script whe

  • Fixing scuffs on stainless steel band

    I know this has been discussed before, but I have an Incipio rubber case for my iPhone 4 that I got in February, and since about a month after I got it, I've started noticing scuff marks all over the stainless steel band of my phone. The marks look i