
rc=read_array('account', x, 'price', 'acct');
put x=;
run;
Output 22.16 Results from the READ_ARRAY Function
The SAS System 1
The FCMP Procedure
x[1, 1]=1 x[1, 2]=2 x[1, 3]=3 x[2, 1]=4 x[2, 2]=5 x[2, 3]=6
The SAS System 2
The FCMP Procedure
x[1, 1]=2 x[1, 2]=1 x[2, 1]=5 x[2, 2]=4
RUN_MACRO Function
Executes a predefined SAS macro.
Category: Calling SAS Code from within Functions
Note: The behavior of this function is similar to executing %macro_name; in SAS.
Syntax
rc = RUN_MACRO ('macro_name' <, variable_1, variable_2, ...>);
Required Arguments
rc
is 0 if the function is able to submit the macro. The return code indicates only that
the macro call was attempted. ...