Macros for SAS Application Developers
https://github.com/sasjs/core
mp_setkeyvalue.sas File Reference

Logs a key value pair a control dataset. More...

Go to the source code of this file.

Detailed Description

If the dataset does not exist, it is created. Usage:

%mp_setkeyvalue(someindex,22,type=N)
%mp_setkeyvalue(somenewindex,somevalue)

SAS Macros

Related Macros

Parameters
[in]keyProvide a key on which to perform the lookup
[in]valueProvide a value
[in]type=either C or N will populate valc and valn respectively. C is default.
[out]libds=define the target table to hold the parameters
Version
9.2
Author
Allan Bowe @source https://github.com/sasjs/core

Definition in file mp_setkeyvalue.sas.