October 2019
Intermediate to advanced
430 pages
19h 4m
English
proc fcmp outlib=work.function.add; /*1*/ function adding(val); /*2*/ final=38+val; return(final); /*3*/ endsub; /*4*/ run; options cmplib=work.function; /*5*/ data work.studentcost; /*6*/ set certadv.all; Final_Cost=adding(fee); /*7*/ run; proc print data=work.studentcost; /*8*/ var Student_Name Course_Code Fee Final_Cost; run;
| 1 | The FCMP procedure enables you to create custom functions using DATA step syntax. The OUTLIB= option specifies Work.Function as the table in which the Add package is stored. The Add package ... |
Read now
Unlock full access