On Fri, 7 Apr 2023 at 20:44, Paul Gilmartin
<[email protected]> wrote:
[...]
> Heck, you can't even:
>     //RUN  EXEC PGM='MYNAME.LINKLIB(MYFILE)',PARM='Wonbat'
>
> Even though TSO lets you:
>     CALL 'MYNAME.LINKLIB(MYFILE)'  'Wonbat'
>
> And why does TSO force the parm to uppercase while JCL accepts it asis?

There's an ASIS option on CALL. My guess is that the upcasing was put
in in the early days of TSO, when although JCL would accept lower case
PARM= strings, nobody was really using them. But most early TSO
terminals such as the 2741 and later 3270 did have lower (mixed) case,
and so I guess it was seen as a measure of compatibility. ASIS was
added much later (1990s?).

While looking at the help for CALL, I see - shades of another recent
discussion - that there is now a NOENVB | PASSENVB option:

NOENVB   The NOENVB operand indicates that the REXX environment
         block (ENVBLOCK) address is not to be passed to the called
         program in register 0.  This is the default.

Yeah, but *what* ENVB does it pass if you override the default? The
help doesn't say.

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to