View previous topic :: View next topic |
Author |
Message |
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue Feb 13, 2007 2:20 am Post subject: Restart a job |
|
|
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 |
|
|
blitz2 Beginner
Joined: 23 Jan 2007 Posts: 84 Topics: 14
|
|
Back to top |
|
|
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue Feb 13, 2007 4:24 am Post subject: |
|
|
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 |
|
|
hareshh Beginner
Joined: 13 Dec 2006 Posts: 16 Topics: 0
|
|
Back to top |
|
|
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue Feb 13, 2007 5:35 am Post subject: |
|
|
Try getting yourself on a mainframe fundamentals course _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
|
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue Feb 13, 2007 5:46 am Post subject: |
|
|
_________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
|
CZerfas Intermediate
Joined: 31 Jan 2003 Posts: 211 Topics: 8
|
Posted: Tue Feb 13, 2007 6:41 am Post subject: |
|
|
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 |
|
|
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue Feb 13, 2007 7:10 am Post subject: |
|
|
good answer Christian _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
|
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue Feb 13, 2007 7:14 am Post subject: |
|
|
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?
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12376 Topics: 75 Location: San Jose
|
Posted: Tue Feb 13, 2007 7:30 am Post subject: |
|
|
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. 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 |
|
|
kingo Intermediate
Joined: 01 Sep 2006 Posts: 167 Topics: 40 Location: chennai
|
Posted: Tue Feb 13, 2007 11:42 pm Post subject: |
|
|
Thanks a lot Kolusu.
Regds,
Kingo _________________ IF YOU ARE NOT FOCUSSED ON GOAL ALL YOU SEE IS OBSTACLE. |
|
Back to top |
|
|
|
|