czarcasm
Active Member
Looking for some ideas.... we have had some intermittent issues in our automated restart process. Each night our services restart and this all happens via a scripted series of commands that run on a schedule. The issue we have found is that some of the various kernels have not ended properly and remain in a MTXW status after shutdown or they are simply orphaned in the subsystem. My simple solution would be to just write a small program to clear the log files in the JDE920 directory (which should be emptied at every restart) and if we have any straggling files, then we need to signal the support team that something did not work correctly and requires investigation. The challenge I am finding is in writing that "simple" program as the way our team has attempted to make this happen through dream writer but doing this appears to actually override the locks and purge the directory anyway (so this wont work). Any ideas or other folks that have found a way to signal on a botched restart for an iSeries environment?