Page History
[ |../../index.htm#lansa/ugub_50086.htm]
You are here:
...
When the option to 'Define substitution variables used in list' is chosen from the Work with Export List Menu a screen similar to the following example is used to manipulate the export list:
|
|---|
|
A substitution value is a symbolic name that can be used:
...
This example uses the shipped system variable *PARTDTALIB (Partition Data Library) as a default value for the substitution value. When this list is imported this system value will be set to the correct library name (e.g.: DC@MODLIB) and then the operator will be prompted with DC@MODLIB as the default reply because 'Prompt' is Y (yes).
|
|---|
|
However, this example uses the shipped system variable *PARTDTALIB, but specifies N (no) for 'Prompt'. This means that the substitution value will be set to the partition data library name and then the import will proceed without asking the operator to confirm this value.
Variable Substitution value / Default value Prompt user |
|---|
|
Any shipped LANSA system variable that is evaluated by program M@SYSVAR, or any user defined system variable at all, can be used in this manner.
Only alphanumeric system variables up to a maximum length of 50 characters should be used this way.
[ |../../index.htm#lansa/ugub_50086.htm]