Describing field use for logical files

 

You can specify that the fields in a logical file be input-only, both (input/output), or neither fields.

To describe field use for a logical file, specify one of the following items in position 38:

Entry

Meaning

Blank

For simple or multiple format logical files, defaults to B (both) For join logical files, defaults to I (input only).

B

Both input and output allowed; not valid for join logical files.

I

Input only (read only).

N

Neither input nor output; valid only for join logical files.

The usage value (in position 38) is not used on a reference function. When another file refers to a field (using a REF or REFFLD keyword) in a logical file, the usage value is not copied into that file.

 

Parent topic:

Describing logical file record formats