Consultor Eletrônico



Kbase P22351: Does Progress change the OS ErrorLevel environment variable ?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

Does Progress change the OS ErrorLevel environment variable ?

FACT(s) (Environment):

Windows

FIX:

Yes, Progress change the operating system ErrorLevel environment variable.
ErrorLevel is dictated by exit C function calls.
In general ErrorLevel = 0 ( i.e. exit(0) call ) means normal exit.
Anything different than 0 ( exit(1), exit(2) etc ) means abnormal exit.
Now 9.1D clients do not end when db is down, just session is restarted so
there is no exit() call.
If there are any corelations between exit(int) C calls and
event causing these calls only a C developer can tell you and hopefully
one of them will get back to you.