Purpose
Assign a value contained in a literal or variable field to either a work field or a CA Culprit reserved field.
MOVE operations transfer information to a work field or to the CA Culprit reserved fields PAGE and ARGn. CONVERT operations convert an alphanumeric value to a numeric value stored in a work field.
Syntax
►►─┬─ Move ─┬─ literal ───────────────┬───┬─ to ─┬─ result-field-name ─┬──────►◄ │ └─ field-name-expression ─┘ │ ├─ ARGn ──────────────┤ └─ CONVERT ─┬─ literal ───────────────┬┘ └─ PAGE ──────────────┘ └─ field-name-expression ─┘
Syntax Rules
Specifies that a MOVE operation is to be performed. Literal/field-name-expression identifies the value to be moved; syntax and syntax rules for coding field-name-expression appear in User-Defined Variables earlier in this chapter.
The following considerations apply to alphanumeric and numeric values; CA Culprit treats hexadecimal values as alphanumeric:
Note: For more information, see the CA Culprit for CA IDMS Messages and Codes Guide.
PROFILE parameter options RELEASE=5 and RELEASE=6 do not handle situations that involve different numbers of characters or decimal positions in the same manner. See Error! Reference source not found., for a complete discussion of these differences.
Specifies that a CONVERT operation is to be performed.
Literal/field-name-expression identifies an alphanumeric literal, work field, or input field whose value is to be converted into a numeric value. Syntax and syntax rules for coding field-name-expression appear in User-Defined Variables.
Considerations for coding literal appear below:
When an integer alphanumeric value is converted into an integer numeric value, the result is truncated or padded on the left. If a decimal point is specified for the alphanumeric value or the numeric value, the following occurs:
Note: For more information, see the CA Culprit for CA IDMS Messages and Codes Guide.
The name of a work field that receives the result of the MOVE or CONVERT operation.
In a MOVE operation, the data type of a sending field or literal must be compatible with the data type of the result field; that is, both fields must be defined as numeric or as alphanumeric. Hexadecimal literals are treated as alphanumeric values for the purposes of a MOVE operation.
In a CONVERT operation, the data type of the result field must be numeric.
A CA Culprit reserved word that passes information to a user procedure module.
N must be an integer in the range 1 through 9. ARGn is valid only for MOVE operations and can appear only on type 7 process parameters.
Note: For more information on user procedure modules, see the CA Culprit for CA IDMS User Modules Guide.
A system-defined numeric work field that receives a report page number.
This reserved word is valid only for MOVE operations and can appear only on type 8 process parameters. When PAGE is used in a MOVE operation, the report page number is reset. The specified value plus 1 is printed as the next page number. The value of PAGE can be printed on each page of the associated report on either the title line or a header line if PAGE is referenced on a type 4 edit parameter.
|
Copyright © 2014 CA.
All rights reserved.
|
|