Skip to main content

This article explains how to compile a source file with XML preprocessor, EHTML preprocessor, with copies files.

Problem:

If we use the XML preprocessor and EHML preprocessor and the first line of the source file is:

123456$set preprocess(htmlpp) stephtml preprocess(prexml)

The following error message is displayed:

40 copy "initxml.cpy".* 803-S***************** ( 0)**** Integrated preprocessor message** CP0202 Copybook "initxml.cpy" not found

What should we do?

Resolution:

The solution is to use the CP preprocessor. In this case the syntax of the first line is:

123456$set preprocess(htmlpp) stephtml p(cp) endp preprocess(prexml)

Old KB# 14902