Initial revision
%ED ; EDIT A ROUTINE N RTN,PTH,EDITOR,CMD R "Routine: ",RTN S PTH=^$ROUTINE(RTN,"PATH") THROW:PTH="" "ZNOPGM" S EDITOR=^$SYSTEM("ENVIRONMENT","EDITOR") S:EDITOR="" EDITOR="vi" S CMD="!"_EDITOR_" "_PTH @CMD Q