SUPPORT / SAMPLES & SAS NOTES
 

Support

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

DetailsAboutRate It

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

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Drug DevelopmentLinux for x644.54.5.19.4 TS1M29.4 TS1M2
SAS SystemSAS Clinical Trial Data TransparencyLinux for x644.54.5.19.4 TS1M29.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.