CL

Synopsis

HELP:   One comment entry to re-insert (repeatable)
TYPE:   OBJECT
SYNTAX: CL[(ROW=num,IB,CB='str',CS='str',CE='str',IE)...]

Description

A CL entry describes one comment to be re-inserted into the output stream on the write side of CNVCMT.

ROW -- target output record number; the comment is written before record ROW+1. ROW=0 means before the very first output record.

IB -- Inline Begin: when YES, the comment-begin marker CB is appended directly to the end of record ROW without inserting a newline.

CB -- comment-begin marker (required, e.g. '#', '//', '/*').

CS -- comment body; raw text written between CB and CE. Use n inside a CLP string to encode newlines in multi-line block comments.

CE -- comment-end marker. Leave empty ('') for line comments.

IE -- Inline End: when YES, no newline is emitted after CE; the next output record follows immediately on the same line.

CL entries are typically generated automatically by the SIDEFILE option on the read side. The sidefile is a valid CLP parameter file that can be passed directly to the write side.

Multiple CL entries with the same ROW are written in definition order. Entries with IB=NO are written as complete lines before the ROW+1 record. Entries with IB=YES are appended to record ROW itself.

Arguments