Previous Topic

Next Topic

Book Contents

Book Index

Copying jobs in a folder to a SMART Folder using the copydefjob utility

This procedure describes how to copy the jobs in a folder to a SMART Folder using the copydefjob utility.

To copy jobs in a folder to a SMART folder:

  1. From Control-M client, define a SMART Folder that does not contain any jobs, and then Check In the SMART Folder.
  2. Create a copydefjob arguments file in which jobs in a folder are copied to the SMART Folder that you created by doing the following:
    1. Open a text editor and format the file using the specifications referred to in copydefjob XML file parameters.
    2. Specify the Control‑M installation in which the jobs to be copied reside using the DATACENTER parameter:

      DATACENTER FROM="CTM_Name"

    3. Specify that the Folder Name value of the jobs changes from the name of the folder to the name of the SMART Folder. For example, FOLDER_NAME FROM="Sched_Fl_Name" TO="Grp_Sched_Fl_Name".
    4. Save and close the file.
  3. In the command line, enter the copydefjob utility command that uses the file that you created in the previous step:

    copydefjob -u <user> [-p <password>] -s <GUI Server Name> -arg <XML file name>

  4. In Control-M client do the following:
    1. Click Load to upload the SMART Folder to the Control‑M/Server.
    2. Order the SMART Folder.
    3. Verify that the SMART Folder now contains the jobs that were copied to it.

    If you do not need the original folder, you can delete it.

Parent Topic

copydefjob