Subject: | |
From: | |
Reply To: | |
Date: | Mon, 19 Aug 1996 13:31:18 -0700 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Al writes:
> I am trying to limit users from streaming jobs from account A that have a
> job card that logs into account B. The only way that I have been able to
> prevent this is if the user or account in the job card is passworded. Any
Two approaches:
1) *prevent* the STREAM (i.e., no job is ever started)
2) detect the STREAM from within the new job, and terminate the job.
#1 requires intercepting the CI's attempt at executing the STREAM command,
which can be done by write a procedure exit (AIE:PE) that intercepts
at a variety of spots, including: exec_cmd, get_logon_cmd, slo_get_comnd,
stop_user, and telluserlogon.
#2 can be done with a logon UDC for account B that checks the
HPSTREAMEDBY variable. (Example: HPSTREAMEDBY = Q,STAN.A (#S109))
If ".A " is in the variable, then do a "BYE" command.
--
Stan Sieler [log in to unmask]
http://www.allegro.com/sieler.html
|
|
|