IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to RESTART the Job after the 250 Record Updated


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
shriya reddy
Warnings : 1

New User


Joined: 05 Jun 2004
Posts: 43

PostPosted: Tue Nov 16, 2004 11:23 pm
Reply with quote

Hi friends,

I have one query on restart logic in DB2.

In insertion of records in tables i want put commit after every 100 records.how i write the source code.

In insertion my job is abend after 250 records. How i Know that at what record it Abended.

How i restart the job after succssful commit.

please give me these source code....

Regards,
Shriya Reddy.
Back to top
View user's profile Send private message
shriya reddy
Warnings : 1

New User


Joined: 05 Jun 2004
Posts: 43

PostPosted: Fri Nov 19, 2004 6:20 pm
Reply with quote

Hi friends,

Any body give me the answer.

bye
shriya
Back to top
View user's profile Send private message
janardhana Reddy

New User


Joined: 20 Oct 2004
Posts: 17
Location: Bangalore

PostPosted: Sat Nov 20, 2004 11:21 am
Reply with quote

Nothing to worry in this case... Any how you are saying that job abended at 250 th record. Check the 250 th record you required updates or inserted at 250 th row.

Basic thing you need to understand is once the job completed normally or abnormally commmit will be done.

Nothing to worry restart as from abended step. In this case you have to know if any scheduler constraints there.

Note: Db2 won't allow more than 10,000 record updates in one job without commit.
Back to top
View user's profile Send private message
shriya reddy
Warnings : 1

New User


Joined: 05 Jun 2004
Posts: 43

PostPosted: Sat Nov 20, 2004 10:30 pm
Reply with quote

Hi Janardhan,

thanks for reply.

If i don't know at which record insertion my job is abended.how i should know that.

Bye
Shriya
Back to top
View user's profile Send private message
janardhana Reddy

New User


Joined: 20 Oct 2004
Posts: 17
Location: Bangalore

PostPosted: Tue Nov 23, 2004 3:00 pm
Reply with quote

Hi ,

You find record in ceedump or check in the spool icon_eek.gif
Back to top
View user's profile Send private message
ksivapradeep

New User


Joined: 30 Jul 2004
Posts: 95

PostPosted: Mon Nov 29, 2004 3:40 pm
Reply with quote

hi, janardhana Reddy

is there any specificlimit that we cant update more than 10000 records b4 commit if so suppose if i give more space to the records for update what happens becoz after giving commit only the records are stored in the table is it correct

regards,
siva pradeep
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts To find whether record count are true... DFSORT/ICETOOL 6
No new posts Validating record count of a file is ... DFSORT/ICETOOL 13
Search our Forums:

Back to Top