Maximum size of a SAS script - RunSubmit.com most recent 30 from http://www.runsubmit.com 2010-07-29T20:04:09Z http://www.runsubmit.com/feeds/question/199 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://www.runsubmit.com/questions/199/maximum-size-of-a-sas-script Maximum size of a SAS script NextLevel-IS 2010-01-12T09:13:50Z 2010-01-12T13:54:26Z <p>Is there a maximum size of a SAS <strong>SCRIPT</strong>? If so, how does this differ (if at all) between SAS 8 and 9?</p> http://www.runsubmit.com/questions/199/maximum-size-of-a-sas-script/200#200 Answer by jay.l.stevens for Maximum size of a SAS script jay.l.stevens 2010-01-12T13:54:26Z 2010-01-12T13:54:26Z <p>What's the context? are you getting a specific error or running into a problem?</p> <p>There is no effective limit to a SAS program (they're called programs, not scripts). For example, I recently generated a sas program (using sas) that was 13,000+ lines of code. I don't think there's an effective limit on program size, since most SAS programs typically have a number of discrete steps. The only practical limit would be something like memory. For example, if you were doing a <code>PROC SORT</code> on an inordinately large dataset, you might run into memory constraints.</p> <p>There are, on varying platforms, different default Line sizes for SAS programs, which might cause a program with very long lines to get truncated.</p>