recover the value of a globale variable

All questions about Control-M jobs definitions
Post Reply
User avatar
olivier2c
Nouveau
Nouveau
Posts: 11
Joined: 26 Jan 2011 12:00
Location: LYON

recover the value of a globale variable

Post by olivier2c » 20 Aug 2013 10:36

Hello

on a command line, I list the value associated with a global variable:

ctmvar -action list | grep variable_name | awk '{print $ 2}'

with this command I would get the value of the variable

in "steps" tab, I want to retrieve the value of the variable

how is: Stmt = Code =

thanks

User avatar
rajan
Nouveau
Nouveau
Posts: 3
Joined: 29 Feb 2008 12:00

Post by rajan » 21 Aug 2013 10:55

select a.jobname , a.SCHEDTAB , b.STMT , b.CODE FROM cms_jobdef a, CMS_ONSTMT b where a.jobno = b.jobno and a.jobname
like '%TEST%' ;
jobname | schedtab | stmt | code
-------------+-----------+------+------
TEST| TEST | * | *

Post Reply