DB2 Warning Msgs

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
JDionne
Participant
Posts: 342
Joined: Wed Aug 27, 2003 1:06 pm

DB2 Warning Msgs

Post by JDionne »

How do i stop these msgs from db2?

Code: Select all

EXP2LUReconcilation..US_Port.ETL_US_Port_Lu_Tbl: SQLExecDirect: Returned success with info for statement 'DELETE FROM DB2ADMIN.STG_ETL_US_PORT_LU_TBL'.  See following DB2 error for details.
and

Code: Select all

EXP2LUReconcilation..US_Port.ETL_US_Port_Lu_Tbl: [IBM][CLI Driver][DB2/NT] SQL0513W  The SQL statement will modify an entire table or view.  SQLSTATE=01504
Jim
Sure I need help....But who dosent?
peterbaun
Premium Member
Premium Member
Posts: 93
Joined: Thu Jul 10, 2003 5:27 am
Location: Denmark
Contact:

Post by peterbaun »

Hi Jim,

As far as I know you can't. We have decided to use the "Before SQL" tab in the DB2 plugin for emptying the tables where we need to do this in order to avoid the warning message. Running on AS400 we also add the "with none" clause to the sql in order to reduce the log information produced hence getting a little better performance.

Regards
Peter
Post Reply