Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/38120

From BetaArchive Wiki

LINK Error L2029 “Unresolved External” with CALL X“94”

PSS ID Number: Q38120 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 program below, after a successful compile in COBOL versions 3.0 or 3.0a, produces the following LINK error: TEST.OBJ(TEST) : error L2029 : "_FCAL9" : unresolved external Microsoft has confirmed this to be a problem in versions 3.0 and 3.0a. This problem was corrected in Microsoft COBOL Professional Development System version 4.0 for MS-DOS and MS OS/2. The program will compile and run successfully in the COBOL Animator.

Code Example

Compile and LINK with the default directives: WORKING-STORAGE SECTION. 01 MYSEGMENT PIC 9(4) VALUE 2. 01 MYOFFSET PIC 9(4) VALUE 2. 01 MYDATAVALUE PIC XX. PROCEDURE DIVISION. * The problem occurs with both CALL X“94” and CALL X“95”: CALL X“94” USING MYSEGMENT, MYOFFSET, MYDATAVALUE. DISPLAY MYDATAVALUE. STOP RUN.

Additional reference words: 3.00 3.00a Copyright Microsoft Corporation 1993.