HELP: Platform dependent file allocation parameter TYPE: OBJECT SYNTAX: FALLOC(ORGANIZATION=SEQ/PS/LIB/PDS/USS/EDS/ESDS/KDS/KSDS/RDS/RRDS,BLKSIZE=num,RECFORMAT=NONE/BIN/TXT/TXT-ASA/TXT-MCC/DLM/DLM-ASA/DLM-MCC/VAR/VAR-ASA/VAR-MCC/FIX/FIX-ASA/FIX-MCC/VAR-REL/VAR-REL-ASA/VAR-REL-MCC/FIX-REL/FIX-REL-ASA/FIX-REL-MCC/F/FA/FM/FS/FSA/FSM/FB/FBA/FBM/FBS/FBSA/FBSM/FE/FEA/FEM/FK/FKA/FKM/FR/FRA/FRM/U/UA/UM/V/VA/VM/VS/VSA/VSM/VB/VBA/VBM/VBS/VBSA/VBSM/VE/VEA/VEM/VK/VKA/VKM/VR/VRA/VRM/ORG,RECLENGTH=num,KEYDISP=OLD/NEW/DEL,KEYPOSITION=num,KEYLENGTH=num,SUBSYSTEM(),SYSOUT(),SPACE(),LIKE='str',RENEW,PERFILE)
The file allocation object collects several parameters for platforms which are record oriented based on a catalog system like z/OS® and where the space, volume 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®.
But also on distributed platforms like (WIN, UNIX, MAC, ...) FLAM supports record oriented file types to keep the record information on such platforms. For this case the different record format for the open world can be defined. To read such a special file format on an open platform the correct record format must also be defined. On a catalog based system, this is not required. If the record format in the catalog are not the same as specified an error will occur.
The parameters of this object describe the PHYSICAL side: how the file or data set is created. RECFORMAT and RECLENGTH exist a second time at the write object itself (WRITE.RECORD, FIO.REC) and describe the LOGICAL side there: how the data is cut into records before it is handed to the file layer. Both lengths are net -- data only, without print control characters and without length fields.
The two sides are merged as follows:
Only the combinations that cannot work are refused, each with a message that names the parameter which resolves it:
An undefined physical record format (U) keeps no record boundaries. If the logical side is neither fixed nor carries a delimiter or a length field, a warning points to LENFORMAT and RECDELIM.
In the open world a file has no record format of its own, so only the logical side has an effect there; the physical one is kept for the allocation on a catalog based system. A logical record format given at the object also outranks the FL_RECORD_FORMAT_MAPPING environment variable, which only decides what an unstated shape becomes.
For WRITE.TEXT, WRITE.CHAR, WRITE.BINARY and WRITE.XML only this object exists, because the logical shape follows from the command: a text stream, a block or an XML stream.
When writing new files we recommend the dynamic allocation: FLAM works through the first block while opening, so it knows the size of the original and the expansion or compaction the data goes through, and derives the space specifications from both.
NUMBER: ORGANIZATION=SEQ/PS/LIB/PDS/USS/EDS/ESDS/KDS/KSDS/RDS/RRDS - File organization [SEQ]
SEQ - Sequential data set [DEFAULT]PS - Sequential data set [DEFAULT]LIB - Library (ZOS-PDSE)PDS - Partitioned data set (ZOS-PDS)USS - UNIX files (path based)EDS - Entry data set (VSAM-ESDS)ESDS - Entry data set (VSAM-ESDS)KDS - Keyed data set (VSAM-KSDS)KSDS - Keyed data set (VSAM-KSDS)RDS - Relative data set (VSAM-RRDS)RRDS - Relative data set (VSAM-RRDS)NUMBER: BLKSIZE=num - Block size [system]NUMBER: RECFORMAT=NONE/BIN/TXT/TXT-ASA/TXT-MCC/DLM/DLM-ASA/DLM-MCC/VAR/VAR-ASA/VAR-MCC/FIX/FIX-ASA/FIX-MCC/VAR-REL/VAR-REL-ASA/VAR-REL-MCC/FIX-REL/FIX-REL-ASA/FIX-REL-MCC/F/FA/FM/FS/FSA/FSM/FB/FBA/FBM/FBS/FBSA/FBSM/FE/FEA/FEM/FK/FKA/FKM/FR/FRA/FRM/U/UA/UM/V/VA/VM/VS/VSA/VSM/VB/VBA/VBM/VBS/VBSA/VBSM/VE/VEA/VEM/VK/VKA/VKM/VR/VRA/VRM/ORG - Record format [auto]
NONE - No format definedBIN - Open - Binary (undefined) data (only the last record are shorter then record length)TXT - Open - Text data with standard delimiter (result is a stripped variable length records)TXT-ASA - Open - Text data with standard delimiter and ASA byte in front (result variable length records with ASA attribute)TXT-MCC - Open - Text data with standard delimiter and MCC byte in front (result variable length records with MCC attribute)DLM - Open - Records separated by a special delimiter with the result of variable length recordsDLM-ASA - Open - ASA records separated by a special delimiter with the result of variable length recordsDLM-MCC - Open - MCC records separated by a special delimiter with the result of variable length recordsVAR - Open - Variable length record (if necessary define length format)VAR-ASA - Open - Variable length record with ASA print control character (if necessary define length format)VAR-MCC - Open - Variable length record with machine print control codes (if necessary define length format)FIX - Open - Fixed-length record (file size = N * record length)FIX-ASA - Open - Fixed-length record with ASA print control character (file size = N * (record length + 1))FIX-MCC - Open - Fixed-length record with machine print control codes (file size = N * (record length + 1))VAR-REL - Open - Variable relative record (if necessary define length format)VAR-REL-ASA - Open - Variable relative record with ASA print control character (if necessary define length format)VAR-REL-MCC - Open - Variable relative record with machine print control codes (if necessary define length format)FIX-REL - Open - Fix relative record (file size = N * (record length + 8))FIX-REL-ASA - Open - Fix relative record with ASA print control character (file size = N * (record length + 9))FIX-REL-MCC - Open - Fix relative record with machine print control codes (file size = N * (record length + 9))F - Host - Fixed-length, unblockedFA - Host - Fixed-length, unblocked, ASA print control charactersFM - Host - Fixed-length, unblocked, machine print control codesFS - Host - Fixed-length, standardFSA - Host - Fixed-length, standard, ASA print control charactersFSM - Host - Fixed-length, standard, machine print control codesFB - Host - Fixed-length, blockedFBA - Host - Fixed-length, blocked, ASA print control charactersFBM - Host - Fixed-length, blocked, machine print control codesFBS - Host - Fixed-length, blocked, standardFBSA - Host - Fixed-length, blocked, standard, ASA print control charactersFBSM - Host - Fixed-length, blocked, standard, machine print control codesFE - Host - Fixed-length, ESDSFEA - Host - Fixed-length, ESDS, ASA print control charactersFEM - Host - Fixed-length, ESDS, machine print control codesFK - Host - Fixed-length, KSDSFKA - Host - Fixed-length, KSDS, ASA print control charactersFKM - Host - Fixed-length, KSDS, machine print control codesFR - Host - Fixed-length, RRDSFRA - Host - Fixed-length, RRDS, ASA print control charactersFRM - Host - Fixed-length, RRDS, machine print control codesU - Host - Undefined-lengthUA - Host - Undefined-length, ASA print control charactersUM - Host - Undefined-length, machine print control codesV - Host - VariableVA - Host - Variable, ASA print control charactersVM - Host - Variable, machine print control codesVS - Host - Variable, spannedVSA - Host - Variable, spanned, ASA print control charactersVSM - Host - Variable, spanned, machine print control codesVB - Host - Variable, blockedVBA - Host - Variable, blocked, ASA print control charactersVBM - Host - Variable, blocked, machine print control codesVBS - Host - Variable, blocked, spannedVBSA - Host - Variable, blocked, spanned, ASA print control charactersVBSM - Host - Variable, blocked, spanned, machine print control codesVE - Host - Variable, ESDSVEA - Host - Variable, ESDS, ASA print control charactersVEM - Host - Variable, ESDS, machine print control codesVK - Host - Variable, KSDSVKA - Host - Variable, KSDS, ASA print control charactersVKM - Host - Variable, KSDS, machine print control codesVR - Host - Variable, RRDSVRA - Host - Variable, RRDS, ASA print control charactersVRM - Host - Variable, RRDS, machine print control codesORG - Use original record format as default (like none)NUMBER: RECLENGTH=num - Record length (data only, no print control and length fields)NUMBER: KEYDISP=OLD/NEW/DEL - Key disposition for index/key sequential data sets [OLD]
OLD - Key disposition OLD (keep the existing key)NEW - Key disposition NEW (insert record number as key)DEL - Key disposition DEL (delete key from record)NUMBER: KEYPOSITION=num - Key position (>=1) for index/key sequential data sets [1]NUMBER: KEYLENGTH=num - Key length (>=1) for index/key sequential data sets [8]STRING: LIKE='str' - Specifies the name of the model data set from which the attributes are to be copiedSWITCH: RENEW - Enforce new allocation by a remove of an existing fileSWITCH: PERFILE - Enforce processing per file in directory walk [OFF] (prevent append handling)