View previous topic :: View next topic
|
Author |
Message |
srinivas kumar
New User
Joined: 03 Jan 2006 Posts: 1
|
|
|
|
1. I Want to execute only step20 and Step40 in a job of total 50 steps. For this I have coded a Jcl using INTRDR but it is giving an error. Could please suggest.
Here is the JCL---
Code: |
//STEP010 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=WW.W.XXX.YYY.DATA(ANNST),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT START=ANNST,TYPE=POSITION,STEPNAME=(STEP020-STEP040)
/*
|
The error is --
EDIT START=ANNST,TYPE=POSITION,STEPNAME=(STEP020-STEP040)
IEB010I INVALID OPERATION CODE
IEB024I 4 WAS HIGHEST SEVERITY CODE
Thanks,
Srinivas |
|
Back to top |
|
|
i413678 Currently Banned Active User
Joined: 19 Feb 2005 Posts: 112 Location: chennai
|
|
|
|
Hi Srinivas,
Just try removing - in between STEP020 and STEP040
just place a comma in b/w those two step names.....
START=ANNST,TYPE=POSITION,STEPNAME=(STEP020,STEP040)
as per your requirement.....
correct me if i am wrong.......
sorry if I am wrong......
pavan |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
A few other points:
- Like most utilities, the parameters for IEBEDIT cannot start in the first column. If they do start in column 1, you need to shift them to the right a few columns.
- About TYPE=POSITION:
TYPE={POSITION|INCLUDE|EXCLUDE}
specifies the contents of the output data set. These values can be coded:
POSITION
specifies that the output is to consist of a JOB statement, the job step specified in the STEPNAME parameter, and all steps that follow that job step. All job steps preceding the specified step are omitted from the operation. POSITION is the default.
INCLUDE
specifies that the output data set is to contain a JOB statement and all job steps specified in the STEPNAME parameter.
EXCLUDE
specifies that the output data set is to contain a JOB statement and all job steps belonging to the job except those steps specified in the STEPNAME parameter.
If you use TYPE=POSITION then there can only be the starting JOB STEPNAME. I think you want to use TYPE=INCLUDE instead.
|
|
Back to top |
|
|
i413678 Currently Banned Active User
Joined: 19 Feb 2005 Posts: 112 Location: chennai
|
|
|
|
Hi,
START=ANNST,TYPE=INCLUDE,STEPNAME=(STEP020,STEP040) should be specified if you want to execute only STEP020 and STEP040 steps......
START=ANNST,TYPE=INCLUDE,STEPNAME=STEP020,STEP040 should be specified ifyou want to execute the steps in between STEP020 and STEP040......
START=ANNST,TYPE=POSITION,STEPNAME=STEP020 should be specified if you want to execute all steps after STEP020 in the jcl.......
correct me if i am wrong.......
pavan |
|
Back to top |
|
|
rajesh_1183
Active User
Joined: 24 Nov 2005 Posts: 121 Location: Tadepalligudem
|
|
|
|
why going for internal reader...just go for restart parameter and cond parameter......
Thanks,
Rajesh. |
|
Back to top |
|
|
|