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
 

 

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: 4649
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: 964
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 Restart=Step not working ALAK SAHA JCL & VSAM 6 Fri Jun 30, 2017 6:28 pm
No new posts REXX to view the PGM or PROC jackzhang75 CLIST & REXX 11 Tue Jun 20, 2017 1:20 am
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Validate date and numeric fields and ... Rick Silvers DFSORT/ICETOOL 6 Thu May 11, 2017 6:51 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm


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