Hi,
I am researching for any options or commands to hide or mask a certain set of macro variables in the log. Just wondering if anyone has suggestions?
45 +/*******ORACLE PASS THRU CONNECTION***********/
46 +
48 +%LET ORAPW=mypw; *pw needs to be in lowercase;
49 +%LET ORAPATH=myorapt;
SYMBOLGEN: Macro variable ORAID resolves to rptusr
50 +
51 +%PUT |&ORAID|;
|myid|
SYMBOLGEN: Macro variable ORAPW resolves to rpt124usr
52 +%PUT |&ORApw|;
|mypw|
SYMBOLGEN: Macro variable ORAPATH resolves to URNPRR2
53 +%PUT |&ORAPATH|;
|myorapt|
This log is from a separate SAS Parms file out on the unix server in our environment. We would ideally like to put the symbolgen and mprint at the top of the SAS code then invoke this file containing the environment variables but would like to see something like this -
47 +%LET ORAID=XXXXXXXXXX; *User ID needs to be in lowercase;
51 +%PUT |&ORAID|;
|XXXXXXX|
See if Sherman and Carpenter(2009) helps.
Hi,
I saw that paper too. Thank you for the tip.
Another option is _NOLOG_ not sure how popular that is. Any one familiar with that?
Thanks,
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.