BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Is there anything incorrect about the following statement ? I am not getting the desired results.
CC = PUT(LEFT(PUT(DIAG,8.)),$&FMNAME..)

I get an error like below.
Line generated by the macro variable "FMNAME".
$I1208YB
--------
48
ERROR 48-59: The format $I1208YB was not found or could not be loaded.

Earlier on in the program I have :
NOTE: Entry I1208YB.FORMATC has been imported.
NOTE: Total number of entries processed in catalog OUT.FORMATS: 1
1 REPLY 1
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Suggest you share more code, specifically the format import step. But before that, consider that your format must be in the FMTSEARCH= catalog search list for SAS to find the format. Use SAS PROC OPTIONS to learn your current FMTSEARCH option, and either load/import your format to WORK.FORMATS catalog or add your personal format library content to the FMTSEARCH search order.

Scott Barry
SBBWorks, Inc.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 919 views
  • 0 likes
  • 2 in conversation