Schedule check service level

Create a batch file to check your service level at regular intervals.

You can, optionally, schedule check service level to run at regular intervals. To do this, create a .bat file that runs check service level, and then use the at command to specify when the batch file should run.

  1. Create a .bat file that the scheduler calls.
    • To have check service level use the parameters on the iSeries™ Access for Windows® Properties Service tab, put a line similar to the following example in the .bat file:
      c:\...\Client~1\CWBCKVER.EXE LOGIN
    • To have check service level to run whenever the schedule entry starts, put a line similar to the following example in the .bat file:
      c:\...\Client~1\CWBCKVER.EXE SCHEDCHECK
  2. Use theat command to schedule check service level. For example:
    at 10:00/INTERACTIVE/EVERY:15 "c:\scheddir\ckverscd.bat"

    This will start check service level at 10:00 a.m. on the 15th day of every month.

Note: This example uses a .bat file named ckverscd.bat in directory c:\scheddir. Your .bat file name and the directory where you store it are your choice.

When the schedule entry starts, a command prompt window opens on your desktop. Check service level prompts the user with message boxes and installation wizards. The user interface is identical to the interface that a Windows administrator would see running check service level.