Hello,

I am using Stata 16.1 (64-bit, total usable memory 1510.3 GB), and trying to change an extremely large data set to "long" format (from 4.4 x 10^7 obs to 4.4 x 10^8 obs).

I am getting the error message "no room to add more variables due to width". I have already set the max memory well above what is required (500 GB), and have set maxvar to 120000 (the maximum for Stata MP). I have seen in other help forums the options "set maxvar xxx width yyy", but when I add the "width" option to the command stata reports: " -set width- not allowed; 'width; not recognized).

It also does not let me "set memory" (returning: "set memory ignored. Memory no longer needs to be set in modern Statas; memory adjustments are performed on the fly automatically."

Do I have any other options to expand the width specifically for this data set (given that it's not a memory issue)?

Thank you!