Previous Topic: Format

Next Topic: Qualifiers

Parameter

job_specifier

The name or number of the jobs that you want to modify.

For example:

SCHEDULE> MODIFY MYJOB   
SCHEDULE> MODIFY 123

You can modify several jobs with a single DCL command. You can specify the jobs that you want to modify with the /GROUP and /TYPE qualifiers, with wildcard characters, or with any combination of qualifiers and wildcards. The following example modifies all of your jobs that begin with the letter S and belong to any group beginning with BACK.

SCHEDULE> MODIFY S*/GROUP=BACK*

The /GROUP and /TYPE qualifiers used with the SCHEDULE MODIFY command refer to the group and type of the original job. If you want to specify a new group and type, use /NEW_GROUP and /NEW_TYPE. For example:

SCHEDULE> MODIFY/GROUP=BK*/TYPE=DAILY/NEW_GROUP=P-COST -
_SCHEDULE /NEW_TYPE=MONTHLY

In this example, the SCHEDULE MODIFY command is abbreviated. The command modifies the group and type of all jobs currently in any GROUP beginning with BK and of TYPE DAILY. The new jobs will be in NEW_GROUP P-COST and of NEW_TYPE MONTHLY.

To refer to a job belonging to another user, add the specifier =username to the job specifier. You can use wildcard characters with the username. For example:

SCHEDULE> MODIFY MYJOB=D* 

To refer to a job on a remote node, add the node name to the job specifier. For example:

SCHEDULE> MODIFY NODE1::THISJOB=D*

For more information on how to specify a job, see the CA Job Management for OpenVMS Administration Guide.