Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

IEBEDIT Error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: IEBEDIT Error
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    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Jan 03, 2006 6:58 pm    Post subject: Re: JCL Error
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    Post subject: Re: IEBEDIT Error
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm
No new posts Invoke Webservice Fails with DFHPI100... divated CICS 2 Thu Nov 24, 2016 5:57 pm
No new posts Error during restore rename archanamuthukrishnan All Other Mainframe Topics 2 Fri Oct 14, 2016 3:30 pm
No new posts Error IEC161I 052(009,XXXRS00)-084 wh... amitc23 JCL & VSAM 10 Wed Oct 12, 2016 5:00 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us