I figure this has something to do with running in a terminal or not. I
run the following command:
/usr/local/bin/tsmua -outfile=xx run qact.rep
When I run this on a terminal, it returns a format like:
DATE_TIME: 2003-01-01 16:30:00.000000
MSGNO: 402
SEVERITY: I
MESSAGE: ANR0402I Session 73102 started for administrator TS55428
(AIX)
(ShMem).
ORIGINATOR: SERVER
NODENAME:
OWNERNAME:
SCHEDNAME:
DOMAINNAME:
SESSID:
SERVERNAME:
but, when I run it from cron, it looks like this:
DATE_TIME MSGNO SEVERITY MESSAGE
ORIGINATOR NODENAME OWNERNAME
SCHEDNAME DOMAINNAME SESSID SERVERNAME
------------------ ----------- ------------------
------------------ ------------------ ------------------
------------------ ------------------ ------------------
----------- ------------------
2003-01-01 402 I ANR0402I
Session SERVER
16:20:00.000000 73098
started for
Any ideas how I can control this? I would like scripts to behave the
same, whether I run them from the terminal, or from cron. Server is
5.1.5.4. Thanks.
Andy Carlson |\ _,,,---,,_
Senior Technical Specialist ZZZzz /,`.-'`' -. ;-;;,_
BJC Health Care |,4- ) )-,_. ,\ ( `'-'
St. Louis, Missouri '---''(_/--' `-'\_)
Cat Pics: http://andyc.dyndns.org/animal.html
|