Consultor Eletrônico



Kbase P15104: Error 3268 in batch mode (-b), program is using INPUT FROM or INPUT THROUGH
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   16/10/2008
Status: Unverified

SYMPTOM(s):

Running program in batch mode with the -b parameter

Cannot WAIT-FOR input from a stream. (3268)

The program uses INPUT FROM or INPUT THROUGH.

CAUSE:

The stream opened via the INPUT statement is not closed before the program flows returns to the main WAIT-FOR.

FIX:

Make sure that the stream opened with INPUT FROM or INPUT THOUGH is closed with the appropriate INPUT CLOSE statememt. For example:

DEF VAR whatever AS CHARACTER.

INPUT THROUGH x.sh NO-ECHO.
IMPORT UNFORMATTED whatever.
INPUT CLOSE.
...
WAIT-FOR ....