On Tue, 5 Sep 2023 17:34:17 -0400, Phil Smith III wrote:
>    ...
>1.     Is there a way to say "Do the INCLUDE from the same library where you 
>found this JCL?" (I expect not, because I don't think the JCL has any 
>association with that library by the time it's submitted)
>
Put the mainstream JCL in that same JCLLIB and invoke it with a stub/wrapper 
INCLUDE.
(Can INCLUDEs be nested?)
(I've done similar with Assembler using a script to generate a SYSIN consisting 
of only
a single COPY statement.)

>2.     On the SMP/E RECEIVE command, I believe that in 99.44% (or higher) 
>cases, an RPREFIX will be needed. And I can specify this using a variable 
>(now!). In the unlikely event that no RPREFIX is needed, it appears from my 
>testing that you cannot just say
>   RECEIVE SYSMODS RFPREFIX() .
>or, more precisely:
>  RECEIVE SYSMODS RFPREFIX(&RPREFIX) .
>where &RPREFIX is null. Is that correct? I can handle this via doc and 
>comments, but of course would rather not if there's a way around it.
>
It's dismaying that JCL and many other IBM products provide no way of explicitly
asserting a default value.  Examples:

o There's mo operand of TYPRUN that asserts the default value.

o I encountered a problem with a script-generated DDDEF with
  SECONDARY(0).  It had to be 1 or greater, or the option had
  to be omitted.

o (But COBOL, OTOH, won't use SDB when the programmer omits the
  BLOCK CONTAINS clause.)

o Etc.

-- 
gil

----------------------------------------------------------------------
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