In reply to Chris E.

I think you might have trailing blanks in the &libpath. name. Try changing the CALL SYMPUT to CALL SYMPUTX -- a good practice anyway.