You are here: Available Utilities > F > FAP2CFA

FAP2CFA

Use the FAP2CFA utility to convert a FAP file into a compiled FAP file. By pre-compiling your FAP files, you can speed processing.

Note The version of the system you use to compile the FAP and FXR files must be the same version you will use when running Documaker Server. Furthermore, the platforms must also match. For instance, if you compile the FAP and FXR files on version 11.0 for Windows, to use them in Documaker Server (GenTrn, GenData, GenPrint), you must run version 11.0 for Windows of Documaker Server.

Program names

Syntax

FAP2CFAW /I /O /INI /F

Parameter

Description

/I

The input FAP file or font cross-reference (FXR) file (you can use asterisks as wildcards).

/O

The output CFA or CFX file. You can enter an absolute (d:\dap\myinc\mstrres\fap) or relative path (..\mstrres\fap).

/INI

Specifies an INI file which contains additional parameters. You can enter an absolute (d:\dap\myinc\mstrres\fap) or relative path (..\mstrres\fap).

/F

Include this option to create a compiled font cross-reference (FXR) file which contains only fonts.

This utility lets you compile FAP files one at a time. To compile all of the FAP files listed in a FORM.DAT file, see FDT2CFA. To convert a CFA or CFX file back into a FAP or FXR file. see CFA2FAP.

Make sure the CompiledFAP option is set to Yes (the default) in the RunMode control group of your INI files before you run the system using precompiled FAP files. In addition, use the File, Library Setup option (or edit your INI files) to specify the path for CompLib, which is where the system will look for the compiled files. In your INI files, you will find this setting in the following control group:

< MasterResource >

CompLib = (library which contains the CFA and CFX files)

For z/OS systems, you can specify a DD name, such as DD:COMPLIB()

Note If you are using pre-compiled FAP files, you must also use compiled FXR files.

If you enter this command...

The result is a compiled FAP file named...

FAP2CFAW /I=qaihead

qaihead.cfa

FAP2CFAW /I=qaihead /o=qaihead1

qaihead1.cfa

FAP2CFAW /I=cwqa240.fxr /f

cwqa240.cfx

FAP2CFAW /I=cwqa240 /f

cwqa240.cfx

FAP2CFAW /I=qaihead.old

qaihead.cfa

FAP2CFAW /I=..\faps\qaihead

qaihead.cfa, located in the ..\fap subdirectory