4-84
A-61635 December 2010
Create output file and send its path as parameter
— selecting this option
generates an XML file which contains the parameters. The path to this file will
be passed to the invoked program as the only parameter.
Location
— click
Setup
to specify the path formula and file name for the
output file.
In the XML file, string literals will be in a PARAM_LIST element which contains
one PARAM element per literal.
Variable parameters will be contained in elements which identify the parameter
type (like <BATCH_NAME>).
A schema file
KCCustomApplication.xsd
(see Appendix D) can be used to
validate resultant XML files and as a reference during code development.
For example, the location and file name formula
<EXPORT_PATH>"\"<BATCH_NAME>"\" and Parameters.XML generated the
parameter
C:\BatchesPro\Batch001033841\Parameters.XML.
The Parameters.XML file had the following content:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<KCCustomApplication xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="KCCustomApplication.xsd">
<PARAM_LIST>
<PARAM>one</PARAM>
<PARAM>two</PARAM>
<PARAM>three four</PARAM>
</PARAM_LIST>
<BATCH_NAME>Batch001033841</BATCH_NAME>
</KCCustomApplication>