Programs which use language elements to process XML documents are in principle linked, loaded and started as described in chapter "Linking, loading, starting".
Processing XML documents also always requires encodings to be converted. Connection module GNLAPDT must consequently be linked for corresponding XHCS functions:
When TSOSLNK is used for linking, see section "Static linkage using TSOSLNK", the following additional statement is required in the linkage run:
*RESOLVE ,$.SYSOML.XHCS-SYS.020 —————————————————————————————— (1)
(1) | XHCS connection module: it is implied that the library which contains the module is available in the system with the name SYSOML.XHCS-SYS.020. |
When BINDER is used for linking, see section "Linking using BINDER", the following additional statement is required in the linkage run:
//RESOLVE-BY-AUTOLINK LIB=$.SYSOML.XHCS-SYS.020 —————————————— (1)
(1) | XHCS connection module: it is implied that the library which contains the module is available in the system with the name SYSOML.XHCS-SYS.020. |
When dynamic linking and loading takes place with DBL, see section "Dynamic linking and loading using DBL", the following additional command is required before the START PROGRAM or LOAD-PROGRAM command:
/ADD-FILE-LINK BLSLIB02,$.SYSOML.XHCS-SYS.020 ————————————————— (1)
(1) | XHCS connection module: it is implied that the library which contains the module is available in the system with the name SYSOML.XHCS-SYS.020 |
/ADD-FILE-LINK COBPRSXM,$XYZ.SYSLIB.UTM-XML.030.RT ——————————————— (1) /ADD-FILE-LINK BLSLIB01,$.SYSLNK.CRTE ———————————————————————— (2)
(1) | XML parser: it is implied that the library which contains the relevant modules is available on the XYZ ID with the name SYSLIB.UTM-XML.030.RT. |
(2) | The parser’s modules require the C runtime system. You must therefore also assign CRTE. |