Re: using tbtape in scripts
Posted in 1994
> As long as you don't have to switch tapes your ok. You can supply > the responses to tbtape in a file and then redirect standard input from > that file. Example: tbtape -s < tbtape.responses > > The file tbtape.responses might look something like..... > > 1. > 2. 0 I have a alternate approach, which was to run tbtape -s |& # run as a co-process in the ksh print -p 0 # to send parm Like with Chris' suggestion, this doesn't help with multiple tapes (we're dumping to a file and letting sysback do the actual dirty work). Of course you have to set all the variables to the appropriate values. -- Mark B. Meredith | mbm1@ntrs.com Northern Trust Co. | Voice: 312.630.6295 Chicago, IL USA | FAX: 312.444.3951