You can create both global and local variables, depending on the needs of your tests. DTM defines all global variables in the current library at the beginning of every test recording or collection run. Local variables are only defined while the test with which they are associated is being recorded or run. DTM also supplies built-in variables. You can use both the variables you add to the DTM library and built-in variables in a test's template, prologue, or epilogue file. You can use global variables in collection prologue and epilogue files.
1 – cre_vars
To create global and local variables, perform the following steps: 1. Pull down the Maintenance menu. 2. Choose the Create menu item and the Variable... submenu item. The Variable dialog box enables you to specify the value, scope, use, and type of variable. All tests can use global variables. However, you must explicitly associate local variables with a test description.
1.1 – ass_lvar
To assign a previously defined local variable to an existing test or to a test that you are creating, perform the following steps: 1. From the Test View, click on the test to be modified. 2. Pull down the Maintenance menu. 3. Choose the Modify menu item and the Test... submenu item. 4. Click the Variables button 5. Enter the local variable into the Variables field. If you are creating a test, enter the local variable into the Variables field.
2 – vue_vars
To change the active view window to an unrestricted variable view, perform the following steps: 1. Pull down the View menu. 2. Choose the Variable... menu item. To create a new view window displaying variables, perform the following steps: 1. Pull down the View menu. 2. Choose the New menu item and the Variable submenu item.
3 – mod_vars
To modify current default variables in the DTM library, perform the following steps: 1. Pull down the Maintenance menu. 2. Choose the Modify menu item and the Variable... submenu item.
4 – over_vars
To override a default variable for an existing test, perform the following steps: 1. Pull down the Maintenance menu. 2. Choose the Modify menu item and the Test... submenu item. 3. Click on the Options... button. Most tests use a variable's default value. For tests that require special handling or special variable values, you can override existing variables. You can also override a variable's default value when you create the test by clicking on the Options... button in the Create Test dialog box, then entering the variable and a replacement value into the Variables field. You can override a global variable for a collection when you create the collection by clicking on the Options... button in the Create Collection dialog box.
5 – del_vars
To delete a variable from the DTM library, perform the following steps: 1. Pull down the Maintenance menu. 2. Choose the Delete menu item and the Variable... submenu item.
6 – control_vars
The following logical variables can be used to control the behavior of certain commands. They are fully described in the manual Guide to DIGITAL Test Manager for OpenVMS Systems or in the product Release Notes. o DTM$DATE_FILTER_FIRST o DTM$DATE_FILTER_MAX_YEAR o DTM$DATE_FILTER_MIN_YEAR o DTM$DATE_FILTER_STRING o DTM$DATE_MASK_MAX_YEAR o DTM$DATE_MASK_MIN_YEAR o DTM$DELAY_TIMEOUT o DTM$IGNORE_PROLOGUE_ERRORS o DTM$OMIT_PRINTABLE_SCREENS o DTM$RETAIN_RESULTS o DTM$TIME_FILTER_NO_SPACE