Page 1 of 1

Posted: Wed Nov 23, 2005 10:46 am
by chulett
Try checking Output<1> instead of just Output and see if that fixes the problem. It should unless something else is going on.

Posted: Wed Nov 23, 2005 10:46 am
by kcbland
The Output variable contains an array. You just want the first line, which would be Output<1>.

Rather than execute the shell command, why not use DS BASIC function DATE() to the current system clock call, or @DATE to get the date when your process was started? Consider TIMEDATE() as well.

So, try Now = OCONV(@DATE, "D-YMD"). Search the forum for discussions.