Offline DFDL API support

You might use most of the z/TPF DFDL APIs from your Linux® on IBM Z® environment. The offline DFDL library support is contained within the tpfdfdl shared object.

To build offline programs with the offline DFDL library, include the following statement in your .mak file:
LIBS := tpfdfdl

The z/TPF DFDL APIs use common deployment on the z/TPF system to locate DFDL schema files. For the offline DFDL APIs, the TPF_DFDL_PATH environment variable is used to locate DFDL schema files. This environment variable searches the provided directories in the order that is specified by DFDL schema files. The environment variable is used for both the DFDL schema files that are passed to the tpf_dfdl_initialize_handle function as well as all schema files that are included or imported by DFDL schema files. All DFDL schema files that are used on the z/TPF system generally import the tpfbase.lib.dfdl.xsd schema file; therefore, ensure that the location of this DFDL schema file is included in the TPF_DFDL_PATH environment variable. You can find this schema file in the base/tpf-fdes subdirectory of the base z/TPF directory on Linux on IBM Z.