The following documentation contains test scripts
and expected results for validating the CDISC Builder
tool. Do the following to verify proper
installation:
-
Perform each test by performing the steps specified
by the instructions.
- Evaluate the results of each step by comparing
them with results described in the Documentation
column.
Instructions
1
The following instructions are accomplished through Windows
Explorer.
-
Navigate
to the validation sub-directory named "saspgm".
-
Right
mouse click on the sd2xpt1.sas program and select "Batch
Submit".
-
Verify
that it generates the file:sd2xpt1.log.
-
Open
the sd2xpt1.log.
-
Verify
that there will be 7 error messages:
ERROR: [sd2xpt] path for INPATH: c:\invalid does not exist.
ERROR: [sd2xpt] path for OUTPATH: c:\invalid does not exist.
ERROR: [sd2xpt] has an invalid OUTFILE parameter.
ERROR: [sd2xpt] cannot locate selected data invalid
ERROR: [sd2xpt]
the base code path does not exist.
Instructions
2
The following instructions are accomplished through Windows
Explorer.
-
Navigate
to the validation sub-directory named "saspgm".
-
Right
mouse click on the sd2xpt2.sas program and select "Batch
Submit".
-
Verify the
following three files are created:
-
sdxpt2a.xpt
- sdxpt2b.xpt
- sdxpt2c.xpt
-
Verify that the log
file sd2xpt2.log has no error.
Instructions
3
The following instructions are accomplished through Windows
Explorer.
-
Navigate
to the validation sub-directory named "saspgm".
-
Right
mouse click on the sd2xpt3.sas program and select "Batch
Submit".
-
Verify that only two xpt files which corresponding to the two
specified datasets created. The newly created files include: sd2xpt3a.xpt and sd2xpt3c.xpt.
-
Verify that the log
file sd2xpt3.log has no error.
Instructions
4
The following instructions are accomplished through Windows
Explorer.
-
Navigate
to the validation sub-directory named "saspgm".
-
Right
mouse click on the sd2xpt4.sas program and select "Batch
Submit".
-
Verify that the
following files have been created:
sd2xpt4.log
sd2xpt4a.sas7bdat
sd2xpt4a.xpt
sd2xpt4b.sas7bdat
sd2xpt4b.xpt
sd2xpt4c.sas7bdat
sd2xpt4c.xpt
sd2xpt4_back.sas
-
Verify that the log
file sd2xpt4.log has no error.
- Delete the transport files: sd2xpt4a.xpt, sd2xpt4b.xpt and
sd2xpt4c.xpt.
-
Right
mouse click on the sd2xpt4_back.sas and select "Batch Submit" to run the test.
- Verify that the transport files: sd2xpt4a.xpt, sd2xpt4b.xpt
and sd2xpt4c.xpt are recreated.
-
Verify that the log
file sd2xpt4_back.log has no error.
Instructions
5
The following instructions are accomplished through Windows
Explorer.
-
Navigate
to the validation sub-directory named "saspgm".
-
Right
mouse click on the sd2xpt5.sas program and select "Batch
Submit".
-
Verify that the
following files have been created:
sd2xpt5.log
sd2xpt5a.sas7bdat
sd2xpt5a.xpt
sd2xpt5b.sas7bdat
sd2xpt5b.xpt
sd2xpt5_back.sas
-
Verify that the log
file sd2xpt5.log has no error.
- Delete the SAS datasets including: sd2xpt5a.sas7bdat and sd2xpt5b.sas7bdat.
- Open
'sd2xpt5_back.sas' and comment out the base code section by
adding "/*" and "*/" to the beginning and
the end of the section.
- Uncomment reverse code statements by deleting
'/*' and '*/', then comment out the running code section by
putting it between "/*" and "*/".
-
Right
mouse click on the sd2xpt5_back.sas and select "Batch Submit" to run the test.
- Verify that the two deleted datasets are recreated.
- Verify that the
log file sd2xpt5_back.log has no error.
Instructions
6
The following instructions are accomplished through Windows
Explorer.
-
Navigate
to the validation sub-directory named "saspgm".
-
Delete
sd2xpta.sas7bdat, sd2xptb.sas7bdat and sd2xptc.sas7bdat if they
exist.
-
Right
mouse click on the sd2xpt6a.sas program and select "Batch
Submit".
-
Verify that the
following file has been created:
total.xpt
-
Right
mouse click on the sd2xpt6b.sas program and select "Batch
Submit".
-
Verify that the
following files have been created:
sd2xpta.sas7bdat
sd2xptb.sas7bdat
sd2xptc.sas7bdat
For more information, please contact MXI
.
|