In reply to Babloo.

Looks like you have received some responses now in the community. SAS 9.4 includes the necessary RFM code/macro with Base SAS. If you're running with a version of SAS earlier than that (even SAS 9.3), then you would see the error that you shared.