Execute command issue
Posted: Tue Jul 03, 2012 1:50 am
Hi All,
I came across a strange behaviour.
A server routine that calls dsexecute to performs: more +n filea > fileb
works fine when executed from the test routine option but when used from a sequence job both via routine stage or exec command stage the output file is empty.
parameters are same for test and sequence job but only from test option the output file has the desired content.
Has anyone faced this issue before?
Thanks in advance for your time...
P.S.
If all fails I intend to write a routine that does the job in DS Basic code
(the original implementation was written a while back by someone)
I came across a strange behaviour.
A server routine that calls dsexecute to performs: more +n filea > fileb
works fine when executed from the test routine option but when used from a sequence job both via routine stage or exec command stage the output file is empty.
parameters are same for test and sequence job but only from test option the output file has the desired content.
Has anyone faced this issue before?
Thanks in advance for your time...
P.S.
If all fails I intend to write a routine that does the job in DS Basic code
(the original implementation was written a while back by someone)