Subject: | |
From: | |
Reply To: | Stigers, Greg [And] |
Date: | Wed, 25 Oct 2000 14:35:35 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
X-no-Archive:yes
IF WORD('!HPSTREAMEDBY',' ')='SMATTHEW,GASB.MAWA'
should do the trick.
We use it in our job to shutdown the network. If this job is streamed by our
scheduled job to shutdown everything else, it only issues an NSCONTROL STOP,
so Ops can stay on the box and monitor the backups but prevents new sessions
(other logic kicks off everyone else). If it is streamed otherwise, it also
issues NSCONTROL ABORT and NETCONTROL STOP.
Greg Stigers
http://www.cgiusa.com
-----Original Message-----
From: Sandy Matthew [mailto:[log in to unmask]]
Sent: Saturday, October 21, 2000 10:48 AM
To: [log in to unmask]
Subject: Parsing the HPSTREAMEDBY Variable
In one application I have been able to set a file equation based on the
contents of HPSTREAMEDBY
for example
if "!HPSTREAMEDBY" = "SMATTHEW,GASB.MAWA"
<snip>
How can I use jcl to examine the variable?
|
|
|