Previous Topic

Next Topic

Book Contents

Book Index

XML file example

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.

Parent Topic

XML file rules