Date: Wed, 1 Sep 2004 13:56:02 -0400
Reply-To: "Fehd, Ronald J. (PHPPO)" <RJF2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (PHPPO)" <RJF2@CDC.GOV>
Subject: Re: QC of program
Content-Type: text/plain; charset="us-ascii"
> From: vickey
> Can any body please tell me how to QC the code. I know how to
> QC the data in CDM department. but i don't have the idea
> about the QC of code.
Quality Control of programs: jobs, routines, (methods), subroutines
involves building a set of test data
of normal(expected) values
and the occasional outlier
which is designed to test the program's ability
to either (check all that apply)
* miscellaneous appropriate pro-action: assertions
* send an e-mail reporting it,
* flag it,
* route to another data set
* write to log,
* miscellaneous appropriate reaction
normal values are usually in format catalogs
input, process, and output
are documented in the program header
test data are at the end of the program, in comments
so that someone else can run the test section
and compare with the output
which is below the test section.
/* name: ProgA.sas
input:
process:
output:
*** */
*program here;
/*test section ***
*test program here;
/* end of test section ***/
/*test log ***
* ...;
/* end of test log ***/