UDEFINE is one of three commands used for defining variables. Variables defined with the UDEFINE command are known as persistent variables because they remain in effect for all of a user's sessions until the user terminates all sessions and signs off CA TPX. The other types of user-defined variables are transient variables and global variables. Transient variables remain in effect until the ACL/E program in which they are defined terminates. The command VDEFINE is used to define transient variables. Global variables can be used by any ACL/E program running in this CA TPX, and remain in effect until they are deleted. The command GDEFINE is used to define global variables. For more information on defining variables, see Defining and Manipulating Variables.
In this program, the following UDEFINE command is used to define a variable named LINECT with a length of three (3) characters. This variable records the number of lines on the screen being copied.
UDEFINE LINECT,3 SET LINECT,&SCRNROWS
|
Copyright © 2013 CA.
All rights reserved.
|
|