The Set Step using Job Scheduler (SETSTPJS) command display allows you to label steps in your application for logging purposes. For example, you may wish to set a step in your program at the start of a backup or when a backup completes. You can label the step "Backup beginning" or "Backup complete" and set LOG to *YES. This will output the text to the JS log once the step is reached.
If you want to see your steps for an application, you can view them in three places. These include:
- Advanced Job Scheduler for Wireless
- Steps are displayed in the details for an active job. From the Advanced Job Scheduler for Wireless Main Menu, select Jobs, then Active, and then the job whose steps you want to view. Select Details from the job options list. The details for the job are displayed. The step text is displayed next to Step.
- DSPJOBJS
- From the DSPJOBJS command, key option 5 next to the job whose steps you want to view. The details for the job are displayed. The step text is displayed next to Step.
- iSeries Navigator
- The step information for a job is displayed in the Job Properties dialog box. Right-click on a job and select Properties. Go to the Last Run tab. The step information is displayed next to Command step. This information also applies to Scheduled Job Activity.