BookmarkSubscribeRSS Feed
SuzyG_
Calcite | Level 5

I'm getting the following error when reading in a dataset for XPORT:

ERROR: The character variable PARAMCD has too long a value for the XPORTOUT library.

I manually checked the incoming dataset, and the length of PARAMCD is $8.  Is there something else that could be triggering this error?

It goes through CPORT just fine, but OpenCDISC will not recognize a .xpt file created by CPORT. Smiley Sad

Thanks!

Suzy

3 REPLIES 3
data_null__
Jade | Level 19

Check again.  Run PROC CONTENTS and show the result here.

SuzyG_
Calcite | Level 5

data_null_;, you rock!!  That's exactly it.  The length is > 200, and only formatted to $8.

And I love the pic of your dog. Smiley Happy  My daughter has a beagle mix.

Thanks a million!

Suzy

data_null__
Jade | Level 19

Glad you got it figured.

You might be interested in a program to re-size all your character variables.  Here are a couple of choices

https://communities.sas.com/message/163032#163032

Merry Bell (rescued on Christmas day) is, according the the neighbor who called us about the stray dog she saw at her house, is a Red Bone Walker Hound Mix.   Sort of a tall beagle.

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 3 replies
  • 5958 views
  • 0 likes
  • 2 in conversation