Here is my JES2 procedure:
//JES2    PROC MEMBER=JES2&SYSCLONE.                  
//IEFPROC EXEC PGM=HASJES20,PARM=(WARM,NOREQ)         
//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 
//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

Reply via email to