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

Error when Overriding proc: OVERRIDDEN STEP NOT FOUND


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Mar 14, 2007 8:42 pm
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

Global Moderator


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

PostPosted: Wed Mar 14, 2007 9:08 pm
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

Senior Member


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

PostPosted: Thu Mar 15, 2007 5:44 pm
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
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 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 How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
Search our Forums:

Back to Top