Consultor Eletrônico



Kbase P54756: Using INPUT-OUTPUT THROUGH for a shell script followed by ru
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   18/11/2003
Status: Unverified

FACT(s) (Environment):

Progress 9.1x

FACT(s) (Environment):

Sun Solaris SPARC

SYMPTOM(s):

Using INPUT-OUTPUT THROUGH with a shell script

Subsequently runs an external .p which displays data using the DISPLAY statement

SYSTEM ERROR: Memory Violation (49)

CAUSE:

The DISPLAY statement in the external .p is causing the error 49 because after the program returns to the caller we are unable to get the handle of the previously forked process.

FIX:

Although the error 49 is a bug, this can easily be worked around (until the bug is fixed) by defining a NEW SHARED STREAM and using it for doing I/O to the subprocess.