Command Stage COMMAND.OUT is not giving expected result
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 22
- Joined: Thu Jul 29, 2004 8:10 am
Command Stage COMMAND.OUT is not giving expected result
Hi
As per the help in Command Stage, if i select "Output to link" option in Output General tab, it should send the output from the command (OS Command or BASIC Command) as the second column on the output link. This COMMAND.OUTPUT column holds the output of the command execution.
I gave a simple echo test command to execute, but nothing is being written in the output. Can anyone let me know why this is happening?
Thanks & Regards,
Ahmed.
As per the help in Command Stage, if i select "Output to link" option in Output General tab, it should send the output from the command (OS Command or BASIC Command) as the second column on the output link. This COMMAND.OUTPUT column holds the output of the command execution.
I gave a simple echo test command to execute, but nothing is being written in the output. Can anyone let me know why this is happening?
Thanks & Regards,
Ahmed.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 22
- Joined: Thu Jul 29, 2004 8:10 am
-
- Premium Member
- Posts: 483
- Joined: Thu Jun 12, 2003 4:47 pm
- Location: St. Louis, Missouri USA
Hi Ahmed,
I am just starting with DS but I gave this one a shot to experiment too.
I just tested it on 7.5 on a w2k machine with OS cmd echo. either test or hello string are output to the log but not to an output file. The file has an empty string as the data content, the first field contain a 0 confirming that the command executed ok. OS exec is required otherwise using TCL we receive I also tested that echo was on by default by opening a dos window and typing echo hello or echo "hello" both hello and "hello" were echoed.I tried sttting on and off the 'disabble echo to log' option to see if there was impact on the output link and there was none.
I scrutinized both the online help and the Technical bulletin on the command stage and saw nothing to explain this.
I also noticed the 'output to file' option located on the stage general tab and specified a file for the output (in addition to the sequential file where my output link is going to) then the output from my echo command (that is only commandOUT and not the commandRTN) is going to that file. may be that could workaround the problem ?!
Hope this can help
I am just starting with DS but I gave this one a shot to experiment too.
I just tested it on 7.5 on a w2k machine with OS cmd echo. either test or hello string are output to the log but not to an output file. The file has an empty string as the data content, the first field contain a 0 confirming that the command executed ok. OS exec is required otherwise using TCL we receive I also tested that echo was on by default by opening a dos window and typing echo hello or echo "hello" both hello and "hello" were echoed.I tried sttting on and off the 'disabble echo to log' option to see if there was impact on the output link and there was none.
I scrutinized both the online help and the Technical bulletin on the command stage and saw nothing to explain this.
I also noticed the 'output to file' option located on the stage general tab and specified a file for the output (in addition to the sequential file where my output link is going to) then the output from my echo command (that is only commandOUT and not the commandRTN) is going to that file. may be that could workaround the problem ?!
Hope this can help
-
- Participant
- Posts: 22
- Joined: Thu Jul 29, 2004 8:10 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Priority is a number from 1 to 4 (used to be 1 to 5). Priority 1 is critical, site down, costing megabucks. Please be honest about these, as your way of being nice to the rest of the Ascential client community.
Ask the support person to explain the exact meanings of the others.
If you can find a workaround, don't tell them, but don't set too high a priority, maybe 3.
Ask the support person to explain the exact meanings of the others.
If you can find a workaround, don't tell them, but don't set too high a priority, maybe 3.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 22
- Joined: Thu Jul 29, 2004 8:10 am