The OPSSETV function creates a global variable named varname and assigns the value varvalue to it. If the global variable already exists, then the function assigns the new value varvalue to it. When it executes successfully, the OPSSETV function always returns the value 1 to var.
The optional OFFSET keyword can be used to modify part of the existing value of varname. The position of the first character to modify is specified in the OFFSET keyword, and the length to modify is the length of the varvalue keyword.
Note:
This function has the following format:
var = OPSSETV('varname (varvalue)][optional keywords]')
| Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |