morinia
asked on
Creating over 32 output datasets in SAS
Experts,
I am creating over 30 output files from an input file. Every 800 records I need to create another file. Does anyone know of a way to loop through the file either in a data step or Proc Sql to create the output file based on the _n_ value of the input?
I am creating over 30 output files from an input file. Every 800 records I need to create another file. Does anyone know of a way to loop through the file either in a data step or Proc Sql to create the output file based on the _n_ value of the input?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Worked like a charm.
http://www.mssqltips.com/sqlservertip/1699/sql-server-stored-procedures-to-page-large-tables-or-queries/