Redirection within a script

uruguru

Newcomer
Joined
Nov 9, 2012
Messages
4
Reaction score
0
Points
0
I am gathering info to IBM for a service request.
The problem is that redirection does not work.
All output goes to the actlog.
What is wrong.
The script is scheduled to run at night and all trace command works fine.

After a trace is done I have these lines:

Name: TRACE_STOP
Line Number: 15
Command: q sys > /centralhome/sys_jan/temp/tsm04_sys

Name: TRACE_STOP
Line Number: 20
Command: q act > /centralhome/sys_jan/temp/tsm04_act

which I entered like this:

update script trace_stop "q sys \> /centralhome/sys_jan/temp/tsm04_sys"
update script trace_stop "q act \> /centralhome/sys_jan/temp/tsm04_act"
 
I think I proved that.
Then there is no other way than to make a shellscript and put it in crontab then.
 
try

dsmadmc -se=<server> -id=<admin> -pa=<password> -out=/centralhome/sys_jan/temp/tsm04_sys "q sys"
 
Back
Top