Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What do you feel about hardcoding?

Answers were Sorted based on User's Feedback



What do you feel about hardcoding?..

Answer / phani

hardcoding is explicitly stating the value of a symbolic
object or variable in a program

hardcoding is a bad proctice bcoz of 2 reasons:
1) it over rides the database controls in the clinical data
management systems and the CFR 21 Part 11 controls may be
compromised.
2) data often change in a trial over time and the hadcode
that is written today may not be valid in the future.

Is This Answer Correct ?    9 Yes 0 No

What do you feel about hardcoding?..

Answer / saurabh gupta

It's a best practice not to hardcode values in code until
or unless it's not very necessary. Always try to use
dynamic variables in your code it will increase the
felxibility of the code.

Ex let say you have to run one of your code every year and
one of your condition needs a date which is begning of the
year and you hardcoded your value like this
%Let YBEG = '2007-01-01'

Then every year when you have to run this code you have to
change the date but if you use daynamic variable it will
resolve automatically.
ex YBEG = Y_BEG_0.

Is This Answer Correct ?    4 Yes 0 No

What do you feel about hardcoding?..

Answer / 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

More SAS Interview Questions

1 new york 7,262,700 2 los angeles 3,259,340 3 philadelphia 1,642,900 how to read the above data using input statement consider the above data is in txt format externally u have to use infile and input statement.

9 Answers   Quintiles,


what is validvarname and varnum? why we are using this options; explain with a syntax for this options?

1 Answers   Max India,


What is the difference between SAS Data step and SAS PROC SQL, and which is better?

1 Answers   TCS,


What does the RUN statement do?

0 Answers   Quintiles,


I am looking to buy a sas advance book. So any one can guide me that which one i should buy.

0 Answers  


what is the difference between nodup and nodupkey options? : Sas programming

0 Answers  


what are input dataset and output dataset options? : Sas programming

0 Answers  


What are the scrubbing procedures in sas?

0 Answers  


what are 5 ways to perform a table lookup in sas? : Sas-administrator

0 Answers  


What is the Program Data Vector (PDV) and What are its functions?

9 Answers  


What is the difference between an informat and a format. Name three informats or formats.

6 Answers  


how to intersect the tables by using PROC MIXED?

1 Answers   CitiGroup,


Categories