BookmarkSubscribeRSS Feed
mlogan
Lapis Lazuli | Level 10

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,

3 REPLIES 3
Astounding
PROC Star

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.

jakarman
Barite | Level 11

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

---->-- ja karman --<-----
Ksharp
Super User

The max length of a character variable is 32767.

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

How to choose a machine learning algorithm

Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1598 views
  • 1 like
  • 4 in conversation