View previous topic :: View next topic
|
Author |
Message |
Krishnadeva Reddy
New User
Joined: 14 Nov 2007 Posts: 40 Location: Chennai
|
|
|
|
Hi,
I have a job with 3 steps when submitted failed in 2nd step.
Now I want to run the job from 3rd step(only 3rd step) without restart parameter in jobcard.And the proc is not editable ,only we can give overrides from the jobcard.
Please let me know how I can restart the job only with 3rd step.
Thanks,
Krishna. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Just out of curiosity, if you cannot edit the JCL and you cannot use a restart parameter, exactly how do you think you can start the job on the third step? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
The only thing I can think of is to pass the JCL through the IEBEDIT utility. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Why the silly requirement for no restart parameter ?
Is this a HOMEWORK question ? |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
If step3 is part of a PROC then IEBEDIT probably cannot be used. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
I agree with Bill, the input to IEBEDIT needs to contain a jobname.
Also if there are IF/THEN/ELSE statements IEBEDIT does not handle them too well.
Whilst the PROC is not editable, can it be copied out and then hacked ?
Gerry |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
After flipping a coin 15 times, i have come up with:
Interview question - 9
Classroom work - 6
Other possibilities
d |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
if only 15(9+6) possibilities are there to select from..other possibilities are ruled out..
-Ad |
|
Back to top |
|
|
Krishnadeva Reddy
New User
Joined: 14 Nov 2007 Posts: 40 Location: Chennai
|
|
|
|
Hi,
Sorry for the confusion if I was not able to explain the requirement properly,but this was my requirement to do.
Atlast after several attempts I found a solution for this.
//JOBCARD
//*
//STEP01 EXEC PROC,COND.STEP01=ONLY,COND.STEP02=ONLY
//*
I was able to execute only 3rd step where 1st and 2nd steps are flushd out after giving jobcard overrides by the way I mentioned.
Thanks for your time and other suggestions.
Thanks,
Krishna. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Yeah, it is a known solution to the request, but would you prefer to code one restart parameter on the jobcard, or to code all of that for restarting at STEP99 of a proc with 100 steps ?
I would still like to understand the reasoning behind not using the restart parameter.
AND ......................... WELL DONE for searching out your own solution |
|
Back to top |
|
|
jinal_mca
New User
Joined: 05 Jan 2007 Posts: 22 Location: Pune, India
|
|
|
|
Hi Krishna,
Well the issue is closed still would like to add some thing. Normally we used to face the same issue in production. and we will not be able to edit jcl or proc.
Following solutions we used to give in such situations in production live scenario:
1) open jcl in view mode & give restart step.
2) can copy it to your personal pds and edit it then go for submission
3) in case of proc also you can take in in private proclib then after editing it temporary in view mode change your proclib concatenation in jcl
Above are all the possible ways to do such things.
Thanks |
|
Back to top |
|
|
nkothako
Active User
Joined: 26 Nov 2008 Posts: 125 Location: chennai
|
|
|
|
Code: |
USE RD=R OR RNC OR NC OR NR |
at exec level for automatic restart |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Please post something that shows how this meets the original request.
What is your definition of "exec level"?
A more detailed post would probably help. . . |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
And why are you replying to a thread that has been dormant for over two months ??? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
nkothako wrote: |
Code: |
USE RD=R OR RNC OR NC OR NR |
at exec level for automatic restart |
Even if it's doable, you would need to edit the PROC/JCL where the origianl post says
Quote: |
And the proc is not editable |
|
|
Back to top |
|
|
|