ejbserver.batch.currentdir property

Description

This property acquires the absolute path of the current directory in which the batch execution command (cjexecjob) is executed.

Use this property in the batch applications.

Usage example

The following is a usage example:

File f = new File(System.getProperty("ejbserver.batch.currentdir") + System.getProperty("file.separator") + "DataFile.txt");