Using the Newly Defined Function

You must specify the CMPLIB= system option in order to use the new function in a DATA step or supported PROC step. The CMPLIB= system option specifies one or more data sets that store user-defined functions. In this example, function ReverseName is saved to orion.functions.
options cmplib=orion.functions;
The function ReverseName is called in the following code.
options cmplib=orion.functions;
data work.emplist;
    set orion.employeeaddresses;
    NewName=ReverseName(EmployeeName);
run;
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.178.211