CA Automic (UC4) uses its own scripting language to automate job processes that can be split according to the following UC4 job tabs:
By default, UC4 Jobs that contain scripts inside Pre, Post and Process tabs are converted to Control-M Embedded scripts jobs.
If those scripts contain UC4 Scripting language keywords or functions, you need to clean them before executing those jobs in Control-M. In the Conversion Tool Report, you can see warnings about such jobs that contain these scripts.
To convert UC4 scripting language into Control-M, the conversion tool creates a UC4_scripts_conversion_to_ctm.xls file (UC4 Script Conversion file), which enables you to map and convert each UC4 Pre/Post Script into an equivalent Control-M option. You can also view UC4 Scripts reoccurring patterns in the UC4_scripts_analysis tab. For more information, see UC4 script analysis.
The UC4 Script Conversion file is located in <conversion_home>\workarea\datasources\<project_name>\data. You can also open it in the UC4 Scripts Rules tab in the Conversion Tool.
In the UC4 Script Conversion file, (UC4_scripts_conversion_to_ctm tab) Pre-Script and Post Scripts that are found in UC4 input objects data are sorted according to the number of UC4 jobs that contain them, so you can handle them by priority.
After you analyze and understand the script logic, and see how it should be converted to Control-M, you can use this file to create conversion rules to convert from UC4 Pre/Post Scripts to Control-M.
In the Select conversion option column, you can choose how to convert the UC4 Scripts into Control-M, as described in Control-M options.
For more information about the UC4 Script Conversion file, see UC4_scripts_conversion_to_ctm tab. For more information about converting UC4 Pre/Post Scripts, see Converting UC4 scripts to Control-M.
After you have defined conversion rules that convert Pre/Post Scripts to Control-M, save the file, move it to the same location as the UC4 Objects input data, and rerun the conversion.
The Conversion Tool uses the UC4 Script Conversion file as additional input data to convert Pre/Post Scripts to Control-M.
NOTE: Do not rename the UC4_scripts_conversion_to_ctm.xls file, as the Conversion Tool searches for the specific name.
You can convert UC4 Scripts that contain one command into Control-M Command Line jobs and/or exclude Pre and Post Scripts in Control-M client, as described in Additional Conversion Options parameters.
Parent Topic |