| Date: | Thu, 22 Jan 2009 17:15:12 -0500 |
| Reply-To: | charles.harbour@ACT.ORG |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | charles.harbour@ACT.ORG |
| Subject: | Re: Obtaining NOTIFY= in a batch MVS job? |
|
You may have to get creative. In doing a quick IBM doc search, it looks
like $NOTIFY refers to a macro execution, not a sysparm. In looking at the
object storage assembler code (references the other sysparms like object
name, storage class and management class), Notify is not referenced.
I'm looking at older doc (z/OS 1.9), but I don't expect this would have
changed much. Suppose it wouldn't hurt to confirm on your OS level
doc--just search for $NOTIFY.
There may be a way to execute the macro and grab what it sends back, or
directly reference one of the macro's internal fields--but I couldn't find
that in 5 minutes. Maybe try one of the IBM listserves? Worst case
scenario is that you might try scraping the syslog for the Notify resolution.
Good luck.
CH
On Thu, 22 Jan 2009 10:20:26 -0800, Jack Hamilton <jfh@STANFORDALUMNI.ORG>
wrote:
>Does anyone know how to obtain, programmatically in a SAS job, the value
>of the NOTIFY= option on the JOB statement of an MVS/zOS batch job?
>
>I have found references to a mechanism for obtaining various other parts
>of the job card (jobname, accounting field, job class) etc., in a paper
>by David Johnson that references earlier work by Gilbert Saint-Flour,
>but I have not found the NOTIFY field.
>
>
>
>--
>Jack Hamilton
>Sacramento, California
>jfh@alumni.stanford.org <== Use this, not jfh @ stanfordalumni.org
|