Previous Topic: =MACRO ParameterNext Topic: =CHANGE Clause


=DROP Clause

Purpose

Eliminates one or more of the following CA Culprit parameters from inline and copied code:

INPUT parameters

REC parameters

SORT parameters

OUTPUT parameters

Title parameters

Edit parameters

Process parameters

Work field parameters

Syntax

      Col
      1
      ▼
►►─── =DROP ─┬─────────────┬──┬────────────────────────┬──────────────────────►
             └┬─ INput ───┬┘  │ ┌────────────────────┐ │
              └─ FilCard ─┘   └─▼─ REC = field-name ─┴─┘

 ►─┬───────────────────────────────────────┬─┬──────────────────────────────┬─►◄
   │ ┌───────────────────────────────────┐ │ │ ┌──────────────────────────┐ │
   └─▼─ Type = ─┬ id ───────────────────┬┴─┘ └─▼─ Cnst = work-field-name ─┴─┘
                └ ( start-idend-id ) ─┘

Syntax Rules

=DROP

Identifies an =DROP clause. Within each =MACRO parameter, =DROP clauses are processed before any =CHANGE clauses.

INPUT

Eliminates an INPUT parameter in copied or inline code. The user must supply an alternative INPUT parameter before the =MACRO parameter.

REC = field-name

A keyword expression that eliminates the REC parameter that defines the specified field in copied or inline code. Field-name must be specified as it appears on the REC parameter.

TYPE =

A keyword expression that suppresses delivery of all parameters that contain the specified parameter ID or that fall within the range of specified parameter ids, as follows:

id

Specifies a valid CA Culprit parameter type, as follows:

Each inline or copied parameter, starting with column 4, is compared to the value of id for the length of id. When a match occurs, the inline or copied parameter is eliminated.

Note: If a process parameter with a sequence number is dropped, any process parameters that immediately follow and that do not specify sequence numbers are also dropped.

start-id, end-id

Specifies a range of edit or process parameters, enclosed in parentheses. The length of both values must be the same. A comma or at least one space must separate the two range values.

Each inline or copied parameter, starting with column 4, is compared with the range of values for the length of a range value. If the inline or copied parameter falls within the range of values inclusive, the parameter is eliminated.

CNST = work-field-name

A keyword expression that suppresses delivery of the specified work field defined on a work field parameter or on an implied subscript parameter. Other field names defined on the same work field parameter are retained.

Usage

The following coding considerations apply to the =DROP clause: