COMTRAN Reconstruction

J28-6169 · January 1962

02.04.04

PDF page 21 of 221. Download the scanned PDF

The page as scanned

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

The text read off it

[02.04.04]

d) Subroutines are normally used to perform the requisite conversion and transmission except where arrows have associated an *. These moves are normally performed by in-line instructions.

e) For the source fields of the scientific decimal type, a free form of data is allowed within the limits of the field. For example, a field with the pictorial -99V-99 may contain the value 1 in any of the following ways, (b represents a space):

b.01b2b        (i.e.   01 x 10^2)
1bb+01b        (note above scale applies when no point)
.001bb3
b1bbbbb        (note above scale applies when no point)
1000.-3
etc.

4. CORRESPONDING Option with MOVE and ADD

Correspondence is determined at the lowest possible level on the basis of name only. All qualifiers must be present and identical through the level of the name itself to meet the criteria of correspondence. Note, however, that the resultant MOVE or ADD may be affected since the rules governing these commands are the same whether or not the CORRESPONDING option is exercised. Consider the command

MOVE CORRESPONDING DATA.1 to DATA.2.

a) Where the data with associated levels are

DATA.1          01      DATA.2          04
  GROUP         02        GROUP         05
    ITEM        03          ITEM        06
      FIELD.1   04            FIELD.1   08
      FIELD.2   04            FIELD.2   08

correspondence would be found at FIELD.1 and FIELD.2 level, and instructions would be generated to

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

b) Where the data with associated levels are

DATA.1          01      DATA.2          01
  GROUP         02
    ITEM        03          ITEM        03
      FIELD.1   04            FIELD.1   04
      FIELD.2   04            FIELD.2   04

no fields would be found to correspond due to the absence of the qualifier GROUP in DATA.2.

c) Where the data with associated levels are

DATA.1          05      DATA.2          01
  GROUP         06        GROUP         02
    ITEM        07          ITEM        03
      FIELD.1   08
      FIELD.2   08