Jobs on IBM i are an essential part of the development lifecycle. This part of developing applications is now integrated into MiWorkplace.
The Jobs view lists various jobs which can be selected and grouped via job filters. So first a job filter must be created. A new job filter can be created via the context menu of the view or via the button "New Job Filter" in the toolbar of the view.
For a job to be displayed in the Jobs view it must match every criteria of the job filter.
Job filters are not used on all connections. The job filter is only created for one connection. You can create several job filters.
Once a connection is active and at least one job filter has been created the Jobs view is populated with job entries from the IBM i server. The job entries can either be retrieved automatically every x seconds or manually (via the context menu of a job filter). This can be configured in the preferences. The extra thread for retrieving the job entries can also be halted and restarted from the toolbar of the Jobs view. The current state of the thread is displayed on the right side of the status line at the bottom of the application window.
- is displayed when the job entries retrieving thread is running and is just actively retrieving a set of job entries.
- indicates that the thread is running but currently sleeping. No job entries are retrieved currently from the IBM i server.
- means that the thread for retrieving job entries has been stopped or was never started.
The context menu of a job entry in the Jobs view allows to hold, release or end a job.
By the context menu of a job the job messages can be viewed in an extra view.
At the top of the view is a filter section which can be used to filter the messages. The message are not automatically retrieved from the IBM i server. The toolbar of the view has a refresh button which retrieves new messages.
A Message Details view can be displayed via the Show View menu in the main menu. It displays the message details by selecting the message in the Messages view.