CALLFH

Makes the Compiler generate direct calls for all file I/O operations, using the Callable File Handler interface.

Syntax:
>>-.---.--.------CALLFH--"handler-name"--.--><
   +-/-+  +------CALLFH------------------+
Parameters:
handler-name Root-name of a program to be called to act as the file handler. One of:
EXTFH The file handler supplied with this COBOL system
FHREDIR For use with Fileshare Version 2
fhname Name of your own file handler
Properties:
Default: CALLFH"EXTFH" (DIALECT DIALECT
Phase: Syntax check
$SET: Initial
Comments:

When CALLFH is specified, all file I/O statements are converted to calls to the file handler specified by the directive.

If handler-name is not specified, the module Extfh is assumed.

This directive is also used to direct all file handling calls through converter modules, to make use of non-COBOL file handlers.

Use this directive to make your programs call your file handler instead of the standard File Handler.

See Also: