Microsoft KB Archive/42552
LINK /F /PACKCODE May Cause .EXE to Hang at Run Time
PSS ID Number: Q42552 Article last modified on 04-20-1993
3.00 3.00a | 3.00 3.00a MS-DOS | OS/2
|The information in this article applies to:|
|- Microsoft COBOL for MS-DOS and OS/2, versions 3.0 and 3.0a|
Summary: The “Microsoft COBOL Utilities” manual for Versions 3.0 and 3.0A Page 23 states that you should LINK with the /F and /PAC (PACKCODE) option to achieve significant .EXE size and speed results. This combination of LINKer options may cause programs to hang the system at run time. Below is an example of one such program.
More information: The “Microsoft COBOL Utilities” manual is documentation for the general set of utilities that comes with all the Microsoft professional development languages. Since these utilities are provided with several different languages, not all options are recommend for each language. Code Example: WORKING-STORAGE SECTION. 01 S1 PIC X. PROCEDURE DIVISION. PERFORM GETKEY UNTIL S1 =“Q”. STOP RUN. GETKEY. CALL X“83” USING S1. DISPLAY “CHARACTER :” AT 2001.
Additional reference words: 3.00 3.00a Copyright Microsoft Corporation 1993.