Kbase 20425: Running OS-COMMAND with Webspeed
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  12/11/2007 |
|
Status: Unverified
FACT(s) (Environment):
Webspeed 2.1
Webspeed 3.0x
Webspeed 3.1x
SYMPTOM(s):
Msngr: Disconnecting with no header on WTA output web stream. <BR> (5814)
WebSpeed error from messenger process (6019)
OS-COMMAND does not support writing output data to the Web Server. (9210)
Errors are encountered when running a program through WebSpeed that runs the OS-COMMAND statement
In Webspeed 2.1/3.0x, agents terminate abnormally with errors 5814 and 6019.
In Webspeed 3.1, the agents do not run the command specified on the OS-COMMAND statement, unless an output device is defined. Error 9210 is displayed.
CAUSE:
The OS-COMMAND works differently when it runs on WebSpeed. User must define the output device for the OS-COMMAND because OS-COMMAND does not support writing output data to the Web server
FIX:
Define the output device using OUTPUT TO statement.
For example:
OUTPUT TO temp.tmp.
OS-COMMAND (cp file1 file2)
OUTPUT CLOSE.