KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q48869: Long TMP Environment Variable Causes L1089

Article: Q48869
Product(s): See article
Version(s): 5.03   | 5.03
Operating System(s): MS-DOS | OS/2
Keyword(s): ENDUSER | h_fortran | mspl13_basic
Last Modified: 6-DEC-1989

L1089 occurs when the LINK Utility Version 5.03 is called from FORTRAN
Version 5.00 and the TMP environment variable is set to a long
pathname.

Normal troubleshooting indicates that the TMP variable is corrupt, but
this is not the case. It seems that the temporary filename is being
truncated.

The following sequence produces the error if the subdirectory
D:\COMPILER\FORTRAN5\TMP\ already exists:

SET TMP=d:\compiler\fortran5\tmp
fl sieve.for

LINK : fatal error L1089: D:\COMPILER\FORTRAN5\TMP\000054l
: cannot open response file

This problem occurs in FORTRAN 5.00 and Link 5.03.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.