Re: mksysb log file

From: Nick H (UK) (spamtrap_at_mridangam.com)
Date: 10/09/03


Date: Thu, 09 Oct 2003 10:41:13 +0100

yls177 wrote:
> steve@wakefieldrfc.freeserve.co.uk (Steve Nottingham) wrote in message news:<42862645.0310080232.2b797aab@posting.google.com>...
>
>>>it is possible to get a log file of whether it is successful and if
>>>failed, which part failed. can someone instruct how? thanks
>>
>>mksysb (like most other commands) by default sends its output to the
>>session that ran the command, in this output it also tells you if it
>>worked or not, or you could do "echo $?" after the command has
>>completed. If you run it from cron or some other schedular, to trap
>>to a log file:
>>mksysb -i /dev/rmt0 /tmp/mksysb.log 2>&1
>>
>>Steve
>
>
> can i do a mysksb -i /dev/rmt0 > /tmp/mysysb.log

maksysb backs up the rootvg which would include /tmp. Better to write
to a file which is not in a file system that you are backing up.

-- 
Nick H (UK)


Relevant Pages

  • Re: ShellExcute for non EXE files
    ... the question is how to send commands to a ... command window. ... callback mechanism from that DLL that send received text to our app. ... >a TN3270 session that allows me to connect to Mainframe server. ...
    (microsoft.public.vc.mfc)
  • direct io
    ... Basically i issued the following commands on a ufs file system ... The file system is ufs, i use emc disk array, and connected va fibre ... commands create file pageins.(vmstat -p: fpi - fpo columns or vmstat ...
    (comp.unix.solaris)
  • ufs - direct io generalization
    ... Basically i issued the following commands on a ufs file system ... The file system is ufs, i use emc disk array, and connected va fibre ... commands create file pageins.(vmstat -p: fpi - fpo columns or vmstat ...
    (comp.unix.solaris)
  • Re: any trick I need to know to use "expect -i"?
    ... My telnet session actually is to connect my debug port. ... It can receive commands, and print out some messages as well. ... my Expect code sill couldn't send my dump command to my debug pot. ...
    (comp.lang.tcl)
  • Re: Thread safety and performance
    ... > My opinion is that one session per thread is the way to go. ... If you design it with speed in mind, executing commands ... So you feel that prepared commands are more efficient than rowsets. ... figure out how to reuse prepared commands under transactions. ...
    (microsoft.public.data.oledb)