Indeed, HASPPARM DD is used to define location of the member.
However my goal is to get rid off the DSN and use logical parmlib
concatenation instead.
Nowadays most of the procedures, like TSO, SDSF, CSF, DFRMM, etc. no
longer use DDname for specification of parmlib member.
Instead logical parmlib concatenation is being used and the only thing
to provide is member name or even suffix letters.
BTW: I edited your procedure to show how that way.
BTW2: instead of PROCxx DD it is possible to use PROCLIB defined in
HASJES2 (read parmlib). Dynamic proclib provide better flexibility.
--
Radoslaw Skorupka
Lodz, Poland
W dniu 29.11.2024 o 17:05, Matthew Stitt pisze:
Here is my JES2 procedure:
//JES2 PROC MEM=JES2&SYSCLONE. note changed name
//IEFPROC EXEC PGM=HASJES20,PARM='WARM,NOREQ,MEMBER=&MEM'
//PROC00 DD DSN=SYS1.&SYSNAME..PROCLIB,DISP=SHR
// DD DSN=SYS1.AQH.PROCLIB,DISP=SHR
// DD DSN=SYS1.PROCLIB,DISP=SHR
// DD DSN=SYS1.CPAC.PROCLIB,DISP=SHR
// DD DSN=SYS1.IBM.PROCLIB,DISP=SHR
//* DD DSN=SYS1.PPROD390.PROCLIB,DISP=SHR
//* DD DSN=ESL.PROCLIB,DISP=SHR
// DD DSN=SYS1.MQM.SCSQPROC,DISP=SHR
//*PROC01 DD DSN=TSO.PROCLIB,DISP=SHR
//*HASPPARM DD DSN=SYS1.AQH.JESPARM(&MEMBER),DISP=SHR commented, but the PDS
must belong to PARMLIB
//HASPLIST DD DDNAME=IEFRDER
Notice that it is using HASPPARM, not PARMLIB. Interesting thought I should
try.
Matthew
On Fri, 29 Nov 2024 03:41:02 +0000, Seymour J Metz<sme...@gmu.edu> wrote:
What are you trying to say? There is no such thing in JCL as overriding a
subparameter of PARM. You can specify the values of symbols used to construct
PARM and you can specify a replacement string constructed as a constant or with
symbols.
How the evaluated string is interpreedd is up to the called program, but how it
can be specified is strictly up to the Converter.
--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3
עַם יִשְׂרָאֵל חַי
נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר
________________________________________
From: IBM Mainframe Discussion List<IBM-MAIN@LISTSERV.UA.EDU> on behalf of Paul
Gilmartin<0000042bfe9c879d-dmarc-requ...@listserv.ua.edu>
Sent: Thursday, November 28, 2024 9:28 PM
To:IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: JES2, HASPPARM and PARM
External Message: Use Caution
On Thu, 28 Nov 2024 23:43:33 +0000, Seymour J Metz roote:
JCL keywords are all or nothing; a PARM override replaces the entire thing. The
trick is to use symbolic parameters instead of PARM overrides.
Yes.
But PARM is merely a string. Its interpretation is up to the
PGM=. If there are default subparameters which are not
explicitly overridden, it is the prerogative of that PGM to
treat them as they may be documented.
--
giil
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN