BACKUPLOGS is set to Y and I tried the ontape command and it works.
Guess its time to add debug lines in the alarmprogram script.
I've checked all permissions that I could think of and looked at all environment variables. And looks like have ksh
version sh (AT&T Research) 93u+ 2012-08-01
so guess I need to make sure the alarmprogram is being kicked off – so debug coding I go
I added a few echo commands to a file in /tmp to the alarmprogram to debug, saved it and generated a new logical log and of course it started to work. Removed the debug stuff, saved alarmprogram and still works.
Seems opening and saving the file fixed whatever was the problem.
Thanks for the ideas and feedback