DATA Step, Macro, Functions and more

ERROR 48-59: The informat $YYMMDD was not found or could not be loaded.

Reply
N/A
Posts: 1

ERROR 48-59: The informat $YYMMDD was not found or could not be loaded.

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

Attachment
Trusted Advisor
Posts: 1,301

Re: ERROR 48-59: The informat $YYMMDD was not found or could not be loaded.

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;

Ask a Question
Discussion stats
  • 1 reply
  • 1323 views
  • 0 likes
  • 2 in conversation