Previous Topic Next topic Print topic


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
ACUFH
Offers limited access to RM, Vision and database files (see Comments)
FHREDIR
For use with Fileshare Version 2
fhname
Name of your own file handler

Properties:

Default: CALLFH"EXTFH" (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 parameter.

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.

Previous Topic Next topic Print topic