Problem Note 53469: SAS® Drug Development 4.5 - Character (masked) job parameters used in macro calls are displayed in SAS® LOGs with MPRINT option set ON
SAS® Drug Development has a job parameter type called Character (masked). It lets users mask entered text including passwords. For example, if a user assigns the value "123" to a Character (masked) job parameter, then it is displayed as "***" in a SAS LOG. This works as long as the MPRINT option is OFF. In SAS® Drug Development 4.5, the MPRINT option default setting to ON in the preamble code executed for each SAS job submission. Users can override this setting if they set the MPRINT to OFF at the start of each SAS job submission.
Consider a SAS® Drug Development job with a Character (masked) parameter called var1, that calls this SAS program:
%macro usermacro(string);
data _null_;
x="&string";
run;
%mend;
%usermacro(&var1);
The expected behavior with MPRINT option set to OFF is that the SAS LOG does not display the Character (masked) text as seen in this snippet:
33 %macro usermacro(string);
34 data _null_;
35 x="&string";
36 run;
37 %mend;
38
39 %usermacro(&var1);
The actual behavior with MPRINT option set to ON is that the SAS LOG displays the Character (masked) text as seen in this snippet:
33 %macro usermacro(string);
34 data _null_;
35 x="&string";
36 run;
37 %mend;
38
39 %usermacro(&var1);
MPRINT(MYMAC): data test;
MPRINT(MYMAC): x="Masked string";
MPRINT(MYMAC): run;
Operating System and Release Information
SAS System | SAS Drug Development | Linux for x64 | 4.5 | 4.5.1 | 9.4 TS1M2 | 9.4 TS1M2 |
SAS System | SAS Clinical Trial Data Transparency | Linux for x64 | 4.5 | 4.5.1 | 9.4 TS1M2 | 9.4 TS1M2 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | alert |
Date Modified: | 2014-09-02 14:36:43 |
Date Created: | 2014-07-10 18:31:58 |