Loading the validating parser code

Prior to parsing XML documents with validation, the validating parser code must be loaded into storage. To do this, add the validating module, GXLIMODV, to the link pack area, which will make it available to all programs on the system. The size of the GXLIMODV module is ≥ 3 megabytes. Adding this module to LPA will reduce the size of the private area in every address space by this amount. If you have applications that do not use the validating parser that are already storage constrained, then the LPA approach may not be acceptable to your installation. For the exact size of GXLIMODV, run the AMBLIST utility.

If GXLIMODV is not installed into the link pack area, the application must load it into storage. In the non-CICS environment, the application can use the GXL*LOD APIs to load the validating parser into private storage. The load API should be done once per application instance, making validating parser available for use by the entire application. For more information on the load APIs, see gxlpLoad — load a z/OS XML function.

In the CICS® environment, if GXLIMODV is not in the link pack area, it can be loaded into the CICS private region by running the program list table (PLT) program, GXLINPLT at CICS start time or as a transaction program. For more information on setting up and running the CICS PLT program see Setting up and running the CICS PLT program. Loading GXLIMODV into CICS private will take up approximately 3 megabytes of private storage in each CICS region where the PLT program is run. If you are running many CICS regions on the same system, consider using the LPA approach to reduce real storage usage or paging. For size information of module GXLIMODV, which is installed in SYS1.SIEALNKE, use a utility such as AMBLIST.