Previous Topic

Next Topic

Book Contents

Book Index

Control-M Variable XML value example

The following example describes how to export to XML a Control-M Variable in the Planning domain, and then to add it to the Conversion Option value column in the UC4 Script Conversion file.

  1. From Job Properties, in the Variables section, create the following 3 variables:

    S_CONV_variable

  2. From the Workspace tab, select Export, and save the exported XML.
  3. Open the following XML:

    <?xml version="1.0" encoding="utf-8"?>

    <!--Exported at 18-09-2017 15:35:47-->

    <DEFTABLE xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Folder.xsd">

    <FOLDER DATACENTER="CTM-Server1" VERSION="900" PLATFORM="UNIX" FOLDER_NAME="Folder#2" FOLDER_ORDER_METHOD="SYSTEM" TYPE="1" ENFORCE_VALIDATION="N">

    <JOB MEMNAME="a" JOBNAME="OS_Job#1" CREATED_BY="amir" RUN_AS="a" CRITICAL="0" TASKTYPE="Job" CYCLIC="0" INTERVAL="00001M" MEMLIB="a" CONFIRM="0" RETRO="0" MAXWAIT="0" MAXRERUN="0" AUTOARCH="1" MAXDAYS="0" MAXRUNS="0" DAYS="ALL" JAN="1" FEB="1" MAR="1" APR="1" MAY="1" JUN="1" JUL="1" AUG="1" SEP="1" OCT="1" NOV="1" DEC="1" DAYS_AND_OR="O" SHIFT="Ignore Job" SHIFTNUM="+00" SYSDB="1" IND_CYCLIC="S" RULE_BASED_CALENDAR_RELATIONSHIP="O" APPL_TYPE="OS" MULTY_AGENT="N" USE_INSTREAM_JCL="N" CYCLIC_TOLERANCE="0" CYCLIC_TYPE="C" PARENT_FOLDER="Folder#2">

    <VARIABLE NAME="%%A" VALUE="Local" />

    <VARIABLE NAME="%%\\Banai\Amir" VALUE="Pool" />

    <VARIABLE NAME="%%\BB" VALUE="Global" />

    </JOB>

    </FOLDER>

    </DEFTABLE>

  4. Copy the following XML to the Conversion Option value column:

    <VARIABLE NAME="%%A" VALUE="Local" />

    <VARIABLE NAME="%%\\Banai\Amir" VALUE="Pool" />

    <VARIABLE NAME="%%\BB" VALUE="Global" />

Parent Topic

UC4 scripts conversion