PASSRCD (Passed Record) keyword for display files

Use this file-level keyword to specify the record format to be used by the i5/OS™ operating system when unformatted data is passed to your program by another program.

The passed data is processed only if your program's first request after file open is an input operation without a record format name. The data must be processed according to this record format.

The format of the keyword is:
PASSRCD(record-format-name)
The record-format-name is a required parameter value for this keyword and must exist in the file. The following keywords cannot be specified on the record format:

ALWROL
CLRL
SLNO

Option indicators are not valid for this keyword.

Example

The following example shows how to specify the PASSRCD keyword.

|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8
00010A                                      PASSRCD(RECKEEP)
00020A          R RECORD
     A