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

SAS Training: Just a Click Away

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

Browse our catalog!

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