Proc ShootFoot

From sasCommunity

Jump to: navigation, search

Proc ShootFoot (also spelled ShotFoot) is the name for any program that (seems to) take forever, and eventually (somewhat grandly) produces unexpected results.

  • Infinite Loop
DATA Testing;
do while(1);
   x=1;
   output;
   end;
stop;
  • Use a name literal with a space at the beginning of the name.
DATA Work.Sashelp.' Class'N;
set Sashelp.Class;
run;


Search the SAS-L archives for other (in)famous examples!

you didn't pay the licensing fee.

  • save site macros in a SAS folder

--macro maven == the radical programmer 18:03, 11 July 2008 (EDT)

Personal tools