Consultor Eletrônico



Kbase 17743: Procedure Editor cannot open file
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
Procedure Editor cannot open file

DRAFT COPY - Currently under review and edit.

INTRODUCTION:
=============
Procedure Editor may be unable to open a file on a Windows or MS-DOS s
ystem.


PROGRESS ERROR NUMBER: ERROR TEXT: TYPE:
====================== ================================== =========
None The file may be too large to open


POSSIBLE CAUSE OF ERROR:
========================

The system must have a TMP environment variable set and that must
point to a valid subdirectory. For instance, in Windows 95 you must
add the following to AUTOEXEC.BAT:

SET TMP=C:\TEMP

Make sure that there is a \TEMP subdirectory on the C: drive.

In Windows NT, the method of setting environment variables is;
Select START
Select SETTINGS
Select CONTROL PANEL
Select SYSTEM
Click on the ENVIRONMENT tab
Click in either SYSTEM VARIABLES or USER VARIABLES (System Variable
is probably bes
t)
In the VARIABLE field type: TMP
In the VALUE field type: C:\TEMP or any other valid subdirectory
Click on SET (this often gets overlooked)
Click on OK.

The reason for the problem is that when the Procedure Editor opens an
existing file, it creates a back up copy in the temporary subdirectory

as specified by the TMP environment variable. This back up copy is
used in case the user aborts out of the Procedure Editor or otherwise
disappears abruptly. The back up copy is then restored to the stored
file. If the TMP environment variable has not been specified or if it
points to an invalid subdirectory name, the creation of the back up
copy aborts and the error of "cannot open file, file may be too large
to open" is displayed.

Progress Software Technical Support Note # 17743