Please enable JavaScript to view this site.

R:BASE 11 Help

Navigation: Command Index > N

NULLSET

Scroll Prev Top Next More

Use the NULLSET command to set variable values to NULL for individual variables, or a list variables.

 

 

NULLSET

 

Options

 

ALL VARIABLES

Sets all variables to NULL.

 

EXCEPT varlist

Specifies variable values that the NULLSET command will not set to NULL. You can use wildcards in variable names.

 

VARIABLES varlist

Sets one or more variable values to NULL. Use this option at the end of a complete set of procedures to set variable values to NULL. You can use wildcards in variable names.

 

About the NULLSET Command

 

NULLSET provides the ability to NULL variable values for a list variables. Only system variables are not effected by the NULLSET command.

 

Examples

 

Example 01:

-- Sets the vCost and vReportName variable values to NULL

 

NULLSET VAR vCost, vReportName

 

Example 02:

-- Sets the all variable values that begin with vcust to NULL

 

NULLSET VAR vCust%

 
Example 03:

-- Sets all variable values to NULL, with the except of system variables

 

NULLSET ALL VAR EXCEPT vOutput