BookmarkSubscribeRSS Feed
pope1970
Calcite | Level 5

How can I avoid this error. I tried to put at the top of my program

OPTIONS nofmterr;

but still I am getting the same error

1 REPLY 1
Astounding
PROC Star

You could easily cause this problem.  For example, your code could contain:

newvar = put(oldvar, nlnum.);

So find out where in your program you are referring to the nlnum format.

A more complex scenario would involve this combination:

(1) You have an existing character format named $nlnum

(2)  You try to print a numeric variable using this character format

But the starting point is still to examine your code and find out where NLNUM appears.

Good luck.

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.

Explore Now →
Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

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