EC Gateway provides these generic variable names for programming processes: Parameter – x, FileName – x, Count – x, Message – x, and Resource –x. The character x represents a number that further differentiates the variable. A range of numbers is available for each variable:
Parameter 1– 20, example: Parameter-19. Parameter variables hold alphanumeric fields. Use Parameters to hold alphanumeric data such as file name hold area, text hold area, etc.
FileName 1 – 10, example: FileName-6. Filename variables hold alphanumeric fields. Use Filename variables to hold path and file name structures.
Count 1 – 10, example: Count-8. Count variables hold numeric fields. Use Count variables to store and manipulate numeric data. Use Count variables for loop counters, file size, and Run IDs.
Resource 1– 10, example: Resource-3. Use Resource variables as system global variables. You can use Resource variables to control whether a process runs concurrently with other processes or exclusively within EC Gateway. Examples of exclusive processes are system backups, archiving of a directory, locking of a modem just before it is to be used, etc.
Message 1 – 10, for example: Message-3. Messages usually contain buffer addresses for data of any datatype.
Keep careful track of these variables when you are developing a process. In addition, remember that a limited number of variables (50) can be in use at any one time. However, you can reassign and reuse variables at different points within the process.
Use the up and down arrow buttons to move a highlighted
command up and down in the list of commands.