*VABS

*VABS, KABSR, KABS1, KABS2, KABS3
Applies the absolute value function to array parameters.

MP ME ST PR PRN <> EM DY PP EME MFS

Argument Descriptions

KABSR

Absolute value of results parameter:

0 -- 

Do not take absolute value of results parameter (ParR).

1 -- 

Take absolute value.

KABS1

Absolute value of first parameter:

0 -- 

Do not take absolute value of first parameter (Par1 or ParI).

1 -- 

Take absolute value.

KABS2

Absolute value of second parameter:

0 -- 

Do not take absolute value of second parameter (Par2 or ParJ).

1 -- 

Take absolute value.

KABS3

Absolute value of third parameter:

0 -- 

Do not take absolute value of third parameter (Par3 or ParK).

1 -- 

Take absolute value.

Command Default

Do not use absolute values.

Notes

Applies an absolute value to parameters used in certain *VXX and *MXX operations. Typical absolute value applications are of the form:

ParR = |f(|Par1|)|

or

ParR = |(|Par1| o |Par2|)|

The absolute values are applied to each input parameter value before the operation and to the result value after the operation. Absolute values are applied before the scale factors so that negative scale factors may be used. The absolute value settings are reset to the default (no absolute value) after each *VXX or *MXX operation. Use *VSTAT to list settings.

This command is valid in any processor.

Menu Paths

Utility Menu>Parameters>Array Operations>Operation Settings

Release 16.2 - © SAS IP, Inc. All rights reserved.