BookmarkSubscribeRSS Feed
njoyce
Calcite | Level 5

Hi, I am having some trouble trying to run the %dist macro from the mayo clinic (http://www.mayo.edu/research/documents/distsas/doc-10027802).  The macro creates global optimal matches on a propensity score.  When I run the macro I get the following error message.  I am running SAS 9.4 with windows 8, and don't know how or why this particular procedure would be missing since it is. Is there a way to include the optnet procedure or am I missing a certain plugin?  thanks so much for any help!

ERROR: Procedure OPTNET not found.

MPRINT(VMATCH):   proc optnet data_matrix=dist2;
MPRINT(VMATCH):   linear_assignment id=(enrolid) weight=(_C1--_C132857) out=__outt;

MPRINT(VMATCH):   run;

1 REPLY 1
Haikuo
Onyx | Level 15

You need to make sure your site has SAS/OR licensed and installed.

License info:

proc setinit;run;

Installation info:

proc product_status;run;

Good luck,

Haikuo

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1232 views
  • 0 likes
  • 2 in conversation