Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Linking, loading, starting programs with XML language elements

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

 

When a COBOL Program with XML statement executes, the executing program must be able to access the module library which contains the parser program package so that it can load modules from it dynamically. To permit this, use the link name COBPRSXM to assign the library with the parser modules before the COBOL program executes. In the case of dynamic linking and loading or when loading linked programs, the following additional commands are required before the START PROGRAM or LOAD-PROGRAM command:

/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.