Line and Macro Length Limits
• | The maximum number of characters allowed on a single line of SAS code is 256 characters. You can exceed this number of characters in the SAS code editor, but if a line with more than 256 characters is submitted in batch mode, the program hangs in SAS. |
• | The maximum length for a SAS macro variable assignment is 32,767 characters. This limitation can sometimes be exceeded by long lists of variable names. If you encounter this problem, one alternative method is to offer a textfield input parameter for list-style variable specifications like Var1-Var15000. |
Next: Collaboration