Results 1 to 2 of 2
  1. #1
    Join Date
    May 2008
    Posts
    39

    Unanswered: Load utility and Rollback

    Hi

    I am using load utility to load from file to table.My requirement is if my load fails i should rollback else i should commit.

    Please help as how to proced.

    Thanks

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    You can do an IMPORT. However, it is possible that individual rows will fail, but the entire import will not rollback. Also, be careful about exceeding available log space if you don't use the COMMITCOUNT option on the IMPORT.
    M. A. Feldman
    IBM Certified DBA on DB2 for Linux, UNIX, and Windows
    IBM Certified DBA on DB2 for z/OS and OS/390

Posting Permissions

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