Kbase P24682: Batch file appears not to execute the 4GL SET statement prop
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  13/05/2003 |
|
Status: Unverified
FACT(s) (Environment):
Progress 8.3E
FACT(s) (Environment):
HP-UX 11.0 32-bit
SYMPTOM(s):
Batch file appears not to execute the 4GL SET statement properly.
Starting a batch job using script like:
nohup mbpro -p settest.p <infile.txt >outfile.txt
Only the first message "about to do set command" is displayed to the outfile.txt:
def var batch_name as char no-undo.
message 'about to do set command' .
set batch_name with no-box no-label no-error.
message 'you are in - ' batch_name.
CAUSE:
External input should be redirected diretly to the _progres executable.
FIX:
Use:
nohup _progres -b -p settest.p <infile.txt >outfile.txt