Multiple choice technology programming languages

Given a full procedural, externally-described input file named ORDER with a record length of 41 bytes, which of the following is a valid format for the File specification for the ORDER file?

  1. A. FORDER IF E DISK

  2. B. FORDER IPE F 41 DISK

  3. C. FORDER IF E 41 DISK

  4. D. FORDER IF F DISK

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

For externally-described input files in IBM i, the F-spec format uses IF (Input file, Externally-described). The record length is defined in the external file description, not in the F-spec, so no length parameter is needed. Option C includes an unnecessary 41 byte parameter, and option D incorrectly uses F (fixed-length) instead of E (externally-described).