RE: alarmprogram.bat and ontape
Posted in 2004
You need to feed the ekystrokes required by ontape into the process.
ontape -a << filename_with_keystrokes
> -----Original Message-----
> From: owner-informix-list@iiug.org
> [mailto:owner-informix-list@iiug.org]On Behalf Of Bill Hamilton
> Sent: Tuesday, 2 March 2004 8:47 a.m.
> To: informix-list
> Subject: alarmprogram.bat and ontape
>
>
> In alarmprogram.bat, I set:
> SET BACKUPLOGS=Y
> SET BACKUP_CMD=ontape -a
>
> the onconfig file has
> ALARMPROGRAM C:\\PROGRA~1\\Informix\\etc\\alarmprogram.bat
>
> When the logs filled up, the log file showed
> 15:38:44 Logical Log Files are Full -- Backup is Needed> but a backup did NOT start.
>
> The IDS email'ed me a message, that the logs were full, but ontape did not
> run.
> Is this because ontape has no "-y" switch and cannot run from bat file ?
>
>
> sending to informix-list
sending to informix-list