Like the %INCLUDE statement, the %INSCAN statement also includes a file except in the %INSCAN statement, the file to be included is specified via a preprocessor variable.
>>-%INSCAN--filename--;---------------------------------------><
%dcl inname char; %inname = ’oldform’; %inscan inname; /* includes the file "oldform" */