ods path (prepend) WORK.TEMPLAT(update);
This ensures that the TEMPLATE procedure operates correctly from IML Studio.
if symexist( "__IMLSTUDIO" ) then do;
if symexist( "__IMLPLUS" ) then
print "This program is running in IML Studio in an IMLPlus workspace.";
else
print "This program is running in IML Studio in a SAS workspace.";
end;
else
print "This program is not running in IML Studio.";