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

retrieves a key value pair from a control dataset More...

Go to the source code of this file.

Detailed Description

By default, control dataset is work.mp_setkeyvalue. Usage:

%mp_setkeyvalue(someindex,22,type=N)
%put %mf_getkeyvalue(someindex)
Parameters
[in]keyProvide a key on which to perform the lookup
[in]libds=(work.mp_setkeyvalue) The library.dataset which holds the parameters
Version
9.2
Author
Allan Bowe

Definition in file mf_getkeyvalue.sas.