COMTRAN Reconstruction

J28-6169 · January 1962

02.07.09

PDF page 60 of 221. Download the scanned PDF

The page as scanned

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

The text read off it

[02.07.09]

2. Variable Length Output Records

a) NO CONTROL WORD

This option when associated with the name of a variable length record on the Environment FILE card, instructs the system to suppress generation and output of the standard control word for the record.

b) FIND LENGTH IN data.name

Specification of this option notifies the system that when the record is filed its length is to be taken from the data.name specified rather than calculated on the basis of the length of the fields of the record. The data.name specified need not necessarily be in the referenced record. This option may be specified whether or not standard control words are to be prepared.

c) PLACE LENGTH IN data.name

This option instructs the system that prior to filing the record referenced, the length of the record is to be placed in the location, data.name, which is not required to be in the record.

3. Use of the Options with Fixed Length Records

For special purposes, the programmer may employ in connection with a fixed length record any of the variable length record options explained above. NO CONTROL WORD will produce no effect.

F. Examples of Usage

1. Example 1

a) Statement of problem

i. File consists of records of three fixed lengths:

REC1 -  64 words
REC2 - 128 words
REC3 - 192 words

ii. The exact order in which records appear on tape is unknown.

iii. Block size is specified as 256 words (BLOCKSIZE 256).