"resetline;" as a statement in my sas program re-starts the logfile's line numbering scheme to 1. The problem occurs because I want to reference errors in my code when I have embedded include statements (which add lines to the log) that offset the numbering. I want to be able to reference my sas file to correct changes using the line number produced by the log above the error. I could write in my sas program, say:
"resetline 17;" (if the line after the include statement is the 17th line)
This would allow me to reference the exact line of code that matches what the log file says.
Example :
sas file:
{many lines of code}
.
%include file1;
%include file2;
log's line number is now offset by the number of lines in file1 and 2.