FLAM

Synopsis

HELP:   Flam4 utility command
TYPE:   OBJECT
SYNTAX: > flam4 FLAM(NETINP.{},NETOUT.{},COMPRESS/C,DECOMPRESS/UNCOMPRESS/D,REMAIN,APPEND/ADD,FLAMFILE/FL['str'/STREAM/DUMMY...],MEMBER/MEM='str',FLAMIN/FLAMI['str'/STREAM/DUMMY...],FLAMOUT/FLAMO='str'/STREAM/DUMMY,OUTPATH/OPATH='str',MODE/MO/CMPMODE=CX7/CX8/VR8/ADC/NDC/AES/FLAMENC,NDC,CRYPTOMODE/CRYMODE/ENCMODE/CRYPTMODE/CRYPTOM=OFF/AES/FLAMENC,CRYPTOKEY/CRYPTKEY/CRYPTOK='bin',PASSWORD/PASSW='bin',PAASCII='bin-ascii',PAEBCDIC='bin-ebcdic',PAXWORD='bin-hex',PARFILE/PARF/PAFILE/PARAMETER_FILE='str',PARDDN/PADDN/PARD='str',RECDELIM/RECDEL/RECD='bin-hex',RECFORMAT/RECFORM/RECFMT/RECFM/RECF=FIX/F/VAR/V/TEXT/STREAM/UNDEFINED/UNDEF/U/FIXBLK/FB/FIXS/FBS/VARBLK/VB/VARSPAN/VBS,RECSIZE/MAXSIZE/MAXS=num,INRECDELIM/IRECDEL/IRECD/IREC='bin-hex',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,INRECSIZE/IRECSIZE/IRECS=num,OUTRECDELIM/ORECDEL/ORECD/ORECDELIM/OUTDELIM/ORDELIM='bin-hex',OUTRECFORMAT/ORECFORM/ORECFMT/ORECFM/ORECF=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,OUTRECSIZE/ORECSIZE/ORECS/ORSIZE/OUTSIZE=num,BLKSIZE/BLKS=num,IBLKSIZE/INBLKSIZE/IBLOCKSIZE/INBLOCKSIZE/IBLK=num,OBLKSIZE/OUTBLOCKSIZE/OBLOCKSIZE/OBLK=num,ATTRIBUTES=NONE/COMMON/ALL,OPTION=CUT/NOCUT/SUPPRESS/NOSUPPRESS,CUT/TRUNCATE/TRU[=YES/NO],NOCUT/NOTRUNCATE,SUPPRESS,NOSUPPRESS,PADCHAR/PAD_CHAR/PAD='bin-hex',TRIMCHAR='bin-hex',MAXBUFFER/MAXB=num,MAXRECORDS/MAXR=num,FLAMCODE/FLAMC=SYSTEM/ASCII/EBCDIC,KMDLL/KMLIB/KMELIB='str',KMEXIT/KMEEXIT/KMEFUC/KME/KMFUNC='str',KMPARAMETER/KMEPAR/KMPARM/KMP='bin',HEADER/HE=YES/NO,COMMENT/COMM/LABEL='str',MSGFILE/LOGFILE/MSGF='str',SECUREINFO/SEC=YES/NO/IGNORE/MEMBER,MSGDISP/MSGD=TERMINAL/MSGFILE/SYSTEM,SHOW/SH=ALL/DIR/ATTRIBUTE/ERROR/NONE,INFO/I=YES/NO/HOLD,CHECKALL/CHECKA,CHECKFAST/CHECKF,HELP/LIST,FILEINFO/FI=YES/NO,CODETABLE='str',TRANSLATE/TRA='str'/E/A/A/E/NONE,NOPATH,CLIMIT/CLI=num,IPRCNTRL=DETACH/RETAIN/ERASE/REPLACE,IRPLFFD/IRP=num,OPRCNTRL=DETACH/RETAIN/ERASE/REPLACE,ORPLFFD/ORP=num,NOMKDIR/NOM,EXK10/EXK1='str',EXK20/EXK2='str',EXD10/EXD1='str',EXD20/EXD2='str',SPACE1=num,SPACE2=num,OSPACE1=num,OSPACE2=num,UNIT='str',OUNIT='str',STORCLASS/STORCLAS/STORC='str',OSTORCLASS/OSTORCLAS/OSTORC='str',VOLUME/VOL='str',OVOLUME/OVOL='str',DATACLASS/DATAC='str',ODATACLASS/ODATACLAS/ODATAC='str',MGMTCLASS/MGMTCLAS/MGMTC='str',OMGMTCLASS/OMGMTCLAS/OMGMTC='str',DSORG/DS/FCBTYPE=SEQ/PS/EDS/ESDS/KDS/KSDS/RDS/RRDS/LDS,IDSORG/IFCBTYPE=SEQ/PS/LIB/PDS/USS/EDS/ESDS/KDS/KSDS/RDS/RRDS,ODSORG/ODSO=SEQ/PS/LIB/PDS/USS/EDS/ESDS/KDS/KSDS/RDS/RRDS,ICLOSDISP/ICLO=REWIND/UNLOAD/LEAVE,CLOSDISP/CLO=REWIND/UNLOAD/LEAVE,OCLOSDISP/OCLO=REWIND/UNLOAD/LEAVE,DISPS=NEW/SHR/MOD/OLD,DISPN/DISPNORMAL=CATALOG/CATLG/DELETE/KEEP/UNCATALOG/UNCATLG,DISPA/DISPABNORMAL=CATALOG/CATLG/DELETE/KEEP/UNCATALOG/UNCATLG,ODISPS=NEW/SHR/MOD/OLD,ODISPN/ODISPNORMAL=CATALOG/CATLG/DELETE/KEEP/UNCATALOG/UNCATLG,ODISPA/ODISPABNORMAL=CATALOG/CATLG/DELETE/KEEP/UNCATALOG/UNCATLG,KEYDISP/KEYD=OLD/NEW/DEL,KEYLENGTH/KEYLEN/KEYL=num,OKEYPOSITION/OKEYPOS/OKEYP=num,OKEYLENGTH/OKEYL=num,ORGKEYPOS/ORGKEYPO/ORGKEYP=num,ORGKEYLEN/ORGKEYL=num,IKEYPOSITION/IKEYPOS/IKEYP=num,IKEYLENGTH/IKEYLEN/IKEYL=num,DEVICE/DEV=FILE/DISK/TAPE/FLOPPY/STREAMER/USER,IDEVICE/IDEV=FILE/DISK/TAPE/FLOPPY/STREAMER/USER,ODEVICE/ODEV=FILE/DISK/TAPE/FLOPPY/STREAMER/USER,SPLITMODE/SPLITM=NONE/SERIAL/PARALLEL,SPLITNUMBER/SPLITN=num,SPLITSIZE/SPLITS=num,FLAMDDN/FLAMD='str',IDDN['str'...],ODDN='str',MSGDDN/MSGDD='str',REMOVE/DELETE/INDELETE/IDELETE,FROM='str'/DEFAULT/ASCII/EBCDIC/BOMUTF/BOMUCS/SYSTEM/LOCAL,CHRMODE/SUBMODE=STOP/IGNORE/SUBSTITUTE/IDENTITY/TRANSLIT,TO='str'/DEFAULT/ASCII/EBCDIC/SYSTEM/LOCAL,LARGER,DIR(),LOG(),NORUN)

