Subject: | |
From: | |
Reply To: | |
Date: | Mon, 3 Jun 2002 09:24:29 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On our system, whenever anything logs into an account, a file is executed
that sets local variables. Look at the LIMIT UDC below:
LIMIT JOB="",SES="",JOBQ=""
OPTION NORECURSION
IF "!JOBQ" = ""
IF BOUND(SYS_JOBQ)=TRUE
SETVAR LIMIT_JOBQ ";JOBQ=!SYS_JOBQ"
JOBQSESSIONFILE SES="!SES",JOBQ="!SYS_JOBQ"
ELSE
SETVAR LIMIT_JOBQ ""
ENDIF
ELSEIF UPS("!JOBQ")="GLOBAL"
SETVAR LIMIT_JOBQ ""
ELSE
SETVAR LIMIT_JOBQ ";JOBQ=!JOBQ"
JOBQSESSIONFILE SES="!SES",JOBQ="!JOBQ"
ENDIF
#ECHO LIMIT !JOB,!SES!LIMIT_JOBQ
LIMIT !JOB,!SES!LIMIT_JOBQ
If the JOBQ is spaces, then it checks to see if a local variable is set for
SYS_JOBQ, the limit command applies to the defined JOBQ. To access the
GLOBAL JOBQ, use the GLOBAL as the jobq and the master limit it adjusted.
Other documentation if interested.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|