| Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Change Data Library using JS (CHGDLJS) command allows you to change the monitor designator for a data library. The monitor designator determines whether a data library (Scheduling Environment) can be monitored. A Scheduling Environment must be monitored in order for scheduled jobs to submit automatically.
| Top |
| Keyword | Description | Choices | Notes |
|---|---|---|---|
| DTALIB | Data library | Name | Required, Key, Positional 1 |
| MON | Monitor | *SAME, *YES, *NO | Optional, Positional 2 |
| MONJOBNAM | Monitor job name | Name, *SAME | Optional |
| AUTOSTART | Automatically start monitor | *SAME, *YES, *NO | Optional |
| TEXT | Text | Character value, *SAME, *NONE | Optional |
| Top |
Specifies the data library to change. If you enter a data library that has not been added to IBM Advanced Job Scheduler for i , you will receive an error message.
This is a required parameter.
| Top |
Specifies whether the data library can be monitored.
This is a required parameter.
| Top |
Specifies the name of the monitor job. This name should be descriptive and relate to the scheduling environment associated with the data library.
This is a required parameter.
| Top |
Specifies whether the job monitor is to be automatically started after an IPL. The job monitor will not be automatically started if the Monitor field is set to *NO.
This is a required parameter.
The job monitor is to be automatically started after an IPL.
The job monitor will not be started after an IPL.
| Top |
Specifies a text description for the data library.
| Top |
Example 1: Change the monitor designator for a data library
CHGDLJS DTALIB(QUSRIJSPRD) MON(*YES)
This command changes the monitor designator for a data library to *YES. This will allow starting the monitor job for the data library.
| Top |
| Top |