Stages

<< Click to Display Table of Contents >>

Navigation:  User guide > Introduction >

Stages

A CL script consists of one or more stages:

Control Stage.        Every CL script must begin with a control stage, and there must be only one in the CL script

Data Stage.        Only one Data Stage is allowed in a CL script, and this must immediately follow the control stage

Tables Stage.        As many Tables Stages as required may be used

Manip Stage.        As many Manip Stages as required may be used

Print Stage.        Only one Print Stage is allowed, it must be the last stage in the CL script

There may be up to 100 Stages altogether in a single CL script.

Scripts can be split into partial scripts where each partial CL script contains a Control Stage and at least one other stage. Each partial CL script can then be compiled and executed separately.  CL scripts can refer to Intermediate Data Files (.IDF) and Intermediate Tables Files (.ITF) produced by earlier scripts.

Each stage begins with a START command and ends with a FINISH command.

The majority of the syntax is identical in all stages. For example a variable definition which combines two earlier variables will be the same in any stage.

For more information on stages please see the following:

Control stage

Data stage

Tables stage

Manip stage

Print stage

Split scripts