Utilize the print screen option to print from NT. Or on a Unix platform it is possible to Redirect the data. Example: at the Unix prompt type: cat newfile > oldfile. In WIN NT there is NO way to print the difference report by redirect as NT does not have the flexibility of a Unix O/S.
Notice that the main calling script calls another script to run the login logout, this simply consists of the following $ cat dm.sh dmcli -user dmsys -pass dmsys -host stal-al-sun3:671 -dbname intermediate -dsn ora9 -cmd exit