How to set variable lengths in SPSS Statistics for multiple variables by using syntax?
Resolving the problem
* The following ALTER TYPE command changes all of your String Variables in your data set to a Width of 50.
ALTER TYPE ALL (A=A50).
* The following ALTER TYPE command changes all of your Numeric Variables in your data set to a Format of 8.5.
ALTER TYPE ALL (F=F8.5).
* On a Windows computer, if you put your cursor on the ALTER TYPE command and press F1 on your keyboard, a browser opens to a context-sensitive help text that explains all about the ALTER TYPE command options.
* On a Mac or Windows computer, you can open up the help menu and search on the following 'Overview (ALTER TYPE command)'.
You will be taken to the Overview of the ALTER TYPE command.