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: 4649
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 DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm


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