SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
telligent
Quartz | Level 8

warning: WARNING: An argument to the function QUOTE referenced by the %SYSFUNC or %QSYSFUNC macro function is out of range.
warning: WARNING: Argument 1 to function TRANSLATE referenced by the %SYSFUNC or %QSYSFUNC macro function is out of range.

 

Is this warning something I should be concerned about if when I %put my macro variable, it seems to be what I expect it to be? 

2 REPLIES 2
PaigeMiller
Diamond | Level 26

Run this command, and then run your code again:

 

options mprint symbolgen mlogic;

 

Then show us the whole log (or at least two whole PROCS or two whole DATA steps before these errors and including these errors), so we can see the code and the ERRORs, WARNINGs and NOTEs; not these very brief parts of the log which tell us nothing. Copy the log as text, then preserve the formatting by pasting the log as text into the window that appears when you click on the </> icon here in the SAS communities. DO NOT PROVIDE THE LOG ANY OTHER WAY.

--
Paige Miller
ChrisNZ
Tourmaline | Level 20

Is this warning something I should be concerned about if when I %put my macro variable, it seems to be what I expect it to be? 

Very few warning scan be ignore (for example those about title size).

Your code should be warning free.

 

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

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
  • 2 replies
  • 2198 views
  • 0 likes
  • 3 in conversation