Some application programming languages offer commands for opening and closing
KSAM files (for example, the ORGANIZATION IS INDEXED clause in COBOL).
If not, use the HPFOPEN or FOPEN intrinsic to open the file,
and the FCLOSE intrinsic to close the file. See the appropriate
application language reference manual for details on how to call intrinsics.