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

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1155 views
  • 0 likes
  • 2 in conversation