+

Search Tips   |   Advanced Search

XML schema for a native execution job

This XML schema example can be used with xJCL to implement a native execution job.

<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
     <xsd:element name="arg">
       <xsd:complexType>
           <xsd:attribute name="line" type="xsd:string" use=" required" />
       </xsd:complexType>
    </xsd:element>
     <xsd:element name=" required-capability">
       <xsd:complexType>
           <xsd:attribute name="expression" type="xsd:string" use=" required" />
       </xsd:complexType>
    </xsd:element>
     <xsd:element name="substitution-props">
       <xsd:complexType>
           <xsd:sequence>
               <xsd:element ref="prop" minOccurs="0" maxOccurs="unbounded"/>
           </xsd:sequence>
       </xsd:complexType>
    </xsd:element>
     <xsd:element name="env-entries">
       <xsd:complexType>
           <xsd:sequence>
               <xsd:element ref="env-var" minOccurs="0" maxOccurs="unbounded"/>
           </xsd:sequence>
       </xsd:complexType>
    </xsd:element>
     <xsd:element name="env-var">
       <xsd:complexType>
           <xsd:attribute name="name" type="xsd:string" use=" required" />
           <xsd:attribute name="value" type="xsd:string" use=" required" />
       </xsd:complexType>
    </xsd:element>
     <xsd:element name="exec">
       <xsd:complexType>
            <xsd:sequence>
                <xsd:element ref="arg" minOccurs="0" maxOccurs="unbounded"/>
            </xsd:sequence>
            <xsd:attribute name="executable" type="xsd:string" use=" required" />
       </xsd:complexType>
    </xsd:element>
     <xsd:element name="job-scheduling-criteria">
      <xsd:complexType>
          <xsd:sequence>
              <xsd:element maxOccurs="unbounded" minOccurs="1" ref=" required-capability" />
          </xsd:sequence>
      </xsd:complexType>
    </xsd:element>
     <xsd:element name="job">
       <xsd:complexType>
         <xsd:sequence>
             <xsd:element ref="job-scheduling-criteria" minOccurs="0" maxOccurs="1"/>
             <xsd:element ref="substitution-props" minOccurs="0" maxOccurs="1"/>
             <xsd:element ref="job-step" maxOccurs="unbounded" minOccurs="1" />
         </xsd:sequence>
         <xsd:attribute name="name" type="xsd:string" use=" required" />
         <xsd:attribute name="class" type="xsd:string" use="optional" />
         <xsd:attribute name="accounting" type="xsd:string" use="optional" />
         <xsd:attribute name="default-application-name" type="xsd:string" use="optional" />
       </xsd:complexType>
    </xsd:element>
     <xsd:element name="job-step">
       <xsd:complexType>
           <xsd:sequence>
               <xsd:element ref="env-entries" minOccurs="0" maxOccurs="1"/>
               <xsd:element ref="exec" minOccurs="1" maxOccurs="1" />
           </xsd:sequence>
           <xsd:attribute name="name" type="xsd:string" use="optional" />
           <xsd:attribute name="application-name" type="xsd:string" use="optional" />
       </xsd:complexType>
    </xsd:element>
     <xsd:element name="prop">
       <xsd:complexType>
           <xsd:attribute name="name" type="xsd:string" use=" required" />
           <xsd:attribute name="value" type="xsd:string" use=" required" />
       </xsd:complexType>
    </xsd:element>
    </xsd:schema>


Related concepts

  • xJCL elements
  • xJCL sample for a compute intensive job