Consultor Eletrônico



Kbase P104999: How to replace a .r file in a standard procedure library?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   6/3/2005
Status: Unverified

GOAL:

How to replace a .r file in a standard procedure library?

FIX:

Use the Prolib -replace parameter to replace a .r file in a standard procedure library. Note that the file name needs to be located in a directory path that is identical to the directory path of the file in the library. For example, to replace the _lodsddl.r procedure in the %DLC%\tty\prodict.pl library, list the procedure to know the exact directory structure of the procedure in the library:
prolib %DLC%\tty\prodict.pl -list *lodsddl.r
The result of the above listing will look like:
Listing of library 'C:\Progress\OpenEdge\tty\prodict.pl'
Library code page is undefined. (4309)
Library format is STANDARD. (9013)
Name Size Type Offset Modified Added To Lib
prodict/dump/_lodsddl.r 227611 R 1263912 04/18/05 09:09:30 04/18/05 09:10:05
Total of 227611 bytes in 1 files
Since the absolute path file name is "prodict/dump/_lodsddl.r ", create a mirror directory structure to put the replacement file in. To do that, create a subdirectory of the working directory named 'prodict' and a subdirectory of this 'prodict' directory named 'dump' and place the replacement file '_lodsddl.r ' in the dump subdirectory and execute the command:
prolib %DLC%\tty\prodict.pl -replace prodict/dump/_lodsddl.r