The modify/job or chjob command can be used to change any of the fields defined in a job definition. Any of the field parameters discussed under the CREATE command can be changed using MODIFY.
The following example illustrates a case where the job needs to be modified so that it runs on the last working day of the month. In order to change the properties so that the job will run on Monday and Tuesday at 1:00 AM.
UNIX/Linux:
Schedule> chjob invoke_proc -rescheduling=(calendar:standard,named:monday,named:tuesday,offset=01:00:00)
What it does: Modifies a job's rescheduling to run on Monday and Tuesday at 1:00 AM
Schedule> chjob silver_process -process:parameter=("now","12:00","A^&889$",,"eagle")
What it does: Sets parameters 1, 2, 3 and 5 to the values shown
Windows/OpenVMS:
Schedule> modify nautical /notify=(submit:(tperez,mail),failed:(tperez,mail))
What it does: Set the job nautical to notify tperez on submission and failure
Schedule> modify metered /general=restart_count:4 /general:startup=00:25:00
What it does: Changes a job's restart count to 4 and it's startup window to 25 minutes
See Modify a job's properties (modify/job or chjob) for a detailed description of this command.