Workload Scheduler, Version 8.5
A variable table is an object that groups multiple variables. All the global parameters (now named variables) that you use in workload scheduling are contained in at least one variable table. Two ways of defining variables are available:
You are not forced to create variable tables to be able to create and use variables. You might never create a table and never use one explicitly. In any case, the scheduler provides a default table and every time you create or manage a variable without naming the table, it stores it or looks for it there.
You can define more than one variable with the same name but different value and place them in different tables. Using variable tables you assign different values to the same variable and therefore reuse the same variable in job definitions and when defining prompts and file dependencies. Variable tables can be assigned at run cycle, job stream, and workstation level.
Variable tables can be particularly useful in job definitions when a job definition is used as a template for a job that belongs to more than one job stream. For example, you can assign different values to the same variable and reuse the same job definition in different job streams.
The following example shows a variable table and its contents.
VARTABLE TEST1 MEMBERS DEVBATCH "DOMD\IMSBATCH\SAME" PARAM_01 "date" PARAM_02 "root" PARM_01 "PARM_001" PRPT_02 "PARM_002" PRPT_03 "PARM_003" PRPT_04 "PARM_004" PRPT_05 "PARM_005" SAME17 "test/for/variable âwith samename > variable/table" SLAV10 "/nfsdir/billingprod/crmb/MAESTRO_JOB/AG82STGGDWHSCART" SLAV11 "/nfsdir/billingprod/crmb/MAESTRO_JOB/AG82CDMGALLBCV" SLAV12 "/nfsdir/billingprod/crmb/MAESTRO_JOB/AG82CDMGRISCTRAF" SLAV13 "/opt/crm/DWH_OK/Businness_Copy_ok" SLAV14 "/opt/crm/DWH_OK/DW_Canc_Cust_Gior_ok_" TRIGGER "/usr/local/samejobtriggers" VFILE2 "testforvarwithsamename2.sh" VUSER2 "same_user2" WRAPPER "/usr/local/sbin/same/phi_job.ksh" END
From the standpoint of security file authorizations, permission to act on the variable entries contained in a variable table is dependent on the overall permission granted on the variable table, as shown in following table.
| Required security file access keyword on enclosing variable table | Allowed action on listed variable entries |
|---|---|
| Modify | Add |
| Delete | |
| Modify | |
| Rename | |
| Display | Display |
| Unlock | Unlock |
To create a variable table definition in the Tivoli Dynamic Workload Console:
[ Top of Page | Previous Page | Next Page | Contents ]