Kbase P14052: Steps to replace a modified procedure in the adecomm r-code
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  02/02/2003 |
|
Status: Unverified
GOAL:
What are the steps to compile and replace a modified version of the _osprint.p in the adecomm library?
FIX:
Following is a step-by-step procedure to replace a newly modified ·_osprint.p· procedure in the adecomm.pl r-code library. It is assumed that the PROLIB.EXE utility is in the DOS PATH.
A similar procedure may be used to replace any newly compiled 4GL procedure in its r-code library. For detailed information on using the Progress PROLIB Library Utility, refer to the Progress Client Deployment Guide.
1. From the DOS command line, change directory to the Progress Working directory:
CD D:\PROGRESS\Wrk91b
2. Create a new subdirectory named adecomm:
MD adecomm
4. Change directory to the newly created ·D:\PROGRESS\Wrk91b\ adecomm· directory:
CD adecomm
5. Get a copy of the ·_osprint.p· source file from its adecomm SOURCE library:
PROLIB "d:\DLC\src\adecomm.pl" -yank adecomm\_osprint.p
6. Modify the ·d:\progress\wrk91b\adecomm\_osprint.p· procedure as desired and save it using the Progress Procedure Editor
7. Compile and generate the r-code of the modified ·_osprint.p· procedure by running the following 4GL statement in the Progress Procedure Editor:
COMPILE "d:\progress\wrk91b\adecomm\_osprint.p" SAVE.
8. Finally, replace the existing ·_osprint.r· version in its adecomm R-CODE library with the new version by executing the following from the DOS command line from the working directory "D:\PROGRESS\Wrk91b":
PROLIB "d:\DLC\gui\adecomm.pl" -replace adecomm\_osprint.r