Kbase 16098: Run results from editor gives error - "#!/bin/sh". (247)
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
Run results from editor gives error - "#!/bin/sh". (247)
If you type "RUN results" into the procedure editor (or
include the statement in your application), Progress is smart
enough to run as if you entered "RUN results.p". This syntax
WILL NOT WORK if Progress encounters a file called "results"
before it encounters a "results.r" or "results.p".
There is a script in the DLC/BIN directory called "results".
It is the script that allows you to run results from the
command line by typing "results dbname" instead of typing
"pro -p results.p dbname". If Progress finds this script
first, it will try to run it.
If you want to use the syntax "RUN results" in your
application, you must make certain that $DLCRES is before
DLC/BIN in your path and propath. If DLC/BIN is first,
progress will try to run the results shell script as if it
was a progress .p. If you do not want to modify your
propath, you will have to change your syntax to read "RUN
results.p".
You would see errors simular to the following"
** Unable to understand after -- "#!/bin/sh". (247)
** Invalid statement. (254)
** /rdl/73/dlc/bin/results Could not understand line 1. (198)
** Unable to understand after -- "pro". (247)
Progress Software Technical Support Note # 16098