Previous Topic

Next Topic

Book Contents

Book Index

Example AutoSys variables

The following example describes the output when running the AutoSys command, autorep –G ALL.

autorep -G %TGPROD%

Global Name Value Last Changed

____________________________ _____________________________________ ____________________

TGPROD_APIINBOX /tgprod/interfaces/inbox 03/02/2009 16:44:09

TGPROD_APIOUTBOX /tgprod/interfaces/outbox 03/02/2009 16:44:09

TGPROD_AUTOBACKUP /tgprod/reports/current 06/12/2009 11:00:50

TGPROD_AUTOBIN /opt/CA/AutoSys/autosys/bin 03/02/2009 16:44:09

TGPROD_DATEA 2009-09-18 09/18/2009 00:01:04

TGPROD_DATEB 20090918 09/18/2009 00:01:04

TGPROD_DATEC 090918

Example conversion to Control-M Server for Windows:

ctmvar -ACTION SET -VAR "%%%%\TGPROD_APIINBOX" –VAREXPR /tgprod/interfaces/inbox

ctmvar -ACTION SET -VAR "%%%%\TGPROD_APIOUTBOX" –VAREXPR /tgprod/interfaces/outbox

ctmvar -ACTION SET -VAR "%%%%\TGPROD_AUTOBACKUP" –VAREXPR /tgprod/reports/current

ctmvar -ACTION SET -VAR "%%%%\TGPROD_AUTOBIN" –VAREXPR /opt/CA/AutoSys/autosys/bin

ctmvar -ACTION SET -VAR "%%%%\TGPROD_DATEA" –VAREXPR 2009-09-18

ctmvar -ACTION SET -VAR "%%%%\TGPROD_DATEB" –VAREXPR 20090918

ctmvar -ACTION SET -VAR "%%%%\TGPROD_DATEC" –VAREXPR 090918

Parent Topic

Converting AutoSys jobs to Control-M - recommended practice