Setting variable lengths for multiple variables using syntax.

Technote (troubleshooting)


Problem(Abstract)

How can I set variable length for multiple variables at using syntax?

Resolving the problem

* The following ALTER TYPE command will change all of your String Variables in your data set to a Width of 50.
ALTER TYPE ALL (A=A50).

* The following ALTER TYPE command will change 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 hit F1 on your keyboard, a browser will open to a contextual 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)'.

    This will take you to the Overview of the ALTER TYPE command.

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

SPSS Statistics

Software version:

Not Applicable

Operating system(s):

Platform Independent

Reference #:

1667283

Modified date:

2014-03-13

Translate my page

Machine Translation

Content navigation