What do you feel about hardcoding?

Answer Posted / pnprasad

Hardcoding example:

data endstudy;
set endstudy;
if subjid = “xxxxxx” then
discterm = “Death”;
run;
it is known from non-database sources that at study
termination, subject
“xxxxxx” died.
With hardcoding there is no clear audit trail of data
change and CFR 21 – Part 11 controls might be considered
compromised.

Improved Hardcoding example;

data endstudy;
set endstudy;
**** HARDCODE APPROVED BY DR."nnn" AT SPONSOR ON 02/02/2008;
if subjid = “xxxxxx” and “&sysdate” <= “01MAY2005”d then
do;
discterm = "Death";
put “Subject “ subjid “hardcoded to termination reason”
discterm;
run;

For instance, there may be an upcoming data safety
and monitoring board (DSMB) or independent data monitoring
committee (IDMC)meeting where the clinical trial must be
monitored for safety information using the best
available data.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command is used to save logs in the external file?

566


Differentiate input and infile.

594


How can you limit the variables written to output dataset in data step?

753


For clinical entire study how many tables will create approx?

1520


How many data types are there in SAS?

634






Difference between SAS STATA & SPSS?

681


In sas, what are the areas that you are most interested in? : sas-grid-administration

637


what is operational data and operational system? : Sas-di

633


if you were told to create many records from one record, show how you would do this using array and with proc transpose? : Sas programming

544


how does sas handle missing values in sort order? : Sas programming

532


Which function is used to count the number of intervals between two sas dates?

569


for what purpose would you use the retain statement? : Sas programming

583


What are the difficulties u faced while doing vital signs table or dataset?

1933


What are the functions used for character handling?

644


Describe a time when you were really stuck on a problem and how you solved it?

2204