Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us