BookmarkSubscribeRSS Feed
jayram99
Calcite | Level 5

We are getting below error message in QUAL Region. We didn't made any changes to code and data.

Please see the detailed information in attachment as i couldn't paste the information.

Appreciate your kind Help.

Thank you,

Jayaram

1 REPLY 1
FriedEgg
SAS Employee

I would guess that somewhere in your datastep you are defining the column for your date as a character field.  Remove the commented line below to duplicate your issue.  You will have to review your code since it is not shared.

data foo;

*length extract_end_dte $20;

input @ 51 agency                   $4.

       @ 55 data_series              $4.

       @ 59 version_num               3.

       @ 62 extract_typ              $1.

       @ 63 extract_end_dte  ?? yymmdd8.

       @ 71 extract_end_time ??   time8.

       @ 79 number_of_b               5.

       @ 84 data_type                $4. ;

cards;

00000000000000000080000000000000000000000000000000ABCDXYZA001D2012051019:03:4900397TEST

;

run;

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!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 1 reply
  • 3851 views
  • 0 likes
  • 2 in conversation