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.

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

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