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
 
Error when Overriding proc: OVERRIDDEN STEP NOT FOUND

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kiran_65

New User


Joined: 01 Apr 2005
Posts: 46

PostPosted: Wed Mar 14, 2007 4:39 pm    Post subject: Error when Overriding proc: OVERRIDDEN STEP NOT FOUND
Reply with quote

Hi,

can you please help me to solve the below problem:

i am writing two instream procs:
Code:

//job1
//c1 proc
//cs1 exec pgm=cccc
//cs1dd dd dsn= xxxx.xx.xx disp=(new,catlg,delete).....
// pend
//b1 proc
//b1 exec c1
//*here i want to override the above file, so i wrote the following statement
//CS1.CS1DD DD DSN=DPFCB.DEEPTI.FILE2
// pend
//jstep1 exec b1
//sysin dd sysout=*
//


the following error is coming:

10 IEFC611I OVERRIDDEN STEP NOT FOUND IN PROCEDURE
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Mar 14, 2007 8:42 pm    Post subject:
Reply with quote

Hello,

Please look in the forum for previous discussion on overriding nested PROCs.

You will probably not like the info - if i recall, the determination was that you have problems trying to override the "deeper" proc.

My suggestion would be to avoid nesting procs. I've not yet encountered a situation where i must nest a proc. It may create an easy way to do some things, but override and restart gets too ugly to put in production (IMHO).
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: Wed Mar 14, 2007 9:08 pm    Post subject: Re: overriding instream proc dd
Reply with quote

You need to make this change:

Code:

//job1
//c1 proc
//cs1 exec pgm=cccc
//cs1dd dd dsn= xxxx.xx.xx disp=(new,catlg,delete).....
// pend
//b1 proc
//b1 exec c1
//*here i want to override the above file, so i wrote the following statement
//CS1.CS1DD DD DSN=DPFCB.DEEPTI.FILE2
// pend
//jstep1 exec b1
//sysin dd sysout=* <<= remove this line

or add another step with a program:

//jstep2 exec pgm=iefbr14
//sysin dd sysout=*
//


It's the last line:

//sysin dd sysout=*

that's being flagged. jstep1 doesn't execute a program, so the sysin dd statement can't belong to it. It also can't belong to proc b1, since b1 also doesn't execute a program.
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 965
Location: Richmond, Virginia

PostPosted: Thu Mar 15, 2007 5:44 pm    Post subject:
Reply with quote

I don't understand

//SYSIN DD SYSOUT=*

Is this input or output?

I think you want

//SYSIN DD *
data goes here

//ddname DD SYSOUT=*

is used for directing output, and the * means default to the MSGCLASS on the JOB card.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Thu Mar 15, 2007 8:21 pm    Post subject: Re: Overriding instream proc DD
Reply with quote

Hi kiran_65,

U can't have instream data in your proc.
DUMMY it in your proc and give override to the DD from your job.

~Vamsi
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
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

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