Informix Ontape Backups

Question:
I need to do an ontape Level 0 backup but I need to bypass the “Press Enter to Continue.” Simply put, I want to type “Ontape -s -L 0” and not get prompted to “Press Enter to Continue.” I am currently running Informix 7.23 on an AIX 4.2.

Any ideas ?

Answer:
Sure, create a “herefile” in UNIX that looks like this:

ontape -s -L 0 <

(Hit Enter to get ^M above.)

Make this executable and then run it.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: