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

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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