-
Feb 23rd, 2009, 10:04 AM
#1
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
-
Feb 23rd, 2009, 12:39 PM
#2
What's the commitInterval? Maybe the DB connection / session timed out?
-
Feb 23rd, 2009, 01:17 PM
#3
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
-
Forum Rules