Updatedef Utility

All questions about Control-M jobs definitions
Post Reply
User avatar
ajomarquez
Nouveau
Nouveau
Posts: 38
Joined: 19 Dec 2009 12:00

Updatedef Utility

Post by ajomarquez » 24 Oct 2012 6:03

Has anyone tried to us 'updatedef' to update muplitple jobs? I an update one job at a time, but I need to be able to make multiple updates (not mass update, as the time parameter is going to be different for each job).

Here is my xml file. There seems to be a problem at the second <JOB> section.

<DOCTYPE>
<UPDATE>
<JOB>
<DATACENTER>
<JOBNAME>
<TIMEFROM>
</JOB>
<JOB>
<DATACENTER>
<JOBNAME>
<TIMEFROM>
</JOB>
</UPDATE>

User avatar
mauriziog
Nouveau
Nouveau
Posts: 807
Joined: 08 Jun 2007 12:00
Location: Varese - Italy
Contact:

Post by mauriziog » 27 Oct 2012 5:46

To update many jobs, use the xml file.
If you have version 6.4 or following:
- save the draft in xml
- open it with a test editor
- do the updates
- open the modified files in controlM desktop and check if all is as required
- write and upload modified tables

If you has a version 6.3 or 6.2:
- use the exportdeftable utility to have a xml file
- modify it
- use the deftable utility to write the table in Em
- open it loading in controlm desktop
- check if all is ok
- upload the modified tables

User avatar
shahidsaif
Nouveau
Nouveau
Posts: 3
Joined: 06 Dec 2012 12:00
Contact:

Post by shahidsaif » 06 Dec 2012 5:48

mauriziog wrote:To update many jobs, use the xml file.
If you have version 6.4 or following:
- save the draft in xml
- open it with a test editor
- do the updates
- open the modified files in controlM desktop and check if all is as required
- write and upload modified tables

If you has a version 6.3 or 6.2:
- use the exportdeftable utility to have a xml file
- modify it
- use the deftable utility to write the table in Em
- open it loading in controlm desktop
- check if all is ok
- upload the modified tables







your nice replay. thanks

Post Reply