Input file definition and order of priority

The data file used in Express Batch processing can be designated in the following ways:

  • XML processing file - the data file element:
    <data file="C:\data\datafile.xml"/>
  • OPS file - absolute definition
    datafile=ST0000002380PROv2MoreRows-v4.csvEXP-OPS
  • OPS file - dynamic definition resolved via the run-na-batch command line option.
    <input><?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
    <concept xml:lang="en-US" id="concept_osw_mrk_kr">
        <title>Using overrides</title>
        <shortdesc> You can either specify resources used by the template in Designer in the
                <uicontrol>Publish for EngageOne</uicontrol> task or by using an override production
            settings (<keyword keyref="ops">OPS</keyword>) file; this allows you to specify supplements
            and alternatives to some of the job settings that were used in <ph keyref="e1designer"/>.
            Note that the use of overrides is valid only for templates run Express Batch processing
            mode.</shortdesc>
        <conbody>
            <p> An example OPS file is shown below:</p>
            <p>
                <codeblock>&lt;input>
    Datainput=C:\NABatch\SET2\data\Letters-ORG.xml
    
    &lt;KeyMap>
    Showroom=ACompanyxml
    Showroom=C:\key\keymap4.xml
    
    &lt;LookupTable>
    Dealers=C:\NABatch\SET2\data\Dealerships.ETS
    
    &lt;Output>
    Default PDF=c:\myoutputs\SET2\ACompany-KeyedImages-Lookuptables.pdf
    
    &lt;DIJ>
    AFP300=c:\myoutputs\SET2\1.jrn
    
    &lt;trace>
    Outputfile=c:\myoutputs\SET2\Trace.out
    
    TraceLevel=Complete 
    ; TraceLevel=default
    ; TraceLevel=verbose
    ; TraceLevel=off
    
    OutputCodepage=UTF8
    memlimit=0
    
    Supporttrace=on
    ; supporttrace=off </codeblock>
            </p>
            <p>For a complete list of OPS file settings, refer to <b><i>OPS file reference</i></b>
                section of the latest <ph keyref="e1designer"/> User's Guide.</p>
    
        </conbody>
    </concept>
    DataInput=%data_dir%\%datafile%

Order of Priority

  • Any of the OPS definitions types override the XML processing file definition.
  • The OPS absolute definition is overridden by the OPS dynamic definition, which is used in conjunction with the command line option and provides the greatest level of flexibility.