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

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 688 views
  • 0 likes
  • 3 in conversation