Problem:
When building web pages the resulting page on the client side has Net Express comments included which bloats the html size. These comments look like <!--/*MF NetExpress embedded COBOL begin*/>.
Resolution:
In eht02n40 of the all08n40 Net Express 4.0 WrapPack, a new preprocessor flag (NOCGICOMMENT) has been added to optionally ignore the MF comments being inserted into the HTML sources at runtime. This means that pages output by the COBOL CGI program will not include the comments (you can check by viewing the html source from a browser), but the source in the project will have them. Below is a description of the flag:
CGICOMMENT
Causes the preprocessor to insert Micro Focus specific comments into the output HTML
codes.
Syntax:
>>-.---.-.----.--CGICOMMENT----------------><
-/- -NO-
Parameters:
None
Properties:
Default: CGICOMMENT
Phase: Syntax check
$SET: Initial
Example of $SET statement if you don't want comments:
$set preprocess(htmlpp) nocgicomment endp