Previous Topic: Conditional OperationsNext Topic: Control Operations


Assignment Operations

Purpose

Assignment operations assign a value contained in a literal or variable field to either a work field or a CA Culprit reserved field.

Syntax

►►─┬─ Move ─┬─ literal ───────────────┬───┬─ to ─┬─ result-field-name ─┬──────►◄
   │        └─ field-name-expression ─┘   │      ├─ ARGn ──────────────┤
   └─ CONVERT ─┬─ literal ───────────────┬┘      └─ PAGE ──────────────┘
               └─ field-name-expression ─┘

Syntax Rules

MOVE

Specifies that a MOVE operation is to be performed.

field-name-expression

With a MOVE, the following reserved words can replace field-name-expression in the syntax:

PATH-ID

REC-NAME

IDMS-STATUS

LR-STATUS

DBKEY

DBKEY-PAGE

DBKEY-LINE

DBKEY-ALPHA

TABLE-ID

TABLE-NAME

SUBSCHEMA-NAME

CONVERT

Specifies that a CONVERT operation is to be performed.

field-name-expression

With CONVERT, the following reserved words can replace field-name-expression in the syntax:

Used in MOVE operations to pass arguments to the DB-EXIT facility, which is described in detail in Appendix L, The DB-EXIT Facility.

ARGn is a reserved word, where n is an integer in the range 1 through 9.

More information:

Database Field Name References