Developer for System z, Version 7.6.x

# XML and Web Services batch processor: Specifying directory for input language file location

The location of the COBOL input files can be specified in the importDirectory attribute as an absolute path, starting with the drive specification (for example, C:\mypath\test).

If, instead, a relative path is desired (for example, so that the configuration files and Cobol source code can be relocated without changing any file locations in the xsebatch configuration files), try doing the following:

Table 1.
Directory: | Description:
--- | ---
`C:\workspace\account_details` | Main project
`C:\workspace\account_details\cobol_src` | Subdirectory with COBOL source files to import
`C:\workspace\account_details\xsebatch_config` | Subdirectory with XML configuration files for xsebatch

Then you could use the following InputOutputMessage element for a COBOL source file called DFH0ACTD.cbl in the cobol_src directory:

    <InputOutputMessage importFile="../cobol_src/DFH0ACTD.cbl"></InputOutputMessage>

Alternatively, you may place the COBOL source files in the same directory from which xsebatch is invoked

Terms of use | Feedback
This information center is powered by Eclipse technology. (http://www.eclipse.org)