![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I need to send the output of multiple commands to the same log file at different times. I am able to send the output to a log file by doing: $define sys$output filename.log However, the next time I use it, filename.log is overwritten, not appended. Is there any way to append on the fly in this situation? Thanks The Answer is : On OpenVMS V7.1, the following commands work quite nicely: $ PIPE SHOW USER | APPEND/NEW SYS$INPUT X.X $ PIPE SHOW SYSTEM | APPEND/NEW SYS$INPUT X.X Alternatively, a sequence such as the following can be used: $ OPEN/APPEND FOO X.X $ SHOW SYSTEM/OUTPUT=FOO $ SHOW LOGICAL SYS$TOPSYS/OUTPUT=FOO $ CLOSE FOO
|