variable is the existing Control-M/Analyzer Database variable name, or an expression that resolves to an existing Control-M/Analyzer Database variable name. Must be in quotes. Mandatory.
type is the type of information requested. Must be in single quotes. Mandatory. Available types:
GEN – Current generation of the variable. If the variable has not been committed, –1 is returned.