COMTRAN Reconstruction

J28-6169 · January 1962

02.04.05

PDF page 22 of 221. Download the scanned PDF

The page as scanned

The scan of PDF page 22 of J28-6169
Select the scan to open it at full size.

The text read off it

[02.04.05]

correspondence would be determined at the ITEM level, and an attempt would be made to generate the instructions to

MOVE DATA.1 GROUP ITEM TO DATA.2 GROUP ITEM.

Since the field DATA.1 GROUP ITEM has sub-fields, it has no format characteristics of its own and is assumed to be alphameric. If DATA.2 GROUP ITEM is a field into which alphameric information may not be legally moved, an error will be noted.

Data items referenced in a MOVE or ADD CORRESPONDING clause may be subscripted. The compiler simply appends the designated subscript to the generated instructions. For example, if in example a) above the command had been

MOVE CORRESPONDING DATA.1 TO DATA.2 (I)

and appropriate quantity values had been supplied in the Data Description the generated instructions would now be

MOVE DATA.1 GROUP ITEM FIELD.1 TO DATA.2 GROUP ITEM FIELD.1(I)
MOVE DATA.1 GROUP ITEM FIELD.2 TO DATA.2 GROUP ITEM FIELD.2(I)

5. CALL

The (old.name) in a CALL statement must be unique and may not be subscripted. This requirement is met if the (old.name) appears only once in the Data Description or if sufficient qualifiers are used to identify it uniquely. The use of record.names should be avoided in CALL statements.

6. SET

The operands of a SET instruction which are used in an arithmetic expression may be fields of any format except alphameric (the result field may be alphameric, however, and a statement of the form SET alpha.field.1 = alpha.field.2 is allowed since no arithmetic expression is specified). Appropriate conversion is performed in all cases although arithmetic operations are considerably less efficient when performed on fields having dissimilar formats. Generally, fields frequently referenced in arithmetic expressions should be converted to internal form right justified for most efficient operation.

a) Mode of Expression Evaluation

The 709/7090 Commercial Translator System allows single or double precision arithmetic in either the floating or fixed point modes. Floating point arithmetic is the 709/7090 floating binary arithmetic. Fixed point arithmetic is a binary integer arithmetic with decimal scaling.