On 2017-05-23, at 06:28, גדי בן אבי wrote:

> There is a new NOTIFY JCL statement.
> It will allow you to send the notification to up to 8 addresses.
>  
I trimmed a lot.  It also mentions that NOTIFY can be contingent on
step termination codes, etc.

But I wonder, couldn't there be more flexibility with a SENDMAIL
utility (EXEC PGM=SENDMAIL), a system-like symbol, &SYSEMAIL,
akin to &SYSUID, and use of IF/THEN/ELSE?

And a JCL function (a new concept) returning the termination code
of a step, which could be imbedded in DD *,SYMBOLS=... (syntactic
ambiguity could be resolved with a SET statement.

(JCL desperately needs HLASM's DEQUOTE and DOUBLE functions.)

(Why do IF relational expressions, referbacks, and overrides
not support unambiguous references to steps in nested procedure
calls (stepname.procstepname.subprocstepname. ...)!?)

And a JCL function returning the email address of its argument
userID.

Introduce new facilities with maximum orthogonality, but rely
on existing facilities where they suffice.

-- gil

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

Reply via email to