Consultor Eletrônico



Kbase P117129: OS-COPY statement does not return error when target directory does not exist
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   03/07/2006
Status: Unverified

FACT(s) (Environment):

Progress 9.x
OpenEdge 10.x

SYMPTOM(s):

OS-COPY statement does not return error when target directory does not exist

CAUSE:

The OS-COPY statement does not, in itself, return an error message. Instead it sets the OS-ERROR function to a number indicating the results of the copy.

FIX:

Modify the application code so that the OS-ERROR function is tested for a non-zero result immediately after the OS-COPY statement is executed.