COMTRAN Reconstruction

J28-6169 · January 1962

02.07.08

PDF page 59 of 221. Download the scanned PDF

The page as scanned

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

The text read off it

[02.07.08]

b) FILE record.name IN file.name

This form of the verb provides a means of filing a record in a specific file when the record.name is associated with several output files.

2. Miscellaneous Considerations

a) In using either form of the FILE command the record.name must be associated in the Environment Description with the name(s) of the file(s) into which it is to be filed.

b) If a file has not been OPENed or has been CLOSEd when a FILE command is encountered at execution time, the command acts as a NOP. No error message is given.

E. Variable Length Record Options

The options described for manipulation of variable length records are specified on the Environment FILE card for each record to which they pertain. They may be elected selectively when only the GET record.name form of the GET command is used to obtain records in the file; the options must be specified for all records if the GET RECORD FROM file.name form is used.

1. Non-standard Variable Length Input Records

Facilities are provided for handling variable length input records not preceded on tape by the standard control word in either one of two ways:

a) By use of the FIND LENGTH IN data.name option

If the length of a non-standard variable length record is already available in storage at the time the record is to be obtained, its location in storage may be indicated to the I/O system through use of this option.

b) By use of the BLOCK CONTROL Option

If the length of a non-standard variable length record is always equal to the size of the block in which it appears, this characteristic is specified by the BLOCK CONTROL option.

The PLACE LENGTH IN data.name option requests that the length of the record obtained be placed in the specified data.name after completion of the GET command. The data.name is not required to be in the record referenced. This option may be used with either of the above two options.