BACKGROUND
Thinking about moving from SAS 9 to SAS Viya, start with the SAS Content Assessment Tool. It is a free download off support.sas.com. The SAS 9 Content Assessment Tool is batch tool which contain many applications. The applications provide a wealth of information about your SAS 9 Environment. The SAS 9 Content Assessment tool is a part of the planning phase of migrating content from SAS 9 to SAS Viya. With the data provided the SAS Content Assessment Tool, it will give you great success for the deployment and migration to SAS Viya.
DOWNLOAD FILES
There are two sets of files to choose from: 1) SAS 9 Content Assessment <Version Number> for Linux PC Users or SAS 9 Content Assessment <Version Number> for Windows PC Users (Figure 1) or 2) SAS 9 Content Assessment <Version Number> for AIX, SAS 9 Content Assessment <Version Number> for Linux or SAS 9 Content Assessment <Version Number> for Windows (Figure 2) based on the respective operating system.
Figure 1: SAS 9 Content Assessment for PC Users
The set of files in Figure 1 are for the Linux PC Users or Windows PC Users. These files should be used when metadata is not installed. As an example of when to use these set of files, if the user has Base SAS and a thin client on their desktop. Sometimes, you will hear this version referred to as SAS Content Assessment Lite or the PC Version of Content Assessment.
Figure 2 is for users who have Planned deployments of SAS installed at their site. For example, if you used a sample plan file or custom plan file including a metadata server during the installation of the SAS, you should these set of files. This version is referred to the Full Content Assessment or Content Assessment for Planned Deployments.
Once you choose the correct file type, unpack the zip file or untar the tar file, based on the Operating System on the machine that will run the content assessment.
Additional Information. If there is a Test server, Production server, QAT server, with three separate metadata servers, then the content assessment tool should run on each environment.
DESCRIPTION OF APPLICATIONS
PC User Version
Application |
Description |
Code Check |
Displays content from migrating from SAS 9 to SAS Viya |
Inventory Content |
Counts the number of artifacts on the SAS 9 Environment |
Gather SAS Code |
Scrapes SAS code from catalogs, DI Studio, EG, EM, etc and writes that code to a .sas files |
Planned Deployment Version
Application |
Description |
Application Usage |
Displays the number of frequent users and applications |
Code Check |
Displays content from migrating from SAS 9 to SAS Viya |
Create Enterprise Miner Batch code |
Scrapes SAS code from Enterprise Miner projects and writes that code to a .sas files |
I18nCode Check |
Identifies information about .sas files compatible with utf-8 encoding in SAS Viya |
Inventory Content |
Counts the number of artifacts on the SAS 9 Environment |
Gather SAS Code |
Scrapes SAS code from catalogs, DI Studio, EG, EM, etc and writes that code .sas files |
Published Accessed Content |
Aggregates the data into a data mart |
Summarize SAS Logs |
Displays step procedures and identities program and steps which I can be optimized |
CONFIGURATION
PC User Version
Figure 3 is an example of setup.txt completed with the information in the SAS_HOME, PATH and LABEL parameters.
Planned Deployment Version
Figure 4: SAS 9 Content Assessment for Deployed Environment
Additional Information. The SAS Code Check reports have great details about which .sas files are a good candidate to migrate to SAS Viya for various applications like Enterprise Guide, Data Integration Studio, etc if gatheredSASCode is included in the pathslist.txt file.
Figure 5: Screenshot of setenv.yaml
Figure 5 is an example of setenv.yaml completed with the information in the SAS_HOME and ASSESSMENT_CONFIGDIR parameters.
Figure 6: Screenshot of metaparm.sas
Additional Information. Use the SAS encrypted password for the metadatauserpassword. For documentation on SAS Encrypted password, following the link.
Execution of the Content Assessment
PC User Version
Planned Deployment Version
Additional Information. You may not need all run all applications. For example, if you do not use Enterprise Miner Projects you can skip Step 14 and 15. Make sure you read the documentation in the references section for additional parameters when running the applications.
RESULTS
PC User Version
Planned Deployment Version
CONCLUSION
The SAS Content Assessment is a great tool to help you understand what exists on your SAS 9.4 Environment. Based on the installation of SAS (planned deployment or non-planned deployment), SAS 9 Content Assessment Tool offers flexibility to collect, analyze data and see the results of that data for the SAS 9 Environment. Each application provides unique information about the SAS 9 Environment and helps prepare to move content from SAS 9 to SAS Viya.
REFERENCES
Documentation of the SAS Content Assessment for Windows PC Users – https://go.documentation.sas.com/doc/en/sasadmincdc/v_055/contentassessmentwin/titlepage.htm
Documentation of the SAS Content Assessment for Linux PC Users – https://go.documentation.sas.com/doc/en/sasadmincdc/v_055/contentassessmentunx/titlepage.htm
Documentation of the SAS 9 Content Assessment - https://go.documentation.sas.com/doc/en/sasadmincdc/v_055/contentassessment/titlepage.htm
ESM and S9CA: Useful Tools for Migration from SAS 9 to SAS Viya –
Three steps to migrate OS Scheduler SAS Scheduling Jobs from SAS 9 to SAS Viya - https://blogs.sas.com/content/sgf/2023/09/29/three-steps-to-migrate-os-scheduler-sas-scheduling-jobs...
Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.
Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.
The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.