In this example, the TERMS input file displayed all non-cyclic jobs with job name Job5. The action performed on the selected jobs is determined by the type of utility that is calling the TERMS file. Using this TERMS file with deldefjob deletes all job processing definitions in the database for non-cyclic jobs with job name Job5.
This file contains one TERMS statement. The statement specifies that non-cyclic jobs with Job Name Job5 are to be selected.
<TERMS>
<TERM>
<PARAM NAME="JOBNAME" OP="EQ" VALUE="Job5"/>
<PARAM NAME="CYCLIC" OP="EQ" VALUE="0"/>
</TERM>
</TERMS>
The statement begins with the word TERMS enclosed in angle brackets (<TERMS>). The end of the file is indicated by the closing TERMS tag. That this is the end of the TERMS statement is indicated by the presence of the slash (/), so that the closing statement looks like </TERMS>.
Between the <TERMS> tags is a search term for identifying and selecting specific job processing definitions. It is indicated by the tags <TERM></TERM>. Between the TERM tags are the parameters of the search, indicated by the <PARAM/> tag. All the attributes of the tag are contained within the single set of brackets. No closing tag is needed. As a result, the slash (/) is included in the single tag, preceding the closing angle bracket, <PARAM/>.
As noted, the PARAM tag contains the search terms, NAME, OP, and VALUE.
NOTE: In this example, NAME="JOBNAME" OP="EQ" VALUE="Job5" searches for job processing definitions that have the Job Name, Job5.
Operator |
Description |
---|---|
EQ |
Equals. Select cases that include the specified value. |
NEQ |
Not equal. Select cases that include any value different from the one specified. |
LIKE |
Similar. Select cases that have an attribute common to the one specified. You must use a wildcard, such as * in the value that you specify. For example, JOBNAME LIKE="JOB1*" selects all jobs with a job name that begins with JOB1. JOB13 would be selected, but not JOB25. |
Parent Topic |