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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 614 views
  • 0 likes
  • 3 in conversation