![]() |
*SV Display/Save Contents of Procedure Variables
&var The contents of the procedure variable will be displayed on screen, or saved to a file. If &var is not specified, the names and contents of all procedure variables will be displayed, or saved to a file (see below).
file A specified variable, or all variables defined in the procedure (*&var= ...), together with their current contents, will be saved to a file with the specified name. They can then be loaded later into another procedure with the *LV statement.
If file is not specified, the names and contents of all variables will be displayed on the screen. If &var is not specified, the comma in front of the file name can be omitted.
E The file is opened in Extend mode.
The records saved in the SV file have the following format:
20 byte variable name; 1 to 80 byte variable content. The contents of the variable can (but does not have to be) padded with nulls (X'00') up to 80 bytes.