Building models with SAS Enterprise Miner, SAS Factory Miner, SAS Visual Data Mining and Machine Learning or just with programming

maximum allowable character in observation

Reply
Regular Contributor
Posts: 215

maximum allowable character in observation

Can anyone tell me what will be the maximum allowable cell content (in Work_Description variable) of the observation?

ID    Name   Work_Description

101  John     Construction Worker

Thanks,

Super User
Posts: 5,082

Re: maximum allowable character in observation

In theory, a character variable can be defined as 64K character long.  However, if you already have created a SAS data set, you can examine the variable definitions that are built in by running PROC CONTENTS.

Valued Guide
Posts: 3,208

Re: maximum allowable character in observation

Was assuming 32k is the limit as it is processed signed not unsigned

---->-- ja karman --<-----
Super User
Posts: 9,681

Re: maximum allowable character in observation

The max length of a character variable is 32767.

Ask a Question
Discussion stats
  • 3 replies
  • 258 views
  • 1 like
  • 4 in conversation