Description

The FLAM command can be used to compress or decompress individual files or groups of files either interactively or by means of procedures. The compress or decompress parameter specifies which operation is to be performed. All the information necessary to execute the command can be specified in the form of inputs made directly on the command line, in a parameter file or as installation-specific default values.

The FLAM command is backward-compatible with the FLAM4 utility and designed to work with FLAM4 archives, also called FLAMFILEs. There are a few differences to the old FLAM4 utility:

If the FLAM command is specified with the 'list' parameter, a list of the currently active settings of the default values is displayed; they can be modified by the system manager using the '-defaults' parameter.

The FLAM command permits a separate FLAMFILE to be created from each original file (this requires input name mapping, which is differs to FLAM4). It is also possible to compress a group of original files into one FLAMFILE.

The input files which are to be (de)compressed can either be specified by their fully qualified name or by patterns with wildcards. Output filenames can be explicit or generated by substitution rules.

When decompressing, by default a file is to be restored with its original name and attributes.

With the exception of the '-list' and '-defaults' parameters, there are equivalent FLAM parameters for all the elements of the command syntax, so that each setting can be entered either directly in the command line or in a parameter file which is referred to in the command by the parameter parfile=parameter file. Using a parameter file permits complicated keyboard inputs to be avoided, for example if settings which differ from the installed default values are required frequently.

The following features are supported:

If the FLAM command is not sufficient, you can use the CONV command which supports FLAMFILEs and other compression formats and provide various conversion and formatting modes. FLAM and CONV parameter are not identical.

To get syntax information, please use:

   flam4 SYNTAX FLAM

To get help for a parameter, please use:

   flam4 HELP FLAM.parameter[.parameter[...]]

To read the manual page for a parameter, please use:

   flam4 MANPAGE FLAM.parameter[.parameter[...]]
      or
   flam4 HELP FLAM.parameter[.parameter[...]] MAN

To generate the user manual for the command, please use:

   flam4 GENDOCU FLAM=filename

Parameters can be defined via command line (directly or through a parameter file) or via properties taken from the corresponding property file.

Example

For the FLAM4 utility the command name 'flam' is default and can be omitted. The FLCL utility has no default command, in this case the command name 'FLAM' must be defined.

   flam4 FLAM comp flamin=swift.txt flamfile=swift.fla inrecformat=stream

Reads file in record format stream (usual text), compresses with default compression mode ADC, writes FLAMFILE.

   flam4 FLAM deco flamfile=swift.fla flamout=swift.txt outrecformat=stream

Reads and decompresses FLAMFILE, writes output file in record format stream.

Arguments