Consultor Eletrônico



Kbase 18146: AS/400 INPUT FROM OS-DIR Works Fine On Native 4GL
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   22/06/2004
Status: Unverified

FACT(s) (Environment):

Progress 8.2

SYMPTOM(s):

Progress 8.2 documentation states that the INPUT FROM statements are only valid for NT and UNIX platforms.

The Progress 8.0 manuals do not state this constaint for the Progress/400 Native 4GL client

FIX:

It has been verified that INPUT FROM works fine using Native 4GL on an AS/400 database, and even using the OS-DIR clause.

For example, this procedure works fine:


DEFINE VARIABLE a AS CHARACTER FORMAT "X(40)" NO-UNDO.
OUTPUT TO PRINTER.
INPUT FROM OS-DIR(".").
REPEAT:
IMPORT a.
    DISPLAY a.
END.
INPUT CLOSE.
OUTPUT CLOSE.