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
 

 

how ot owrk on restart program of cobol db2 using BMC

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

New User


Joined: 25 Jul 2005
Posts: 93

PostPosted: Sat May 20, 2006 9:16 pm    Post subject: how ot owrk on restart program of cobol db2 using BMC
Reply with quote

hi i m doing cobol db2 program which has updation in the program.restart logic is not writen in the program.but i was handled in BMC.now how to test the program for the restart part.let us assume taht i hav 20 records im my input file n i have set checkpoint as 5.
Back to top
View user's profile Send private message

dileep.james
Warnings : 1

New User


Joined: 22 Apr 2005
Posts: 4
Location: mumbai

PostPosted: Tue May 23, 2006 12:00 pm    Post subject: haw to test restart logic
Reply with quote

hi,

Give one counter before the updation and forcefully abend the program when it reaches 7th or 8th record.
Then restart the program from the abended step then it will start from the 6th record ....
Back to top
View user's profile Send private message
vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 180

PostPosted: Wed May 24, 2006 1:54 am    Post subject: Re: how ot owrk on restart program of cobol db2 using BMC
Reply with quote

Hello stly,

first check how many checkpoints u get during the normal run of the pgm
Then forcefully abend the pgm
Then check for restart .suppose u have 10 records and the checkpoint limit is 2 u should have 5 checkpoints taken.
The number of checkpoints u get for normal run should match the checkpoints for a restart run i.e for a normal run u have 5 checkpoints and suppose in the abend run the abend occurred after taking the 2nd checkpoint and when u restart only 3 checkpoints should have been taken since the last i.e checkpoint number should start from 3..4.5.
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 XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm


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