DATA Step, Macro, Functions and more

what does %NRBQUOTE mean?

Reply
Occasional Contributor
Posts: 10

what does %NRBQUOTE mean?

Hi there,

 

I am confused about "%NRBQUOTE", I do not know what is this even after I searched it in sas library.

 

Can someone please explain it in plain and brief language to me?

 

I want to know what does it mean and how may I use it.

 

Thanks

 

Occasional Contributor
Posts: 13

Re: what does %NRBQUOTE mean?

Occasional Contributor
Posts: 10

Re: what does %NRBQUOTE mean?

[ Edited ]

I mean I just cannot understand what it says in this link...

Frequent Contributor
Posts: 82

Re: what does %NRBQUOTE mean?

[ Edited ]

Do you understand what %BQUOTE does?  If so %NRBQUOTE does basically the same thing but also masks the characters & and % as well as the ones masked by %BQUOTE.  To be honest, quoting is often a confusing mess to me, I've especially had problems with quoting when I'm working with SAS and Oracle together since Oracle has a completely different quoting facility, and they don't mesh well.  I've often found trial and error to be the best way to get my code to work right in situations like this.

 

From the documentation:

%NRBQUOTE is most useful when the resolved value of an argument might contain

  • strings that look like macro variable references but are not, so the macro processor should not attempt to resolve them when it next encounters them.
  • macro invocations that you do not want the macro processor to attempt to resolve when it next encounters them.
     
     
Super User
Posts: 17,912

Re: what does %NRBQUOTE mean?

Search the term on LexJansen.com for papers written on the topic.

Ask a Question
Discussion stats
  • 4 replies
  • 192 views
  • 0 likes
  • 4 in conversation