Kbase P4830: OS-COMMAND Fails Silently When Trying To Run PRORB.EXE
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  15/10/2008 |
|
Status: Verified
FACT(s) (Environment):
Progress 9.1x
SYMPTOM(s):
Trying to invoke prorb.exe via OS-COMMAND
OS-COMMAND fails silently
The SEARCH() function is being used to find the full location of the prorb.exe executable
CAUSE:
Assumption was being made that the SEARCH() function will return an empty string if the file is not found.
FIX:
The SEARCH() function returns the Progress unknown value (i.e. ?) when the file cannot be found on the propath. Modify the source code so that it checks the the return value from the SEARCH() function being equal to ? and if it is invoke whatever logic is required to deal with the fact that prorb.exe cannot be found.