FLAM4

Synopsis

HELP:   Write records to a FLAM4FILE
TYPE:   OBJECT
SYNTAX: FLAM4(NET.{},FILE='str',MEMBER='str',REMOVE,REMAIN,APPEND,NOPATH,SPACE(),CMPMODE=CX7/CX8/VR8/ADC/NDC,ENCMODE=OFF/AES/FLAMENC,SPLIT.{},CLIMIT=num,ORGANIZATION=SEQ/PS/EDS/ESDS/KDS/KSDS/RDS/RRDS/LDS,RECFORMAT=VAR/FIX/UND/TXT/DLM/VB/FB/V2B-XBE/V4B-XBE/V4A-ICL/V4E-ICL/V2B-ILE/V2B-IBE/V4B-IBE,RECLENGTH=num,ORGLENGTH=num,KEYPOSITION=num,KEYLENGTH=num,COMMENT='str',PASSWORD/CRYPTOKEY='bin'/DEFAULT,KMLIBRARY='str',KMFUNCTION='str',KMPARAMETER='bin',CCSID='str'/DEFAULT/ASCII/EBCDIC/SYSTEM/LOCAL,CASE=UPPER/LOWER/FOLD/SUPPER/SLOWER/USRTAB,BOM,KEPBOM,CHRMODE=STOP/IGNORE/SUBSTITUTE/IDENTITY/TRANSLIT,SUBCHAR[num/SYSTEM...],SYSTABLE=ICONV,USRTABLE='str'/NPAS/SEPA/DELA/DLAX,ONEMAP,COMBINED=NFD/NFC/AUTO/ON/OFF,REPORTFILE='str'/STDOUT/STDERR,LANG='str',PLATFORM=WIN/UNX/ZOS/USS/VSE/BS2/MAC,OWNER='str',ENVID='str',HASH(),SIGNATURE.{},INDSIZ=num,INDCHR=SPACE/TABULATOR,NOCMNT,NOMKDIR,TABLE(),ATTRIB(),AVSCAN(),PREPROCESS[()...],POSTPROCESS/PSTPRO[()...],LARGER,BLK2REC)

Description

Writing with FLAM4 formats a list of elements into records and writes these records to a FLAMFILE of version 4 or older. If such a record is marked as text, a character set conversion from UTF-8 to the provided CCSID is done. If data elements are large blocks, then the result of the conversion is wrapped into records of the provided length or the default fixed length of 32,752 bytes.

During character conversion, the following options are supported:

For the FLAMFILE archive, the following options are supported:

The default member name is the name of the original file from the read operation. You can change this by defining a mapping rule for the member name. The block mode is always set to blocked, which means no unblocked FLAMFILEs can be generated. All the original file attributes are set to the right values in the file header automatically. User I/O as well as pre- and post- processing exits are not supported. If these features are really required, the extended variant (XCNV/XDCO) of this command should be used.

If the data to be written consists of table elements and the 'TABLE' object is not specified or with no further formatting (i.e. TABLE()), then the original record in system representation without header 'TABLE(FORMAT=ORG DEFAULTS(SYSTEM,NOHDLN))' is written. Character conversion is done on a per-element basis. There is no report file or BOM support if table formatting is used. Use the 'TABLE' object to reformat the table.

Arguments