Kbase 20737: Error 5200 when executing the OS-COMMAND or DOS statements through the Progress 4GL editor
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  07/07/2008 |
|
Status: Verified
SYMPTOM(s):
Error 5200 when executing the OS-COMMAND or DOS statements through the Progress 4GL editor
The system environment 'COMSPEC' is not set correctly. (5200)
FACT(s) (Environment):
Windows
Progress 9.x
OpenEdge 10.x
CAUSE:
In order to use OS-COMMAND statements from the 4GL Procedure Editor, "COMSPEC" environment variable must be set to a valid/compatible COMMAND.COM. Once the environment variable has been set, the DOS or OS-COMMAND statements can be executed through the 4GL.
Review Solution P11290, "Debugging why COMSPEC variable cannot be found".
However, there are times where the variable COMSPEC does not set, and it's necessary to take a closer look at the network logon scripts (for example, userlogon or systemlogon) that are being set. When logging into the system, do not login into the network. If the OSCOMMAND or DOS statements work, the issue is related to incompatible command.com files being invoked/referenced.
FIX:
Change and/or remove the COMSPEC variable set at the network level.