Informix Logo



DBREMOTECMD <program> session


Извращенный вариант работы с ontape, но может кому пригодится. Как использовать ясно из примера ниже.

" On a restore the tape is open, read to verify that it has the correct information, closed to reposition at the begin of the tape, then re-openned. If the close did not get completed by the tape device by the time the open is issued any subsequent reads fail. There is an easy solution to this (if I remeber my shell script):

  1. Create a shell script (lets say /work/bin/tape_wait.sh)
    #!/bin/sh
    /usr/bin/sleep 60; rsh $*
  2. now in you ontape environment set DBREMOTECMD to /work/bin/tape_wait.sh"
 

Украинская баннерная сеть
 

[Home]

Сайт создан при поддержке Украинского представительства Informix Software Inc.

Hosted by ANTEC.