Converting TWS to Control-M

This procedure describes the recommended practices for converting TWS jobs to Control-M.

To convert TWS jobs to Control-M:

  1. Before converting jobs, it is recommended that you do the following:

    EXAMPLE: A popular example of modification to the .jobmanrc is to provide the ability of job-step level restarts for UNIX and Windows jobs. The .jobmanrc file should be checked for this added feature. Users will typically be requested to use the ‘conman rr jobname step=restart-step-name’ command.

    EXAMPLE:

    $PARM

    PROD_E_SCR "c:\schedules\e-commerce\filecopy.txt"

    EXAMPLE: Conversion to Control-M Server for Windows:

    ctmvar -ACTION SET -VAR "%%%%\PROD_E_SCR" –VAREXPR “C:\schedules\e-commerce\filecopy.txt”

  2. In the Conversion Tool, it is recommended that you do the following:

    NOTE: This converts calendars to Rule Based Calendars and places logical names as far as possible. For example ON “MO,TU,WE,TH,FR” converts this to “Weekdays”

    For more information, see Setting additional Tivoli Workload Scheduler (TWS) rules

    NOTE: You may wish to see the schedules in a slightly different way in the Planning Domain in Control-M. Using the Field Editor on the Application and Sub_Application fields enables slightly different views after conversion. It is worth experimenting with these if you do not like the default view. For more information, see Setting Control-M field values.

  3. After the conversion, from the Conversion Results window, in the Actions tab, click Generate Scripts to add automatically Quantitative resources, Global variables or Node Groups. For more information, see Generating scripts for Control-M/Server.

    EXAMPLE: Batch file to load Quantitative Resources:

    $RESOURCE

    PROD-NPDS01B#TSMPBKP 4 "For NDA backups"

    PROD-ONNM001A#TSMPBKP 4 "TSM prod backups so not too many run at the same time"

    PROD-DTCAH05A#FTFRES1 1 "Prevents FTF_WKLY clashing with FTF"

Parent Topic

TWS recommended practices