Results 1 to 3 of 3

Thread: Batch Program giving error after inserting 38,000 records

Hybrid View

  1. #1

    Post Batch Program giving error after inserting 38,000 records

    Hi,
    I am using DB2 database. My batch program is to read from fixed length flat file and inserting into a table. It is giving error SQLCODE: -904(Error: UNSUCCESSFUL EXECUTION CAUSED BY AN UNAVAILABLE RESOURCE. REASON , TYPE OF RESOURCE , AND RESOURCE NAME) after inserting 38,880 records.
    Is it is the Batch Size or memory Problem .. Please help..

    Thanks

  2. #2
    Join Date
    Jun 2005
    Posts
    4,232

    Default

    What's the commitInterval? Maybe the DB connection / session timed out?

  3. #3

    Default

    Thanks Dave . It was DB Problem...

Posting Permissions

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