COMTRAN Reconstruction

J28-6169 · January 1962

02.04.06

PDF page 24 of 221. Download the scanned PDF

The page as scanned

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

The text read off it

[02.04.06]

7. GET and FILE

For discussion of these two verbs, refer to section 02.07.

8. CLOSE ALL FILES

This command causes each open file to be closed in accordance with the close options exercised on the Loader *SPEC card. Section 03.02 describes the options as they appear on the *SPEC card which may be supplied by the programmer or generated by the Compiler from an Environment SPECIF card (Section 02.07). In the absence of specification, closing includes a rewind and unload of the unit.

Files closed by this form of the CLOSE command may not be subsequently reopened by the program.

9. STOP RUN

A STOP RUN instruction must be included in each program to provide for transfer of control to the CT Supervisor at conclusion of execution of the object program. All open files are closed prior to this transfer of control as if a CLOSE ALL FILES had been supplied.

C. Conditional Statements

  1. Comparisons may not be made between numeric and alphameric fields. If ABC is described as three position alphameric field (AAA) and DEF as a three position numeric field (999) the following IF statement represents an invalid comparison:
IF ABC = DEF THEN ---

The implied or explicit specification of DEF as an external decimal field does not affect the validity of the comparison.