Retrieve a specified macro's location from searching all SASAUTOS directories
Use PROC FCMP to create a subroutine which is a cumulative product of a variable across observations in the SAS data set. User defined functions and subroutines created by PROC FCMP can be used in the DATA Step beginning in SAS 9.2.
Sample will determine the week number of each month
This sample illustrates how to wrap text to the right of an image in a title or footnote in an ODS PDF file.
This sample computes the product of a list of variables that have a common prefix. This macro is building the list of variables by placing an asterisk in between the variables. Given the list of var1-var5, the macro ge
Since reporting procedures, such as MEANS, SUMMARY, REPORT, and TABULATE, do not have a statistic to calculate a product, this type of calculation can be accomplished by reshaping the data and using ARRAY logic.
Use array processing to compute the product of multiple values.
When Function A is a part of SAS Procedure A but not a part of SAS Procedure B, it is still possible to call Function A from SAS Procedure B by using the RUN_MACRO function in the FCMP procedure. This sample demonstrates how.