cDSCHEDULE Automated Job Submission System Guide and Reference �ManualD

SCHEDULE
Automated Job Submission System
Guide and Reference Manual



 o T Y  
PreviousContentsIndex





X  # &                          
Table 3-3 String operators
Operator Description
 A .LTS. B + Evaluates to true if A is less than B
 A .GTS. B . Evaluates to true if A is greater than B
 A .LES. B 7 Evaluates to true if A is less than or equal to B
 A .GES. B : Evaluates to true if A is greater than or equal to B
 A .NES. B . Evaluates to true if A is not equal to B
 A .EQS. B * Evaluates to true if A is equal to B




W  # &                  
Table 3-4 BOOLEAN operators
Operator Description
 A .AND. B 8 Evaluates to true if both A and B evaluate to true
 A .OR. B 9 Evaluates to true if either A or B evaluate to true
.NOT. A / Evaluates to true if A evaluates to false
 FILE_NOT_FOUND , Evaluates to true if filename is found
+

3.1.5 Variables



CThe purpose of a variable is to allow job switching and wait state Econtrols that go beyond the traditional prerequisites and initiates. FThe values contained in variables can exist either in the database or Fas a local, temporary variable. There are three basic variables types: ( &              
Variable type Description
Integer & Variable holds an interger value
String $ Variable is a character string
Boolean ( Variable holds a True/False value.!

Values considered True::

Any string that starts with 'T', 't','Y', or 'y'

Any odd integer!

Values considered FalseJ

Any string that does start with 'T','t','Y','y' Any Even integer



FAn expression is any valid relationship using a variable. For example:

 

"
 
variable1 variable1 .eq. variable2 5(variable1 .gt. variable2) .and. (variable3 .gt. 30) 4(variable .ne. variable2) .or. (variable3 .le. 200) $variable1 + variable3 * 40 .ge. 100  




HA variable's value is saved in the database where it can be accessed or Dmodified with the SET command by any number of jobs . Variables can :also be created or modified on the command line or in the FSCHEDULE GUI. An example of a stored variable is shown below.

 

"
 
Examples:  +VAR1                   ! The variable name .[DIR1]VAR              ! A more complete name 4[MILLER.DIR1]VAR1      ! A fully qualified variable  


 




 o V T Y  
PreviousNextContentsIndex