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: 218

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,516

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.

Trusted Advisor
Posts: 3,215

Re: maximum allowable character in observation

Posted in reply to Astounding

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

---->-- ja karman --<-----
Super User
Posts: 10,044

Re: maximum allowable character in observation

The max length of a character variable is 32767.

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