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.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register 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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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