Previous Topic: Process ParameterNext Topic: Overview of Arithmetic Operations


Process Operations

Types of Operation

Four major types of instructions can be coded on process parameters, as follows:

Each type of process operation is discussed separately below. The following table identifies CA Culprit keywords associated with process operations and summarizes their function.

Process Operation

Keyword Command

Action

Arithmetic

ADD

Adds

 

MINUS

Subtracts

 

TIMES

Multiplies

 

DIVIDE

Divides

 

COMPUTE

Performs a compound arithmetic operation

Conditional

IF

Performs a compound test operation

 

EOF

Tests for an end-of-file condition

 

B

Performs an unconditional branch

Assignment

MOVE

Transfers a value to another field

 

CONVERT

Converts an alphanumeric value to a numeric value

Control

PERFORM

Performs an unconditional branch

 

RETURN

Returns to point of branch specified on a PERFORM statement

 

CALL

Calls an external procedure module

 

PICK

Selects edit lines for extracting or printing

 

UNPICK

Deselects edit lines for extracting or printing

 

TAKE

Prints selected edit lines; processing for the report ceases

 

RELS

Prints selected edit lines; processing for the report continues

 

DROP

Does not print selected edit lines; processing for the report ceases