BookmarkSubscribeRSS Feed
deleted_user
Not applicable
I am trying to trap rsubmits in code submitted for production. The program is turning into a SAS word reader. Has anyone done this before? Swip and adapt is so much better than inventing from scratch 🙂
2 REPLIES 2
sbb
Lapis Lazuli | Level 10 sbb
Lapis Lazuli | Level 10
Please entertain the forum subscribers with a response to the question below:

Why are you doing this?


Scott Barry
SBBWorks, Inc.
Peter_C
Rhodochrosite | Level 12
rhrichardson

you might as well switch on option "implicit macros" aka (IMPLMAC) then have a macro named rsubmit in one of the paths of your sasautos system option.
That macro will then "override" or "intercept" normal usage of the rsubmit statement.
So it needs to take whatever action you want on discovering an "rsubmit" as well as performing that rsubmit .
You enter a world where any "word" in your programs will be checked to see if it is a macro. That might be just too much risk.

it's been a long time since I played in that area - just too much pain - but your objectives may be very difficult to capture in any other way.

good luck
peterC
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
  • 1296 views
  • 0 likes
  • 3 in conversation