In reply to Richard Montes.

Post your (unworking) code to the SAS/IML Support Community.