Sybase xp_cmdshell in Oracle

Can some one help me to migrate following code form sybase IQ to Oracle10.2
call xp_cmdshell('echo "some thing" > ./temp_file');

In addition to the above post, check below:
Answers to "Why are my jobs not running?"
and Metalink notes below.
Dynamic SQL and System Commands Using DBMS_PIPE - 14082.1
Calling Operating System Commands from PL/SQL using External Procedures - 99136.1
-Anantha

Similar Messages

  • Problems with Sybase 12 to Oracle 10g migration

    Hi,
    I'm using SQL Developer to test a migration between Sybase and Oracle and it doesn't work (both online and offline)
    I've create a dedicated user account and connection, with the roles and privileges required (as seen in http://download.oracle.com/docs/cd/B32485_01/doc/appdev.110/b31695/migration.htm#i1005739)
    I've created the migration repository without any problems (using the above user account).
    QUICK MIGRATION
    - select the source Sybase connection: OK
    - select the target Oracle connection: OK
    - select the referential: OK
    - verify privileges before migration: OK
    - migrate tables only and click Next
    ## window closes and nothing happens ## - nothing on Captured Model pane
    CAPTURE SOURCE SYBASE DATABASE
    - right click on the Sybase connection in the Connections pane
    - choose Capture Sybase
    ## window closes and nothing happens ## - nothing on Captured Model pane
    OFFLINE CAPTURE
    - create database capture scripts: OK
    - launch the database scripts (SYB12_OFFLINE_CAPTURE.BAT): OK
    - load database capture script output (sybase12.ocp)
    ## window closes and nothing happens ## - nothing on Captured Model pane
    I can't find any relevant logs or trace from the application.
    I even tried to use the capture file sybasemigration.zip from the "Migrating a Sybase Database to Oracle Database 11g" web page (http://www.oracle.com/technology/obe/hol08/sqldev_migration/sybase/migrate_sybase_otn.htm), but the result was the same.
    Does anyone encountered the same problems? Does someone knows where are the logs (if any)?
    Thanks in advance.
    Regards,
    Pedro

    Hi Pedro,
    What version of SQL Developer are you using?
    Can you browse your Sybase connection in SQL Developer, to see its tables for example?
    If not, then you may need to point SQL Developer to your JTDS 1.2 driver again.
    Are you capturing a non system database ? SQL Developer wont migration master or tempdb ...
    Can you try running SQL Developer from the command line and watch the command line for any errors during the capture.
    \sqldeveloper\bin\sqldeveloper.exe
    Regards,
    Dermot
    SQL Developer Team

  • How to use a Sybase table in Oracle SQL statement?

    How to use a Sybase table in Oracle SQL statement?
    Sybase version : 11.9.2.4
    Oracle version : 10.2.05
    Thanks.

    user12088323 wrote:
    How to use a Sybase table in Oracle SQL statement?
    Sybase version : 11.9.2.4
    Oracle version : 10.2.05
    Thanks.Any Oracle client connected to the Oracle database can access Sybase data through the <font style="background-color: #FFFFCC">Database Gateway for Sybase</font> (it requires an additional license) or the <font style="background-color: #FFFFCC">Database gateway for ODBC</font> (it's free).
    The Oracle client and the Oracle database can reside on different machines. The gateway accepts connections only from the Oracle database.
    A connection to the gateway is established through a database link when it is first used in an Oracle session. In this context, a connection refers to the connection between the Oracle database and the gateway. The connection remains established until the Oracle session ends. Another session or user can access the same database link and get a distinct connection to the gateway and Sybase database.
    Database links are active for the duration of a gateway session. If you want to close a database link during a session, you can do so with the ALTER SESSION statement.
    To access the Sybase server, you must create a <font style="background-color: #FFFFCC">database link</font>. A public database link is the most common of database links.
    SQL> CREATE PUBLIC DATABASE LINK dblink CONNECT TO
    2  "user" IDENTIFIED BY "password" USING 'tns_name_entry';
    --dblink is the complete database link name.
    --tns_name_entry specifies the Oracle Net connect descriptor specified in the tnsnames.ora file that identifies the gatewayAfter the database link is created you can verify the connection to the Sybase database, as follows:
    SQL> SELECT * FROM DUAL@dblink;
    Configuring Oracle Database Gateway for Sybase
    <font style="background-color: #FFFFCC">{message:id=10649126}</font>

  • Sybase Timestamp in Oracle

    Hi,
    I am in the process of migrating Sybase database to oracle 10g.
    In Sybase there is a column exist in most of the tables with datatype Timestamp, the data looks like 0x467469786abfc324, this is automatically generated while inserting or updating a table.
    Is this equivalent to rowid in Oracle? or please suggest a equivialent solution in oracle.
    Thanks,
    DJ

    Yes. The Sybase Timestamp is essentially a surrogate row identifier and should not be moved into Oracle.
    In Oracle, especially with newer technologies such as Advanced Compression, we enable and expect row movement so it is rowids
    should not be treated as static. If you need a surrogate key then create a SEQUENCE object and use that to generate the surrogate key.

  • Migrating Sybase code to Oracle 11g

    Hi All,
    We have to migrate Sybase code to Oracle 11g.
    When we are doing a SELECT .. INTO in Sybase , even if the query is returning more than 1 row , sybase selects 1 of the rows and populates the variables.
    But while migrating this code to oracle, we are getting TOO_MANY_ROWS Exception.
    We need to migrate the code from SYBASE to ORACLE without disturbing the logic.
    Can someone please tell me the logic applied by SYBASE to pick up the record?
    And if someone has faced this issue, then what can be done to resolve this.
    Regards,
    Riddhisha Khamesra

    The result 3 is the last entered record (not the amount of records..).
    So the first approach to write a dummy procedure that will select all records in Oracle like:
    CREATE OR REPLACE PROCEDURE last_record
    v_arg1 OUT NUMBER
    AS
    BEGIN
    SELECT col1
    INTO v_arg1
    FROM tt_tmp ;
    END;
    and hopefully returns only the last record will fail with:
    SQL> variable outvar number
    SQL> exec last_record (:outvar)
    BEGIN last_record (:outvar); END;
    ERROR at line 1:
    ORA-01422: exact fetch returns more than requested number of rows
    ORA-06512: at "SYSTEM.LAST_RECORD", line 9
    ORA-06512: at line 1
    One possible approach to get the last (and only the last) record that was entered into the table is to use rownum:
    The select might look like "select col1 from (select col1, rownum from tt_tmp order by rownum desc) where rownum=1;"
    So the procedure can be coded as:
    CREATE OR REPLACE PROCEDURE last_record
    v_arg1 OUT NUMBER
    AS
    BEGIN
    SELECT col1
    INTO v_arg1
    from (select col1, rownum from tt_tmp order by rownum desc) where rownum=1;
    END;
    Now calling it in SQL*Plus:
    SQL> variable outvar number
    SQL> exec last_record (:outvar)
    PL/SQL procedure successfully completed.
    SQL> print :outvar
    OUTVAR
    7
    The value 7 is the last record I've inserted into my tt_tmp table:
    SQL> select * from tt_tmp;
    COL1 COL2
    1 1
    2 2
    8 8
    7 7

  • Migration from sybase 11 to Oracle 9i

    Hi,
    I have to migrate all db objects (tables structures,table data,triggers,sp) from Sybase 11 to Oracle 9i
    There are currently two free tools -
    Migration workbench (http://www.oracle.com/technology/tech/migration/workbench/index.html )
    and
    SQL Developer( http://www.oracle.com/technology/tech/migration//workbench/index_sqldev_omwb.html )
    for this purpose.
    SQL developer has a provision to convert scripts which I can use for SPs and scripts one @ a time.
    Problem is migrating table structures along with data.
    from SQL developer I can't connect to sybase thou I provide all the details and from workbench in the online mode I need the sa login which is not possible as the database is live and @ client side.
    SQL Loader can be used but will require to make CSV files from each sybase table and hence is time consuming.

    Hi,
    Migration Workbench is not available for Sybase database.
    As you can see on this website:
    http://www.oracle.com/technology/tech/migration/workbench/files/mig_rel10104.html
    Only Informix and DB2 database are supoprted now with this product.
    With SQL Developer, we only support last versions of Sybase : V12 and V15.
    As you don't have any remote access to your client database and no SA login , the best way would be :
    ==>to get and export from Sybase 11.
    ==>install a V12 somewhere (on your site , you can download the Sybase V15 )and import the Sybase database
    Then SQL developer can migrate quickly your database without any problem.
    I hope it helps you.
    Mireille

  • Sybase NULL to Oracle - Error with Fail

    Hi,
    We are doing migration from Sybase 12 to oracle 9i using Oracle Migration Work Bench . Though we are able to successfully perform the migration , with all object count matching once migrated. When we launch our peoplesoft application on top of the migrated database and start browsing thru it, it throws up error like “Error: PS_ABSENCE_HIST - Alter failed due to an unknown column type (CLOB) found for field COMMENTS. (76,22)”. Though the actual datatype value of this column in Sybase is text and when we try to migrate it defaults to CLOB.
    The same we try to migrate thru peoplesoft provided tool datamover, the column datatype is LONG. But now we mapped the datatype value of text to long and started migrating . At this point, where Sybase value is NULL, Oracle Migration Work Bench is not able to insert data for such value.
    Any idea of how to resolve this issue.
    [email protected]

    venuhi,
    At this point, where Sybase value is NULL, Oracle Migration Work Bench is not able to insert data for such value.There is a difference between sybase and oracle in terms with dealing with nulls, in oracle an empty string is null. The workbench can be configured to put a string in place of a null, such as a single space.
    What specifically is going wrong for you in your use of the workbench, is it replacing null with a single space, or is the tool stopping, and if the tool is stopping, what is the output of the error on the screen and the results of Error.log file. Enough details should be available to write a reproducible testcase and log a bug.
    Regards,
    Turloch
    Oracle Migration Workbench Team.

  • Migrating table from Sybase 12 to Oracle 10g

    Hi ,
    We have a situation where we have to migrate multiple Sybase databases to Oracle10g . These multiple database have same set of tables but different data in these tables on each sybase database ( data differ, based on location or region wise but same table name and structure). We want to migrate all these sybase database to Oracle 10g and in single database, which involves inserting data from multiple tables ( though they exist on different database in sybase) into single Oracle table.
    for example if we have a table 'TESTK' that exist on five different sybase database but with different region wise data. I want to bring data from these five tables( Five as they exist in five differet sybase databases) and insert them into a single oracle table 'TESTK' .
    Have anybody ever face such scenerio , what are all possible approch please suggest. Once data is inserted into oracle table i need to partitioned this oracle table as well.

    It is not quite clear whether you have multiple tables (referencing each other) in multiple sybase databases or either one table or several non connected tables in multiple sybase databases.
    In the first case of course your task is harder because you need to keep references and most probably you cannot blindly copy data from db 1, db 2 and unite them because they can have the same id's coming from different sources.
    In the second case your task of course is much easier you can simply load all your data in Oracle tables either using some interim tables (if you need to filter out duplicates) or load data straight into target tables if you are sure you haven't duplicates.
    Also another question in case 1 is whether intersection of your data is 0 rows i.e. all data are completely different in each source db or not.
    So I'm sure you can find tools for blindly moving data from sybase to Oracle, although if you need to do some more complex filtering, computation or whatever you most probably need to write it yourself.
    I'v done a few data conversion projects from one schema to another and as the requirements were quite complex the only possibility for us was to initiate a separate data conversion project and create conversion software (pl/sql packages manually).
    You can find an overview of our approach in my article "Data migration from old to new application: an experience" here http://www.gplivna.eu/papers/legacy_app_migration.htm
    Gints Plivna
    http://www.gplivna.eu

  • Migration from Sybase 11 to Oracle 8i

    I am trying to migrate a Sybase DB to Oracle 8i. The platform of Sybase system is VMS and Oracle is UNIX. Can I use workbench to migrate between two different platform?
    If not, is it the only way to export sybase to a flat file and then load to Oracle using SQL loader?
    Thanks

    Hi,
    Migration Workbench is not available for Sybase database.
    As you can see on this website:
    http://www.oracle.com/technology/tech/migration/workbench/files/mig_rel10104.html
    Only Informix and DB2 database are supoprted now with this product.
    With SQL Developer, we only support last versions of Sybase : V12 and V15.
    As you don't have any remote access to your client database and no SA login , the best way would be :
    ==>to get and export from Sybase 11.
    ==>install a V12 somewhere (on your site , you can download the Sybase V15 )and import the Sybase database
    Then SQL developer can migrate quickly your database without any problem.
    I hope it helps you.
    Mireille

  • Sybase ASE to Oracle 11g conversion

    Hi,
    Can anyone please look at the following Sybase ASE to Oracle 11g conversion - the top remarked code is the original Sybase version and the two UPDATE blocks below are hopefully doing the same task... What I need to know is if there is a more simple (less code change) way of doing the same task, either as a single UPDATE or preferably even more similar to the original Sybase code..?
    -- /* now apply allocations */
    -- update diary_items
    -- set id_user = ia.id_user ,
    -- tx_icon_user = 'urlcats:/user_grey.gif?method:getAllocationInfo'
    -- from diary_items di,
    -- item_allocation ia
    -- where di.id_diary_item = ia.id_object
    -- and ia.id_object_type = 'W'
    -- and ia.id_user != 'autocats'
    -- OK!
    -- ??? Need to check if second UPDATE which is the same as above is required again...
    /* now apply notes */
    UPDATE diary_items
    SET diary_items.tx_icon_user =
    ( SELECT 'urlcats:/user_grey.gif?method:getAllocationInfo'
    FROM item_allocation
    WHERE item_allocation.id_object = diary_items.id_diary_item )
    WHERE EXISTS
    ( SELECT item_allocation.id_object
    FROM item_allocation
    WHERE item_allocation.id_object = diary_items.id_diary_item
    AND item_allocation.id_object_type = 'W'
    AND item_allocation.id_user != 'autocats' )
    UPDATE diary_items
    SET diary_items.id_user =
    ( SELECT item_allocation.id_user
    FROM item_allocation
    WHERE item_allocation.id_object = diary_items.id_diary_item )
    WHERE EXISTS
    ( SELECT item_allocation.id_object
    FROM item_allocation
    WHERE item_allocation.id_object = diary_items.id_diary_item
    AND item_allocation.id_object_type = 'W'
    AND item_allocation.id_user != 'autocats' )
    Many thanks!!!
    Edited by: 881552 on 25-Aug-2011 04:39

    I managed to work it out in the end - here's the solution...
    /* now apply allocations */
    update diary_items
    set ( id_user,
    tx_icon_user ) =
    ( select ia.id_user,
    'urlcats:/user_grey.gif?method:getAllocationInfo'
    from diary_items di,
    item_allocation ia
    where di.id_diary_item = ia.id_object
    and ia.id_object_type = 'W'
    and ia.id_user != 'autocats'
    )

  • Sybase ASE to Oracle Database 11g Migration

    Hi,
    I am looking for documentation on migration from Sybase ASE to Oracle Database 11g Migration.
    Front End application is Peoplesoft.
    Please suggest documentation on the same.
    I look forward to you reply.
    Best regards
    Sonali

    Have a look at the SQL Developer tool:
    Oracle SQL Developer&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;Oracle SQL Developer&quot;&gt;&lt;meta n…
    It contains a migration utility which allows you to migrate foreign databases to Oracle:
    Database Migration Technology&lt;/title&gt;&lt;meta name=&quot;Title&quot; content=&quot;Database Migration Technology&q…
    Documentation and videos are available from the migration wbe page.
    - Klaus

  • Sybase group to oracle roles

    I've been testing Sybase to Oracle migration using SQL Developer 3.1.06 release. I dont see the user/groups on the Sybase is not getting converted in respective roles in Oracle. Am i missing something here? Any help is much appropriated.
    Thanks
    ~ G

    Looks like a open issue. My Query is very similar to one below. Any update on this? Is this a know issue on SQL Developer migration option for Sybase? Can someone confirm..
    SQL Developer 3.1 not migrating Sybase Users to Oracle 11g R2

  • Displaying Sybase data in Oracle Portal?

    I am using the Oracle Transparent Gateway for Sybase to access Sybase data in SQL Plus. How do I display
    the sybase data in Oracle Portal? Does anyone know what to do or is there any documentation on this? Thanks.

    Thomas,
    First of all you need to create a schema for your Portal Application. Once that is done you will need to run in a DBA script called provsyns.sql so that this schema can execute and view the Portal core objects.
    This script is located in $9ias_ORACLE_HOME/portal30/admin/plsql/wwc
    Run this script as PORTAL30 with one parameter, this being the name of your new schema.
    Then your next step would be to set up all the necessary grants and synonyms so that the objects you wish to view over the gateway can be viewed from your application schema.
    Then you are ready to create an application in Portal via Navigator --> Applications.
    Choose the new schema as the Application schema (this is where all the Portal generated code gets compiled) and try creating a simple Report component to see if your non-portal components are set up properly.
    Hope this helps...
    John

  • Porting of Sybase Application to Oracle 8i under Solaris

    Dear All
    I want to port an application from sybase 10.2 which is running under Solaris to Oracle 8I under Solaris. Apart from database objects and stored procedures which I have already converted I wan to conver some C Codes and Unix Scripts
    Which are either shell scripts or perl programs. I need all of your valuable suggestions in this regard.
    Q-1 . In the Perl Program the following lines are sybase specific
    Use Sybase:: Dblib
    Require /files0/apps/local/lib/perl15/Sybase/sybperl.pl;
    What will be the equivalent for ORACLE.
    Suggest what perl I should use in this context.
    In continuation to the above also I have some shell variables assigned as follows
    $SYB_SERVER=SYB_PROD_CERT;
    $SYB_DATABASE=APPLDB;
    $ENV{SYBASE}=/sybase/10.0.4;
    $ENV{DSQUERY}=$SYB_SERVER
    $SYB_USER=keshav;
    $SYB_PWFILE=/myappl/processcert/passwords/$SYB_SERVER;
    $SYB_PW=/usr/bin/cat $SYB_PWFILE;
    chop($SYB_PW);
    dbmsghandle(message_handler);
    dberrhandle(error_handler);
    ( ($dbproc = &dblogin($SYB_USER,$SYB_PW,$SYB_SERVER)) != -1 );
    ( &dbuse($dbproc, $SYB_DATABASE) != -1 );
    ( ($dbproc2 = &dblogin($SYB_USER,$SYB_PW,$SYB_SERVER)) != -1 );
    ( &dbuse($dbproc2, $SYB_DATABASE) != -1 );
    sub Statistics
    # get distinct sub-cat counts
    ( &dbcmd($dbproc, "select count(*),orgnumber,name=(select servicerorgname from servicer where servicer.orgnumber=transactionlog.orgnumber) from transactionlog group by orgnumber order by count(*) desc\n") != -1 );
    &dbsqlexec($dbproc);
    &dbresults($dbproc);
    $row = DBROWS( $dbproc );
    2. One of the Sample C Program is given here which I want to convert into pro*c.
    I would like to know what are the corresponding libraries of oracle under
    Solaris are to be used and also the respective header files mapping of Sybase
    To Oracle. Any comment of this will be appreciated.
    #include "sql.h"
    #include "unix.h"
    #include <stdlib.h>
    #ifndef SQL_INCLUDED
    #define SQL_INCLUDED
    #include <sybfront.h>
    #include <sybdb.h>
    /*#include "sybdbex.h"*/
    /* #include <syberror.h>*/
    #endif     
    /* LogonToServer(char server[]) */
    /*----------------------------------------------------------------------sra-*/
    DBPROCESS *LogonToServer(char server[], char datab[], char user[],
    char passwd[], char appname[] )
    PCHAR szTemp;
    char data[1000];
    int result;
    long l;
    DBPROCESS *dbp;
    LOGINREC *login;
    /* initiailize library */
    if ( dbinit() == FAIL)
    printf("DB Initialization failed!\n");
    exit(1);
    /* install user supplied error handling and message handling routines*/
    dberrhandle(err_handler);
    dbmsghandle(msg_handler);
    /* get LOGINREC structure and fill */
    login = dblogin();
    DBSETLUSER(login,user);
    DBSETLPWD(login,passwd);
    DBSETLAPP(login,appname);
    /* get a DBPROCESS structure for communicating with the server */
    if ((dbp = dbopen(login,server)) == NULL)
    printf("dbopen failed on server: %s\n",server);
    exit(1);
    dbcmd(dbp,strcat("use ",datab));
    dbsqlexec(dbp);
    result=dbresults(dbp);
    return dbp;
    /* LogoutOfServer() */
    /*----------------------------------------------------------------------sra-*/
    void LogoutOfServer(DBPROCESS *dbproc)
    DBPROCESS *dbp2;
    dbclose( dbproc );
    return;
    int err_handler(DBPROCESS *dbproc,int severity,int dberr,int oserr,
    char dberrstr,char oserrstr)
    if ((dbproc == NULL))
    return(INT_EXIT);
    else
    fprintf(ERR_CH, "DB-LIBRARY error:\n\t%s\n",dberrstr);
    if (oserr != DBNOERR)
    fprintf(ERR_CH,"Operating-system error:\n\t%s\n",oserrstr);
    return(INT_CANCEL);
    int msg_handler(DBPROCESS *dbproc, DBINT msgno, int msgstate, int severity,
    char msgtext,char srvname,char *procname,DBUSMALLINT line)
    return 0;

    Hello
    The "-D_BIG_ENDIAN" shows you that the code is endian-dependent. This means that the program cannot be ported 1:1 because x86 is little endian while Sparc is big-endian.
    I would first try to use "-D_LITTLE_ENDIAN" (or what flag ever I can find in the source codes) and to compile for x86.
    Because of the "-D_BIG_ENDIAN" different source code is used for both machines. Maybe the little-endian source code is wrong:
    #ifdef _BIG_ENDIAN
    // correct source code for Sparc
    #else
    // INCORRECT source code for x86
    #endifMartin

  • Sql developer is not converting sybase schema to oracle schema

    Hi from France,
    I am trying to convert a sybase 15 database (a small database) to oracle. I am doing this offline trom beginning to end.
    sybase 15 : virtual box W7
    oracle 11gR2 ; virtual box Oel 6.5
    host W7
    Installed jdts 1.3
    Created the repository
    Captured the configuration off line inside the W7 VM using a shared folder.
    Used SQL dev to migrate
    Everything seems OK but i have no table under converted schema inside SQLDEV, the loader files oracle_external.sh, oracle_loader.sh are empty
    The reporting seems good.
    Another strange thing the master.sql script witch create the Emulation user does not not work :
    =========================================
    SET ECHO OFF
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET DEFINE ON
    CLEAR SCREEN
    set serveroutput on
    COLUMN date_time NEW_VAL filename noprint;
    SELECT to_char(systimestamp,'yyyy-mm-dd_hh24-mi-ssxff') date_time FROM DUAL;
    spool Test_&filename..log
    -- Password file execution
    @passworddefinition.sql
    PROMPT Creating Role
    @role.sql
    prompt Building objects in Emulation
    @@Emulation/master.sql
    prompt starting post processing for schema Emulation
    @@Emulation/post.sql
    spool off;
    ======================================
    Where are my mistakes ?
    Thank you and waiting for your answer.
    Regards

    Hi from france
    I tested with another database DB2 (11.2.0.4) and it's work !!. The previous one DB1 with which it does'nt is a upgraded database from 11.2.0.3 to 11.2.0.4.
    Another difference is that DB1 is including APEX 4.2 and DB2 APEX 3.2.
    I did also a big mistake in the past because yesterday i found repository structures in the sys schema i dropped the repository from sys but the issue is still there.
    By comparing the folder generated by migration I noticed that the MySchemaToMigrate folder is not created when using DB1 :
    Here folders generated with DB1
    Emulation
    .wrapper.sql
    dropallschemas.sql
    master.sql
    passworddefinition.sql
    reportallstatus.sql
    role.sql
    below folders generated with DB2
    Emulation
    MySchemaToMigrate
    .wrapper.sql
    dropallschemas.sql
    master.sql
    passworddefinition.sql
    reportallstatus.sql
    role.sql
    Look like there is a problem with the generation program...
    and the master.sql looks different too :
    DB1 :
    SET ECHO OFF
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET DEFINE ON
    CLEAR SCREEN
    set serveroutput on
    COLUMN date_time NEW_VAL filename noprint;
    SELECT to_char(systimestamp,'yyyy-mm-dd_hh24-mi-ssxff') date_time FROM DUAL;
    spool test06_&filename..log
    -- Password file execution
    @passworddefinition.sql
    PROMPT Creating Role
    @role.sql
    prompt Building objects in Emulation
    @@Emulation\master.sql
    prompt starting post processing for schema Emulation
    @@Emulation\post.sql
    spool off;
    DB2 :
    SET ECHO OFF
    SET VERIFY OFF
    SET FEEDBACK OFF
    SET DEFINE ON
    CLEAR SCREEN
    set serveroutput on
    COLUMN date_time NEW_VAL filename noprint;
    SELECT to_char(systimestamp,'yyyy-mm-dd_hh24-mi-ssxff') date_time FROM DUAL;
    spool test02_&filename..log
    -- Password file execution
    @passworddefinition.sql
    PROMPT Creating Role
    @role.sql
    prompt creating user MySchemaToMigrate
    @@MySchemaToMigrate\user.sql
    prompt Building objects in Emulation
    @@Emulation\master.sql
    prompt Building objects in NATIXIS
    @@MySchemaToMigrate\master.sql
    prompt starting post processing for schema MySchemaToMigrate
    @@MySchemaToMigrate\post.sql
    prompt starting post processing for schema Emulation
    @@Emulation\post.sql
    spool off;
    Which program/package is generating these folder and files ? By investigating them, may be i can found where is the problem...
    Thank you for your help
    Michel

Maybe you are looking for