The SET command writes one or more PROPERTY/VALUE pairs or the contents of a stem variable construct to a specified object.
This command has the following format:
ADDRESS TNG 'SET OBJECT(class.object)
{{PROPERTY(propertyname)
VALUE(propertyvalue)} | VAR(varlist.)}'
WorldView commands require the OBJECT parameter. The argument to the OBJECT parameter consists of the following two parts:
Specifies the 1- to 31- character name of the CA NSM class to which the created object belongs.
Specifies the 1- to 31-character name of the object. The object name can contain alphanumeric characters and any of these special characters: ! @ # $ _
Periods (.) should not be used in object names.
Specifies the name of an object property (propertyname) as listed in the CA NSM class browser.
Specifies the value of an object property (propertyvalue) as listed in the CA NSM class browser. The ADDRESS TNG environment automatically performs the conversion from REXX variable form to the internal format of CA NSM.
Specifies the name of a REXX stem variable (varlist) that contains PROPERTY/VALUE pairs of data. For example, if the command contains the following:
... VAR(pairlist.)
The ADDRESS TNG environment examines the value of the variable pairlist.0 to determine the number of entries to process. Each of the variables pairlist.1 to pairlist.n (where n is the value of pairlist.0) should contain a quoted string consisting of a property followed by at least one blank space followed by the value to be set for the property, for example:
pairlist.1 = "name FRED" pairlist.2 = "label South Dakota"
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|