Kbase P17408: Using PROLIB to get a copy of a procedure from its source co
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/2/2003 |
|
Status: Unverified
GOAL:
Where is the _getfile.p procedure?
FACT(s) (Environment):
Windows
FIX:
The _getfile.p is a utility procedure to simplify calling the SYSTEM-DIALOG GET-FILE Statement.
A compiled version of this procedure is located in the directory named adecomm (ADE COMMon set of utilities).
The source code of this procedure is located in the "%DLC%\src\adecomm.pl" source procedure library.
The following example demonstrates the use of the PROLIB.EXE utility to access the source code of the _getfile.p procedure.
The same steps may be used to access the source code of any source library procedure.
All the commands are entered and executed at the operating system (OS) command level:
1. Set the DLC and the PATH environment variables to make both the PROLIB.EXE utility and the adecomm.pl source library accessible from the current working directory C:\WRK:
C:\WRK> SET DLC=C:\Progress
C:\WRK> SET PATH=%DLC%;%DLC%\bin;%PATH%
2. List the contents of the adecomm.pl source code library:
C:\ WRK> PROLIB "%DLC%\src\adecomm.pl" ·list
3. Copy the file _getfile.p into the current working directory (in this case into the "C:\ WRK>"):
C:\ WRK> PROLIB "%DLC%\src\adecomm.pl" -yank adecomm\_getfile.p
4. Copy the file _getfile.p into the same directory as its library (in this case into the "%DLC%\src"):
C:\ WRK> PROLIB "%DLC%\src\adecomm.pl" -extract adecomm\_getfile.p
For detailed description on the Progress PROLIB.EXE library utility, see the section entitled "Using the PROLIB Utility" in the "Progress Client Deployment Guide".