Check if installed
To verify that the Advanced Job Scheduler (AJS) is installed on your IBM i system, enter the command Display Software Resources (DSPSFWRSC) on the IBM i command line, and look for 5770JS1, 5722JS1 or 5761JS1 in the list. Another quick way to verify that AJS is installed is to enter the command GO JS on a command line. If installed, you will see the AJS main menu. Note: even if the software license key has expired for AJS you will still be able to access job schedule information. AJS will not submit jobs if the license key has expired.
Migrating AJS Data
To migrate data from one IBM i system to a target IBM i system at the same version/release level, it is only necessary to delete the QUSRIJS library on the target IBM i and restore it from original system. To migrate data from an IBM i with different version/release levels, use the following instructions:
- Use the End Job Scheduler (ENDJS) command on a command line to end the job that monitors for AJS scheduled jobs.
- Rename the current data library QUSRIJS to QUSRIJSOLD using rename object command from your IBM i command line: RNMOBJ OBJ(QUSRIJS) OBJTYPE(*LIB) NEWOBJ(QUSRIJSOLD).
- Restore the QUSRIJS library from the previous release using the RSTLIB command.
- Use the Start Job Scheduler (STRJS) command on a command line to start the job monitor. This will convert the data files to the current format automatically without going through a product install. This will take a few minutes to complete.
Software license keys
The Advanced Job Scheduler (AJS) is a keyed licensed program product. AJS is preloaded if ordered on a new system and if preload is requested for the new system. If you are trying to use AJS for the first time, the license key grace period may have expired. To verify the license key information use Work with License Information (WRKLICINF) command on a command location. Specify option 5 for product 5770JS1, 5722JS1 or 5761JS1 to display the license information. Scroll through the display until you find the license key expiration date. To add a license key for AJS, use option 1 (Add license key) on the Work with License Information display.
Convert job schedule entries job
You may have IBM i job schedule entries that you want to add to the Advanced Job Scheduler (AJS). This can be accomplished by using Option 7 (Work with Operating System job schedule entries) on the System Controls menu (go JSSYSCTL). When you select this option, you are taken to the Work with Operating System Job Schedule Entries display where all of the operating system job schedule entries are listed. You can convert an operating system job schedule entry to AJS by selecting Option 8 (Add to Advanced Job Scheduler) for those entries.
In most cases, an operating system job schedule entry will move across to AJS with no changes. There may be instances where you must change the definition to add the entry to AJS. In those instances, you are given messages that suggest the method and the schedule code to use to successfully add the entry to AJS.
When an operating system job schedule entry is added to AJS, the status of the operating system job schedule entry is set to "hold." You should review the operating system job scheduler entries periodically to determine if you should remove jobs that have been added to AJS.