Calling IFS API

You can call the IFS API from an ILE COBOL program. The IFS API should be checked to ensure whether operational descriptors are needed in the COBOL program or not. If needed, the operational descriptors should be specified in the SPECIAL-NAMES paragraph.

Figure 80 is an example of a call to IFS API:

Figure 80. Calling IFS API
SPECIAL NAMES.
	LINKAGE TYPE PROCEDURE FOR "open" USING ALL DESCRIBED.


 ... more declaration and procedure statements

	CALL "open" USING ...