BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Is the BLOB data type available in SAS Base? I am trying to concatenate patient notes for multiple records. For example, a patient has 50 records, each with a clinical note that may be up to 40K characters. If I combine all notes into one record then I could have up to 400K characters. I have written a program in VBA to do this but I am running into a field size issue. Can I use the BLOB data type to combine a patient's multiple notes into one note? Thanks.
1 REPLY 1
LinusH
Tourmaline | Level 20
There is no actual BLOB data type in Base SAS, but is has been considered for SPDS. You can read BLOB data types from external RDBMS, but the SAS/ACCESS engine will convert them into char variables. Since the maximum length for char in Base SAS is 32K, I guess you have to split your data into several rows/columns. Apart from that, you have an observation lenght limit to handle: 2GB.

/Linus
Data never sleeps

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

Health and Life Sciences Learning

 

Need courses to help you with SAS Life Sciences Analytics Framework, SAS Health Cohort Builder, or other topics? Check out the Health and Life Sciences learning path for all of the offerings.

LEARN MORE

Discussion stats
  • 1 reply
  • 1866 views
  • 0 likes
  • 2 in conversation