-
Create
the following path if it does not already exist.
c:\temp\cdiscbld\input
c:\temp\cdiscbld\output
-
Submit
the following program:
libname testlib 'c:\temp\cdiscbld\input';
libname outtest 'c:\temp\cdiscbld\output';
data testlib.shoes;
set sashelp.ae;
run;
data testlib.company;
set sashelp.co;
run;
data testlib.manage;
set sashelp.dm;
run;
data testlib.shoes;
set sashelp.shoes;
run;
data testlib.company;
set sashelp.company;
run;
data testlib.manage;
set sashelp.manage;
run;
-
Click on the 'VARLEN'
icon to open the varlen screen.
-
Clear all text
in Source Data and click on 'OK' button.
-
Verify that
there is a warning message:
The field (Source Data) contains a missing value.
-
Type 'C:\invalidfolder'
in Source Data and click on 'OK' button.
-
Verify that
there is a warning message:
The field (Source Data) contains an invalid directory.
-
Click on
[...] button next to Source Data text input.
-
Navigate to
the folder that does not contain any dataset, such as
:output folder.
-
Click on
'OK' button.
-
Verify that
there is a warning message:
The Datasets list is empty.
-
Create a
folder with the name is longer than 200 characters, such
as:
-
Click on
[...] button next to Source Data text input.
-
Navigate to
that folder and click 'OK' button.
-
Verify that
there is a warning message:
You cannot select a path longer than 200 characters
using Select dialog. Please enter the path directly to
the Source Data field.
-
Click on
[...] button next to Source Data text input.
-
Navigate to
folder that contains some datasets, such as: input
folder.
-
Verify that
these datasets will be displayed in Data Sets list box.
-
Click on the 'VARLEN'
icon to open the varlen screen.
-
Click on
[...] button next to Source Data text input.
-
Navigate to
'C:\temp\cdiscbld\input' folder.
-
Verify that
DM, AE, CO... will be displayed in Data Sets list box.
-
Choose AE in
Data Sets list and click on 'Preview' button.
-
Verify that
there is a report shows all values in AE dataset.
-
Submit
the following program:
libname testlib 'c:\temp\cdiscbld\input';
proc print data=testlib.shoes;
run;
-
Verify that
the result of clicking on Preview button is similar with
the result of proc print command.
-
Click on
'Select All' button and verify that all datasets are
selected.
-
Click on
'Select All' button again and verify that all datasets
are deselected.
-
Click on
'Select All' button again and then click on 'Preview'
button.
-
Verify that
there is a report that shows content of all datasets.
-
Click on 'CDISC'
button and verify that CO, AE and DM datasets are selected.
-
Click on the 'VARLEN'
icon to open the varlen screen.
-
Verify that
the default value of Round is 10.
-
Click on
[...] button next to Source Data text input.
-
Navigate to
'C:\temp\cdiscbld\input' folder.
-
Verify that
DM, AE, CO... will be displayed in Data Sets list box.
-
Choose
'Company' in
Data Sets list.
-
Navigate to
'C:\temp\cdiscbld\input' folder.
-
Open the
Company dataset to verify that the variable 'LEVEL2' has
a value with the longest is 8 characters.
-
Close the
Company dataset.
-
Click on 'OK'
button.
-
Verify that
the report will be displayed.
-
Verify that
the new length of variable 'LEVEL2' is 10.
-
Choose 20 in
Round combo box.
-
Click on 'OK'
button.
-
Verify that
the report will be displayed.
-
Verify that
the new length of variable 'LEVEL2' is 20.
-
Navigate to
'C:\temp\cdiscbld\input' folder.
-
Choose None in
Round combo box.
-
Click on 'OK'
button.
-
Verify that
the report will be displayed.
-
Verify that
the new length of variable 'LEVEL2' is 8.
-
Click on the 'VARLEN'
icon to open the varlen screen.
-
Click on [...]
next to Source Data text input.
-
Navigate to
'C:\temp\cdiscbld\input' folder.
-
Choose
'Company' in Data Sets list.
-
Click on 'OK'
button.
-
Verify that
there is a report will be displayed.
-
Close report
and type 'C:\temp\definedoc\output\new.html' in Output.
-
Choose 20 in
Round combo box.
-
Click on
'Cancel' button.
-
Verify that
the varlen screen will be closed and will not create
report.
-
Click on the 'VARLEN'
icon to open the varlen screen.
-
Verify that the value of Round is 20.
-
Click on the 'VARLEN'
icon to open the varlen screen.
-
Click on [...]
next to Source Data text input.
-
Navigate to
'C:\temp\cdiscbld\input' folder.
-
Choose
'Company' in Data Sets list.
-
Choose 20 in
Round combo box.
-
Type 'C:\temp\cdiscbld\output\new.html'
in Output.
-
Click on 'Save
Code' button.
-
Type 'C:\temp\cdiscbld\output'
in Path text field.
-
Verify that
the file name is 'varlen_company'.
-
Click on 'OK'
button.
-
Verify that
the View Code screen will be displayed.
-
Verify that
all information in view code is correct.
-
Verify that
the varlen_company.sas will be created in
'C:\temp\cdiscbld\output'.
-
Navigate to
'C:\temp\cdiscbld\output'.
-
Right click on
'varlen_company.sas' and select 'Batch Submit'.
-
Verify that
there is a 'new.html' will be created in 'C:\temp\cdiscbld\output'.