Consultor Eletrônico



Kbase P129733: Batch script invoking prolog utility terminates before its completion
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   20/03/2008
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.x
Windows

SYMPTOM(s):

Batch script invoking prolog utility terminates before its completion

Batch script does run the prolog command, but then stops without warning

The same script runs without issues with Progress V9

CAUSE:

This is expected behavior because the prolog utility in OpenEdge 10.x was changed from an executable to a batch script.
Running an executable from a batch script resumes the batch script after completion of the executable. Running a batch script from a batch script stops after completing the batch script that has been started last. The other statements in the original batch script located after the batch script call will not be executed anymore.

FIX:

Modify the script to include:
CALL %DLC%\bin\prolog <db> <logfile>