Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

What is a procedure to restart the program after the ABEND

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
jamshirqureshi

New User


Joined: 13 Aug 2006
Posts: 20
Location: mumbai

PostPosted: Wed Sep 06, 2006 11:52 am    Post subject: What is a procedure to restart the program after the ABEND
Reply with quote

hi everyone..!!!


IF suppose there 50 records to input file to input in a table but after inserting 10 records my program got abend.

What is a procedure to restart u r program frm tat perticular record??

plz help me

Thnks in advance
Back to top
View user's profile Send private message

vijayakumar.yellala

New User


Joined: 19 Apr 2006
Posts: 63
Location: Chennai

PostPosted: Wed Sep 06, 2006 12:36 pm    Post subject: Re: input file
Reply with quote

Hello,

there is no way to restart from a perticular record. if any abend occuers use rollback verb, then start execution starting......

this is what i know...


Please correct me if i am worng.......

Regards
Vijay
Back to top
View user's profile Send private message
soumyaranjan007

New User


Joined: 30 Aug 2006
Posts: 30
Location: mumbai

PostPosted: Wed Sep 06, 2006 12:45 pm    Post subject: Re: input file
Reply with quote

jamshirqureshi wrote:
hi everyone..!!!


IF suppose there 50 records to input file to input in a table but after inserting 10 records my program got abend.

What is a procedure to restart u r program frm tat perticular record??

plz help me

Thnks in advance



Hi,

i need few informations. do is your porogram i using ims-db2 or only db2?
do your program having the checkpoint logic?
For db2-ims-cobol program
==================
submit your program without changing the Jobname.
your checkpoint restart module will atomatically will take the most recent commit point.

sorry i am not work experience in db2-cobol program checkpoint logic.
But as per my knoledge, db2-cobol program also same logic as ims-db2-cobol.
logic
======
we have to maintain a log table for maintaining checkpoint log.
that log table will be used by scorlable cursor.

Regards
Soumya Ranjan Pradhan
Back to top
View user's profile Send private message
sarunkumaar

New User


Joined: 31 Aug 2006
Posts: 15
Location: Chennai, India

PostPosted: Wed Sep 06, 2006 2:10 pm    Post subject: input file
Reply with quote

You should commit all the records in the table before the abend and have to insert a row in COMMIT_RESTART table(this entry also need to commit). So that while restarting the job again, read the record from COMMIT_RESTART table which has JOB_I and PGM_I as your's and the commit position. Skip the records from input file until it reach the inserted record count. once if it reach then proceed with insert.

Your code has to be modified to support all these.
Back to top
View user's profile Send private message
Balasudher

New User


Joined: 27 Oct 2006
Posts: 3

PostPosted: Fri Oct 27, 2006 8:05 pm    Post subject: step by step explanation of checkpoints
Reply with quote

Hi friends,
i need how to implement checkpoint logic in jcl.
while inserting 1lak record in a table 1300 record abend,
here we use the checkpoint /Restart ,
could you pls tell me the step by step
Back to top
View user's profile Send private message
Itanium

Active User


Joined: 22 Jan 2006
Posts: 114
Location: India

PostPosted: Fri Oct 27, 2006 8:52 pm    Post subject:
Reply with quote

Check out the below site,

http://gov.state.ne.us/enterprise_computing/db_mgt/pdf/Check-Restart_Scenario.pdf

Regards,
Itanium
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us