For details, see the SAS documentation about how many levels of nested DO statements your system's memory ...
support.sas.com