HP3000-L Archives

June 2002, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Bob Ford <[log in to unmask]>
Reply To:
Date:
Mon, 3 Jun 2002 09:24:29 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (31 lines)
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 *

ATOM RSS1 RSS2