To Execute this Example

LANSA

To Execute this Example
System Variables Galore The Things that Make Up this Example
  • Initially cut and paste S_159FSV, VSAM009 and VSAM010 and compile them.
  • To define you own system variable(s) repeat the following steps for each new variable:
  • Define the system variable into the repository using the normal Visual LANSA dialog in the normal manner.
  • Define the system variable as a static alpha or numeric variable with appropriate length and decimal position details. The maximum length for an alpha system variable is 200 bytes.
  • Always specify RDML function VSAM009 (for alphanumeric) or VSAM010 (for numeric) as the evaluation program.
  • Use these system variables in your RDML or RDMLX code just like any other system variable.
  • To set or change the actual value of a system variable (even in a deployed application):
  • Execute form S_159FSV.
  • Note that S_159FSV does not save new or changed details until it is closed.