View previous topic :: View next topic
|
Author |
Message |
herewego
New User
Joined: 20 Feb 2006 Posts: 14
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
herewego
New User
Joined: 20 Feb 2006 Posts: 14
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
shanudarling Warnings : 1 New User
Joined: 20 Dec 2006 Posts: 55 Location: noida
|
|
|
|
plz try it, in this format
Code: |
//procedur_name.stepname sysin dd disp=shr,
// dsn=a.b.c.d(pgm)
(from 10th)
|
regards
-------------
shanu
?To Succeed do the best you can, where you are, with what you have.? |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
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 |
|
|
|