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: 4648
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: 962
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 Jcl pram vs proc parms ashek15 JCL & VSAM 3 Thu Mar 30, 2017 6:50 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 7 Fri Mar 24, 2017 9:28 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