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
 

 

Using override parameter

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

New User


Joined: 20 Feb 2006
Posts: 14

PostPosted: Tue Dec 19, 2006 4:58 pm    Post subject: Using override parameter
Reply with quote

Hi,

I have a problem in using the override parameter in a JCL. See the below jcl.

Code:

//PROCNAME.STEP001.SYSIN  DD DISP=SHR,                     
//  DSN=ABCDEFGH.ABCD.ABCD.ABCD.PROCLIB(ABCDEFGH)     


Since the override parameter is contnuing in the second line, my job is failing.

Is there any way of continuing the override parameter in the second line?

Thanks,
Herewego.
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: Tue Dec 19, 2006 5:19 pm    Post subject: Re: Using override parameter
Reply with quote

A proc override is defined as procstep_name.ddname. Your example shows one too many nodes.

Specifically:

Place modifying DD statements after the EXEC statement that calls the procedure.

To override, nullify, or add parameters to a procedure DD statement, code in the name field of the overriding DD statement the name of the procedure step containing the overridden statement, followed by a period, followed by the name of the ddname of the procedure DD statement.

//pstepname.ddname DD parameters

as defined in the z/OS V1R7.0 MVS JCL Reference
manual
.
Back to top
View user's profile Send private message
herewego

New User


Joined: 20 Feb 2006
Posts: 14

PostPosted: Tue Dec 19, 2006 6:09 pm    Post subject: Re: Using override parameter
Reply with quote

Thanks Superk,

But my code is working when i gave a member in a single line.
i.e.

Code:

//PROC.STEP1.SYSIN DD DISP=SHR,DSN=ABC.ABC.PROCLIB(ABC)


Thanks,
Herewego
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: Tue Dec 19, 2006 8:07 pm    Post subject: Re: Using override parameter
Reply with quote

I'm at a loss. On my system (z/OS v1r7) it fails in the JCL checker and it fails to actually execute with a JCL error, unless I code the override as documented in the manual.

Anyone else want to take a try at this?
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: Tue Dec 19, 2006 11:55 pm    Post subject:
Reply with quote

Hello,

The continuation may not have worked due to a requirement to "continue" in col 16. Placing a non-blank character in col 72 may also help.

Could you please post the jobstream, not just the one line?

Thank you.
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 Dec 20, 2006 4:32 am    Post subject:
Reply with quote

Hello,

Tried several combinatons here and got the same results that you reported - failed the jcl checker and got a jcl error when submitted.

Might they have a reader exit that is processing this?
Back to top
View user's profile Send private message
shanudarling
Warnings : 1

New User


Joined: 20 Dec 2006
Posts: 55
Location: noida

PostPosted: Thu Dec 21, 2006 3:16 pm    Post subject: Re: Using override parameter
Reply with quote

plz try it, in this format

Code:

//procedur_name.stepname sysin dd disp=shr,
//          dsn=a.b.c.d(pgm)
            (from 10th)   


regards
-------------
shanu icon_razz.gif

?To Succeed do the best you can, where you are, with what you have.?
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 755
Location: Germany

PostPosted: Thu Dec 21, 2006 4:49 pm    Post subject:
Reply with quote

Hi !

There is no continuation-sign needed, cause you're declaring a normal dataset. Also, as superk said, only use procstep_name.dd_name.

Regards, UmeySan

Example:
// EXEC T004G001,
// INR=007,MBR=SS009307,GRUPPE='G007.',
........
//*
//*
//S10.DATDL DD DSN=IER1337.BEST307.T300506,
// DISP=(NEW,CATLG,DELETE),
// LRECL=4018,BLKSIZE=18452,RECFM=VB,
// SPACE=(CYL,(50,50),RLSE)
//*
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 Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts DDNAME parameter mistah kurtz JCL & VSAM 6 Mon Dec 19, 2016 4:41 pm
No new posts Execessive parameter issue Sumeendar JCL & VSAM 5 Mon Dec 19, 2016 4:35 pm
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm


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