CL script overview

<< Click to Display Table of Contents >>

Navigation:  User guide > Introduction >

CL script overview

A list of command language commands which tells CL how to process the data, which tables to produce, how to format the output and so on is called a CL script or  "setup". Scripts are held on disk in files which you create and modify with a line editor (or word processor in non-document or ASCII mode).

Parts of a CL script can put into separate files and the PP *INSERT command used to include them where appropriate.

This chapter describes the basic requirements for a CL script. Also explained are the stages of execution that the CL script will control, and the steps used in processing them.

The following file extensions should now be used for CL script files:

.stpx for the main CL script  which contains the control stage.

.stp for [*insert] CL scripts.

.stpn for scripts with no preprocessor commands included.

 

For more information please see the following sections:

Character set

Script lines

Commands

Stages

Steps

Running a script