#### INRECFORMAT

#### Synopsis

    HELP:   Record format of the original file
    TYPE:   NUMBER
    SYNTAX: INRECFORMAT/IRECFORM/IRECFMT/IRECFM/IRECF=EAF/FIX/DTEXT/TEXT/STREAM/VARIABLE/UNDEFINED/U/F/FIXBLK/FB/V/VARBLK/VB/FIXS/FBS/VARSPAN/VBS/VAR_2B/VAR2B_DATA/VAR_4B/VAR_ASCII/VAR_EBCDIC

#### Description

This parameter specifies the record format of the original input file. The data is read from the input file in the form of logical records with the specified format in order to save them compressed or uncompressed in the FLAMFILE.

Syntax:

- z/OS
  - `IRECFM=F/V/U/FB/VB/VBS/FBS`
  - `IRECFORM=FIX/VAR/UNDEF/FIXBLK/VARBLK/VARSPAN/FIXS`
  - `IRECF=FIX/VAR/UNDEF/FIXBLK/VARBLK/VARSPAN/FIXS`
    - Note: This parameter is not necessary for catalogued files in z/OS.
- UNIX
  - `-inrecformat=eaf/fix/stream/undefined/variable/var_2B/var2b_data/var_4b/var_ascii/var_ebcdic`
- WINDOWS
  - inrecformat=fix / dtext / text / variable / var_2b / var_4b / var_ascii / var_ebcdic / undefined
  - inrecf=fix / dtext / text / variable / var_2b / var_4b / var_ascii / var_ebcdic / undefined

Values

- z/OS
  - `F/FIX` - Fixed record length
  - `V/VAR` - Variable record length
  - `U/UNDEF` - Undefined record length
  - `FB/FIXBLK` - Fix blocked
  - `VB/VARBLK` - Variable blocked
  - `VBS/VARSPAN` - Variable spanned
  - `FBS/FIXS` - Fix standard
- UNIX
  - `eaf` - EAF data, variable record size with a 4-byte size field in ASCII or EBCDIC code. The record size only specifies the length of the data excluding the size field. The size field is part of the data.
  - `fix` - Fixed record size as set by -inrecsize.
  - `stream` - Variable record size (max. 2048 characters) with record delimiter. Typically text data.
  - `undefined` - Records with no defined structure; records of an identical size are read (with the possible exception of the last one).
  - `variable` - Variable record size with 2-byte binary record size (including length field).
  - `var_2b` - Variable record size with 2-byte binary record size (including length field).
  - `var2b_data` - Variable record size with 2-byte binary record size (not including length field).
  - `var_4b` - Variable record size with 4-byte binary record size (including length field) (host).
  - `var_ascii` - Variable record size with 4-byte size field in ASCII code (including length field).
  - `var_ebcdic` - Variable record size with 4-byte size field in EBCDIC code (including length field).
- WINDOWS
  - `fix` - fixed record length inrecsize
  - `dtext` - variable record length with input record delimiter, last record without delimiter.
  - `text` - variable record length with input record delimiter
  - `variable` - variable record length with a binary record length of 2 bytes.
  - `var_2b` - variable record length with a binary record length of 2 bytes.
  - `var_4b` - variable record length with a binary record length of 4 bytes (host: length of 2 bytes, padding is ignored).
  - `var_ascii` - variable record length with a length field of 4 bytes in ASCII code.
  - `var_ebcdic` - variable record length with a length field of 4 bytes in EBCDIC code.
  - `undefined` - records without structure; records with the length inrecsize are read, last record may be shorter.

Default

- z/OS
  - `FB/FIXBLK`
- UNIX
  - none
- WINDOWS
  - none

Valid for

- compression

#### Selections

- `EAF - EAF data, variable record size with a 4-byte size field in ASCII or EBCDIC code. The record size only specifies the length of the data excluding the size field. The size field is part of the data`
- `FIX - Fixed record length (in/out)recsize`
- `DTEXT - Variable record length with end-of-record characters, last record without delimiter`
- `TEXT - Variable record length with end-of-record characters`
- `STREAM - Variable record size (max. 2048 characters) with record delimiter. Typically text data`
- `VARIABLE - Variable record size with 2-byte binary record size (including length field)`
- `UNDEFINED - Records without structure; records with the length inrecsize are read, last record may be shorter`
- `U - Undefined (Host only)`
- `F - Fix (Host only)`
- `FIXBLK - Fix blocked (Host only)`
- `FB - Fix blocked (Host only)`
- `V - Variable (Host only)`
- `VARBLK - Variable blocked (Host only)`
- `VB - Variable blocked (Host only)`
- `FIXS - Fix standard (Host only)`
- `FBS - Fix standard (Host only)`
- `VARSPAN - Variable spanned (Host only)`
- `VBS - Variable spanned (Host only)`
- `VAR_2B - Variable record size with 2-byte binary record size (including length field)`
- `VAR2B_DATA - Variable record size with 2-byte binary record size (not including length field)`
- `VAR_4B - Variable record size with 4-byte binary record size (including length field) (host)`
- `VAR_ASCII - Variable record size with 4-byte size field in ASCII code (including length field)`
- `VAR_EBCDIC - Variable record size with 4-byte size field in EBCDIC code (including length field)`