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

how ot owrk on restart program of cobol db2 using BMC


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top