View previous topic :: View next topic
|
Author |
Message |
vodeti Warnings : 1 New User
Joined: 19 Sep 2005 Posts: 13
|
|
|
|
Hello friends,
My JOB consists of 100 steps.
I want to execute from step30 to step60 only.
How to code the COND parameter?
Bye
vani
NOTE: TITLE EDITED |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Hi Vani,
For all your queries posted in last few mins...
1> Should have chosen proper forum to post question.
2> Shoul have given proper subject line.
3> Should have made SEARCH in the forum reg the question.
But None of the rule followed.
Well, Give RESTART=S030 & code a NULL stmt (// )after S060.
This is the easiest you can do.
Regards,
Priyesh. |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
HI,
Quote: |
My JOB consists of 100 steps.
I want to execute from step30 to step60 only.
How to code the COND parameter? |
This Topic has discussed many times. Please make search before the posting.
Regards
Rupesh |
|
Back to top |
|
|
gangas
New User
Joined: 20 Jul 2005 Posts: 14
|
|
|
|
Hi,
By using the IBEDIT utility we can execute the particular steps
Pgm=IEBEDIT,select=(step30,step60). |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 420 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
We're all curious. Please post the JCL for this 100 step job.
Dave |
|
Back to top |
|
|
Anbudan
New User
Joined: 07 Sep 2005 Posts: 26 Location: Germany
|
|
|
|
Hi dneufarth
As priyesh.agrawal said, the easiest way is(change ur job percentage is very less compare with other solutions)here. The changes are shown in Green colour.
//JOBXXXX JOB (960,TEST,,,,9900),ABC, TEST',
// MSGCLASS=T,NOTIFY=VANI,CLASS=L,MSGLEVEL=(1,1),
// RESTART=STEP30
//*------------------------------------------------------------------------------*
//STEP01 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE ABC.TEST.TEST001 NONVSAM
SET MAXCC=0
//*
?..
?. .
??.
??
//*------------------------------------------------------------------------------*
//STEP60 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE ABC.TEST.TEST0060 NONVSAM
SET MAXCC=0
// |
|
Back to top |
|
|
Anbudan
New User
Joined: 07 Sep 2005 Posts: 26 Location: Germany
|
|
|
|
Hi
In my previous post, the colour is not existing properly, See below with blue colour.
//JOBXXXX JOB (960,TEST,,,,9900),ABC, TEST',
// MSGCLASS=T,NOTIFY=VANI,CLASS=L,MSGLEVEL=(1,1),
[size=12]// RESTART=STEP30 [/size]
//*------------------------------------------------------------------------------*
//STEP01 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE ABC.TEST.TEST001 NONVSAM
SET MAXCC=0
//*
?..
?. .
??.
??
//*------------------------------------------------------------------------------*
//STEP60 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DELETE ABC.TEST.TEST0060 NONVSAM
SET MAXCC=0
//
Anbudan |
|
Back to top |
|
|
dneufarth
Active User
Joined: 27 Apr 2005 Posts: 420 Location: Inside the SPEW (Southwest Ohio, USA)
|
|
|
|
Anbudan,
I know how to do it. Just wanted to see a production job with 100 steps as it must be difficult to manage and restart upon failure. I've never seen a job with that many steps as QA group (me a my last few jobs) would put a halt to it.
It also seems a bit simplistic to say just use RESTART and // when no one knows about which datasets/databases need to be restored or whether a needed input might have been PASSED rather than cataloged.
If it's a hypothetical, then poster should say so.
Dave |
|
Back to top |
|
|
|