Commands

<< Click to Display Table of Contents >>

Navigation:  User guide > Introduction >

Commands

The basic unit of CL script is the command. A command is a character string containing a CL command language keyword together with any information needed for the keyword. All commands must be terminated by a comma. Commands may be of any length. Limits may apply to the number of items that may appear in a command but you may use as many characters as necessary to build the definition. A command may begin anywhere on a CL script line and may continue for as many lines as necessary; any number of commands may appear on the same line. Commands that continue over more than one line may be split anywhere and there is no "continuation character".

Care should be taken when splitting a command over more than one line when the split is to take place inside text (between quotes). We recommend that such a split should be made between output lines (with an output line terminator appearing at the end of the CL script line). If this is inconvenient, then the split should be made between words, CL will supply the blank space between the words.