You can make explicit calls to the Callable File Handler from your program using the following syntax:
call "EXTFH" using opcode fcd
where the parameters are:
Parameter | Description |
---|---|
"EXTFH" | The module name of the File Handler interface. |
opcode | A File Handler operation code. See the section Operation Codes. |
fcd | The data area, known as the FCD (File Control Description) which is used by the File Handler to hold details of the file being accessed. See the section Data Structures. |
Before the first call, you must follow these steps:
You must then follow these steps for each File Handler operation: