Results 1 to 2 of 2

Thread: ontape -r

  1. #1
    Join Date
    Mar 2004
    Posts
    5

    Unhappy Unanswered: ontape -r

    Hi,
    Would like to know if anyone can provide me with a small unix script to
    automate the ontape restore, cuz i want to run the restore through a job.and
    dont know how to handle the questions of ontape -r through a script.

    thanks & regards,
    informixfan

  2. #2
    Join Date
    May 2004
    Location
    New York
    Posts
    248
    I use this to do the ontape -s -L 0

    $INFORMIXDIR ontape -s -L 0 <<EOF

    EOF

    the space represents the return key but you can put a value in there.
    List the values that you want in the order of questions

    ontape -r <<EOF
    value
    value
    EOF

    I have not tryed it yet, but might work

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •