FLAM version 1

FLAM version 1 consisted of two batch utilities called FLKOMP and FLDECO for compressing and decompressing files. With FLAM version 2, these were replaced by the batch utility called FLAM. The FLAM utility in turn uses FLAMUP and so that FLAM1 customers do not have to adapt their jobs here, FLKOMP and FLDECO were reimplemented against the new FLAMUP so that the old syntax is still available here.

With FLAM version 5, the syntax of the old FLAM utility was largely mapped to the new FLAM command of the FLCL, which is also available via the FLAM4 utility. For FLKOMP and FLDECO, no conversions of the old command syntax were introduced here.

Therefore, here is a short instruction on how to transfer the old FLKOMP and FLDECO calls to FLAM4 or FLCL. Here is an example call of FLKOMP.

//COMP1 EXEC PGM=FLKOMP,PARM=' PARAM MAXB=2,END'

Firstly, the PARAM and END specifications must be omitted. Furthermore, FLKOMP and FLDECO work with the DD names INPUT and OUTPUT instead of FLAMIN and FLAMOUT, which may have to be adapted or you have to set INDD=INPUT and OUTDD=OUTPUT if you work with the FLAM4 utility and the old syntax from FLAM2 onwards.

A FLKOMP in as FLCL call via the CONV command of FLCL would look like this:

FLCOMP: READ.RECORD(FILE='DD:INPUT') WRITE.FLAM()
FLDECO: READ.FLAM() WRITE.RECORD(FILE='DD:OUTPUT)

If you work with FLAMIN and FLAMOUT as DD names, this is simplified even more:

FLCOMP: READ.RECORD() WRITE.FLAM()
FLDECO: READ.FLAM() WRITE.RECORD()

But even today, FLKOMP and FLDECO are still included in the delivery of FLAM and can still be used.