MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Restart a job

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue Feb 13, 2007 2:20 am    Post subject: Restart a job Reply with quote

Hi,

Can anyone tell me how to restart a job in DB2


Regds,
Kingo
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
blitz2
Beginner


Joined: 23 Jan 2007
Posts: 84
Topics: 14

PostPosted: Tue Feb 13, 2007 4:09 am    Post subject: Reply with quote

http://www.mvsforums.com/helpboards/viewtopic.php?t=7299&highlight=checkpoint+restart
http://mvsforums.com/helpboards/viewtopic.php?t=1318&highlight=checkpoint

so many links available if you do a simple search on 'checkpoint restart' in this forum.
________
vaporite solo


Last edited by blitz2 on Wed Feb 02, 2011 3:11 am; edited 1 time in total
Back to top
View user's profile Send private message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue Feb 13, 2007 4:24 am    Post subject: Reply with quote

No no My doubt is Restart in JCL is different from restart in DB2.
Whats the difference?

Regds,
Kingo
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
hareshh
Beginner


Joined: 13 Dec 2006
Posts: 16
Topics: 0

PostPosted: Tue Feb 13, 2007 5:09 am    Post subject: Reply with quote

Hi Kingo,

Restart in JCL

Arrow http://www.mvsforums.com/helpboards/viewtopic.php?t=4770&view=next

Restart in DB2

Arrow http://www.mvsforums.com/helpboards/viewtopic.php?t=7435&view=next

Regards,
Haresh. Mr. Green
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue Feb 13, 2007 5:35 am    Post subject: Reply with quote

Try getting yourself on a mainframe fundamentals course
_________________
Utility and Program control cards are NOT, repeat NOT, JCL.
Back to top
View user's profile Send private message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue Feb 13, 2007 5:46 am    Post subject: Reply with quote

Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad Crying or Very sad
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
CZerfas
Intermediate


Joined: 31 Jan 2003
Posts: 211
Topics: 8

PostPosted: Tue Feb 13, 2007 6:41 am    Post subject: Reply with quote

Hello Kingo,

the difference is, that a restart via JCL means, that you code
RESTART=stepname in your job card.

Restart in DB2 means, that you change your program, so that it reads from a file or another DB2 table the needed restart information and uses this to reposition it's old cursor position or the row in a sequential output dataset.

That means: DB2-restart has to be coded in your program, JCL-restart just skips some of the steps in your JCL.

regards
Christian
Back to top
View user's profile Send private message
dbzTHEdinosauer
Supermod


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue Feb 13, 2007 7:10 am    Post subject: Reply with quote

good answer Christian
_________________
Dick Brenholtz
American living in Varel, Germany
Back to top
View user's profile Send private message
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue Feb 13, 2007 7:14 am    Post subject: Reply with quote

I am not going into the files itself.See suppose If my LOAD utility job fails in the sort phase and then i need to fix it by building up of the index.So now I need to restart.So there is something called as RESTART(PHASE) ,RESTART(CURRENT).So where will i give these options.As i have checked We wont give them in utility card neither in JCL I suppose.So how would we RESTART or what are the other options we got to provide.Hope I got my question clear this time? Crying or Very sad

Regds,
Kingo
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Tue Feb 13, 2007 7:30 am    Post subject: Reply with quote

Quote:

So where will i give these options.As i have checked We wont give them in utility card neither in JCL I suppose.So how would we RESTART or what are the other options we got to provide.Hope I got my question clear this time?


kingo,

you do specify the RESTART(Phase) in the JCL. btw this is the second question on the same topic. Mad Read this which explains in detail about the LOAD utility.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNUGH13/2.12?DT=20020826194002

Pay attention to the options and see how the parms are passed to passed DSNUPROC.

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kingo
Intermediate


Joined: 01 Sep 2006
Posts: 167
Topics: 40
Location: chennai

PostPosted: Tue Feb 13, 2007 11:42 pm    Post subject: Reply with quote

Thanks a lot Kolusu.


Regds,
Kingo
_________________
IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE.
Back to top
View user's profile Send private message Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group