Previous Topic: User-supplied ConstantNext Topic: Process Operations


Process Parameter

Purpose

Specifies arithmetic, conditional, assignment, and control operations.

The first seven columns on a process parameter follow a fixed format. Process operations coded in column 8 or later follow a free format.

Because several options exist for coding process parameters, only the syntax associated with the fixed portion of the parameter is discussed in detail here. Syntax associated with arithmetic, conditional, assignment, and control operations is discussed under Process Operations.

Syntax

      Col
      2
      ▼
►►─── nn ─┬┬─ 7 ─┬┬─┬────────────┬─ process-operation ────────────────────────►◄
          │└─ I ─┘│ └─ sequence ─┘
          └┬─ 8 ─┬┘
           └─ B ─┘

Syntax Rules

nn

Identifies the report associated with the process parameter. Nn must be a 2-digit number in the range 00 through 99 and must be coded starting in column 2.

7

A single character coded in column 4 to indicate input processing; alternatively, I (input) can be used.

Input processing is performed during the extract phase. Logic defined on type 7 parameters is executed each time a record or group of records is delivered to the input buffer.

Type 7 parameters are used for such functions as eliminating records from further processing in a specific report and performing arithmetic operations on input fields.

8

A single character coded in column 4 to indicate break processing; alternatively, B (break) can be used. Break processing is performed during the output phase. Logic defined on type 8 parameters is executed when a control break is encountered.

Type 8 parameters are used for such functions as checking the control-break level, selecting a literal for use as a label in a total line, and manipulating system-maintained totals of extracted items.

sequence

Defines the order of this procedure statement relative to other process parameters of the same type. Sequence is a 1- to 3-digit right-justified number coded in columns 5 through 7. Leading zeros can be omitted. If a sequence number is not specified, columns 5 through 7 must be blank.

Sequence numbers are optional unless they are needed to indicate the object of a conditional or control operation. Process parameters without sequence numbers must be entered in the order in which they are to execute.

In the parameter sort phase, CA Culprit sorts the process parameters in order of ascending sequence number. Unsequenced process parameters that immediately follow a sequenced process parameter maintain their position relative to the sequenced process parameter.

process-operation

A value or keyword that indicates an arithmetic, conditional, assignment, or control operation.

Syntax and rules for process operations within these categories are presented under Process Operations.

More information:

Introduction

Output Definition Parameters