IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  triggering a map on d/b DML operation

    Posted 10/12/07 10:17 AM

    Originally posted by: SystemAdmin


    Hi,
    I am trying to trigger a map based on a DML operation on a table.
    I did the following steps:
    1)created a mdq file with a query as select * from dept & defined trigger for insert/update & delete for table dept.(I did give the relevant details in the database defn ie dbname,connect string,uname,passwd & adapter type)
    2) I then created a t.tree from the query & subsequently a map with i/p source as d/b & command as -TR i dept
    the o/p of map is just a flat file where we get all the rows of dept table.
    3) i then created .msl & .msd files in IFD & also set the launcher settings as:
    Time event switch-ON
    I/p soucrce event-ON
    o/p switch-ON
    & other file details given.

    4) I then deployed this map on the local server.
    5) Now I did do a insert on the dept table to see if the map gets triggered. But it dosent.
    6) my .dbl file gives some error reg:
    <524-3392>: Error in: OCIStmtExecute
    Message : ORA-06550: line 1, column 7:
    PLS-00201: identifier 'MSP_REGISTER_SRVR' must be declared
    I have also attached the .dbl file here.

    Could somebody explain why the map dosent get triggered when iam doing a DML on table dept???


    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: triggering a map on d/b DML operation

    Posted 10/24/07 04:12 AM

    Originally posted by: janhess


    Re your other post
    When using Oracle, the triggering installation scripts must be installed and run by your system administrator. For more information about these scripts, see the chapter on database triggers in the Database Interface Designer documentation.

    That is exactly what you need to do. I believe the script creates a table for monitoring triggers to handle rollback.
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 3.  Re: triggering a map on d/b DML operation

    Posted 10/24/07 09:26 AM

    Originally posted by: SystemAdmin


    yup, i did go through that & then realized that I need to first install those scripts for the map to event trigger...
    thanks.

    also wats the command for unziping the zipped files?
    the help just says:

    GET

    Source

    archive(zip)

    command

    file_name.zip,file_name.txt
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender