Compile the programs using the COBOL32 command as shown below. You need not add the -I option if you have copied the libraries (COBW3.cbl, ISAPIINF.cbl, ISAPICTX.cbl, and ISAPIFLG.cbl) to be used by the ISAPI Subroutines in the folder that stores the sample. Note that the COBOL installation folder is assumed to be "C:\COBOL".
COBOL32-IC:\COBOL -WC,"ALPHAL(WORD),THREAD(MULTI)" ISAINIT.cob COBOL32-IC:\COBOL -WC,"ALPHAL(WORD),THREAD(MULTI)" ISAMAIN.cob COBOL32-IC:\COBOL -WC,"ALPHAL(WORD),THREAD(MULTI)" ISATERM.cob