Modifies or adds scheduling objects. When modifying objects, the modify command extracts only the objects that can be locked by the current user.
You must have add access if you add a new scheduling object. If the object already exists in the database, you must have modify access to the object.
{modify | m}
{[calendars | calendar | cal=calname] |
[eventrule | erule | er=eventrulename] |
[parms | parm | vb=[tablename.]variablename] |
[vartable | vt=tablename] |
[prompts | prom=promptname] |
[resources | resource | res=[workstationame#]resourcename] |
[cpu={workstationame | workstationclassname | domainame}]
[workstation | ws=workstationame] |
[workstationclass | wscl=workstationclassname] |
[domain | dom=domainame] |
[jobs | jobdefinition | jd=[workstationame#]jobname] |
[sched|jobstream|js= [workstationame#]jstreamname
[valid from date|valid to date |valid in date date]
[;full]] |
[users | user=[workstationame#]username]}
If argument calname follows, modifies the calname calendar. Wildcard characters are permitted.
If argument eventrulename follows, modifies the eventrulename event rule. Wildcard characters are permitted.
modify parms=@.@Modifies all variables on all tables.
modify parms=@Modifies all variables on the default table.
modify parms=@.acct@Modifies all the variables whose name starts with acct on all the existing tables.
If argument tablename variable table follows, modifies the tablename variable table. Wildcard characters are permitted.
If argument promptname follows, modifies the promptname prompt. Wildcard characters are permitted.
If argument workstationame#resourcename follows, modifies the resourcename resource of the workstationame workstation on which the resource is defined. If workstationame is omitted, the default is the workstation on which composer is running. Wildcard characters are permitted for both workstationame and resourcename.
If argument workstationname follows, modifies the workstationname workstation. Wildcard characters are permitted.
If argument domainname follows, modifies the domainname domain. Wildcard characters are permitted.
If argument workstationclassname follows, modifies the workstationclassname workstation class. Wildcard characters are permitted.
If argument workstationame#jobname follows, modifies the jobname job of the workstationame workstation on which the job runs. If workstationame is omitted, the default is the workstation on which composer is running. Wildcard characters are permitted for both workstationame and jobname.
If argument workstationame#username follows, modifies the username user of the workstationame workstation on which the user is defined. If workstationame is omitted, the default is the workstation on which composer is running. Wildcard characters are permitted for both workstationame and username.
Event rule definitions are opened with an XML editor (see Event rule definition for XML reference and see The composer editor for details on setting up an XML editor).
If you modify with the same modify command two or more objects linked together by any relationship, for example a successor job and its predecessor job, then it might be relevant for the successful result of the modify command the order in which the objects are listed in the temporary file. This happens because the modify command reads in sequence the objects contained in the temporary file; so, if the referencing object is displayed before the object being referenced, the modify command might fail on the referencing object.
modify FTA1#@PROVAproduces the following temporary file:
SCHEDULE FTA1#PROVA VALIDFROM 08/31/2005 MATCHING SAMEDAY : FTA2#MY-JOB FOLLOWS FTA1#COPYOFPROVA.MY-JOB06 END SCHEDULE FTA1#COPYOFPROVA VALIDFROM 08/31/2005 MATCHING SAMEDAY : FTA1#MY-JOBO6 ENDand you change the name of the predecessor job from FTA1#MY-JOB06 to FTA1#MY-JOB05 in both job streams FTA1#PROVA and FTA1#COPYOFPROVA, then the modify command:
If job stream FTA1#COPYOFPROVA had been listed in the temporary file before FTA1#PROVA, then the modify command would have run successfully the first time because the name of the predecessor job would have been modified before changing the dependency definition in the successor job.
For user definitions, if the password field keeps the "*******" value when you exit the editor, the old password is retained. To specify a null password use two consecutive double quotes (“”).
The modify command checks for loop dependencies inside job streams. For example, if job1 follows job2, and job2 follows job1 there is a loop dependency. When a loop dependency inside a job stream is found an error is displayed. The modify command does not check for loop dependencies between job streams because, depending on the complexity of the scheduling activities, this check might be too time and CPU consuming.
modify calendars=@
m sched=site1#sked9
mod er=@;filter job=DPJOB10