O Set/Modify Display of record start

Normally, records of a file with RECFORM=V are displayed by CFS as from the first byte after the 4 digit record length field. The Offset command O can be used to change this standard value fot the file currently being displayed.

O [x] n Column +/-n will be used in future as the logical beginning of record.

x + | - (Standard: +)

n 0 - 999

O 0 The display offset is reset to the default value.

Examples:

O-4

All records of a RECFORM=V file, including the record length field, will be displayed. Entering C1 (Column 1) is this case refers to the beginning of the record length field, and not to the beginning of the data.

Using the command S,:1:>X'0054' after entering the O-4 command, all records containing more than 80 data bytes (record length >80 + 4) can be sought.

O+8

The key of an ISAM file with KEYPOS=5,KEYLEN=8 is not displayed. Entering C1 (Column 1) will refer to the first position following the ISAM key, and not to the start of the key, as is normally the case.