Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2003
    Posts
    1,605

    Unanswered: How to omit message "SQL command completed successfully"

    Hi,

    I have to run some db2 script witch returs 5 select statements. Command is:
    db2 -tf script_file.sql

    Each command returs the "DB20000I The SQL command completed successfully." Is there any way to omit this return message?

    Thanks,
    Grofaty

  2. #2
    Join Date
    Jan 2003
    Posts
    1,605
    Hi,

    I have found out the solution.

    Command
    DB2cmd /i db2 -tf script_file.sql | find /V "successfully."

    No help is needed.

    Grofaty

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •