IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

IEBEDIT Error


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
srinivas kumar

New User


Joined: 03 Jan 2006
Posts: 1

PostPosted: Tue Jan 03, 2006 6:03 pm
Reply with quote

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
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Tue Jan 03, 2006 6:36 pm
Reply with quote

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
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Jan 03, 2006 6:58 pm
Reply with quote

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
View user's profile Send private message
i413678
Currently Banned

Active User


Joined: 19 Feb 2005
Posts: 112
Location: chennai

PostPosted: Tue Jan 03, 2006 9:16 pm
Reply with quote

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
View user's profile Send private message
rajesh_1183

Active User


Joined: 24 Nov 2005
Posts: 121
Location: Tadepalligudem

PostPosted: Wed Jan 04, 2006 12:12 pm
Reply with quote

why going for internal reader...just go for restart parameter and cond parameter......

Thanks,
Rajesh.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top