In reply to Vladislav Moltchanov.

In SAS 9.4, character strings are limited to 32,767 characters. In SAS Viya, you can define a variable to be a VARCHAR. A VARCHAR can be arbitrarily long.