This function is used to close a spool file that was opened with SplQmOpen.
#define INCL_SPL #include <OS2.H> HSPL hspl; /* spooler handle. */ SplQmClose(hspl);