#### SPACE

#### Synopsis

    HELP:   Space parameter for FLAMFILE allocation (mainframes only)
    TYPE:   OBJECT
    SYNTAX: SPACE(PRIMARY=num,SECONDARY=num,VOLSER='str',VOLUNIT='str',DATACLASS='str',MGMTCLASS='str',STORCLASS='str',DISPSTATUS=NEW/SHR/MOD/OLD,NORMALDISP=CATALOG/CATLG/DELETE/KEEP/UNCATALOG/UNCATLG,ABORTDISP=CATALOG/CATLG/DELETE/KEEP/UNCATALOG/UNCATLG)

#### Description

The FLAM4 file space allocation object collects several parameters for platforms where the cylinders or tracks, volume, classes and other things must be predefined.

The supported parameters are platform dependent. Only parameters relevant for a certain platform are used. This way its possible to store files on special volumes, units, and with SMS-classes without any JCL usage on z/OS®.

All size values must be given in megabytes (MiB). The calculation in the platform-dependent units (tracks, cylinders, ...) are done internally. NOTE: 1 MiB = 1024 KiB = 1024*1024 Byte

#### Arguments

- `NUMBER: PRIMARY=num - Primary size in megabytes`
- `NUMBER: SECONDARY=num - Secondary size in megabytes`
- `STRING: VOLSER='str' - Volume serial number`
- `STRING: VOLUNIT='str' - Volume unit`
- `STRING: DATACLASS='str' - Data class`
- `STRING: MGMTCLASS='str' - Management class`
- `STRING: STORCLASS='str' - Storage class`
- `NUMBER: DISPSTATUS=NEW/SHR/MOD/OLD - Disposition status`
  - `NEW - Disposition status NEW (brand new file)`
  - `SHR - Disposition status SHR (read exiting file)`
  - `MOD - Disposition status MOD (append/modify file)`
  - `OLD - Disposition status OLD (overwrite existing file)`
- `NUMBER: NORMALDISP=CATALOG/CATLG/DELETE/KEEP/UNCATALOG/UNCATLG - Close disposition for normal end`
  - `CATALOG - Close disposition catalog`
  - `CATLG - Close disposition catalog`
  - `DELETE - Close disposition delete`
  - `KEEP - Close disposition keep`
  - `UNCATALOG - Close disposition uncatalog`
  - `UNCATLG - Close disposition uncatalog`
- `NUMBER: ABORTDISP=CATALOG/CATLG/DELETE/KEEP/UNCATALOG/UNCATLG - Close disposition for abnormal end`
  - `CATALOG - Close disposition catalog`
  - `CATLG - Close disposition catalog`
  - `DELETE - Close disposition delete`
  - `KEEP - Close disposition keep`
  - `UNCATALOG - Close disposition uncatalog`
  - `UNCATLG - Close disposition uncatalog`