How do I run the code analyser to analyse z/OS programs?

Nico Chart_21517
Nico Chart_21517
Altair Employee
edited June 2023 in Altair RapidMiner

The Code Analyser can only be run from the Windows Platform within the Workbench, so SAS source scripts need to be imported into a Workbench Project. If you are transferring files from a mainframe then it is quite common to use the XMIT method to transfer z/OS files to PC:
1) on z/OS, create an .XMIT file from the original PDS(E) using the TSO XMIT command.
2) download the z/OS .XMIT file to the PC as a binary image
3) use the PC utility called "XMIT Manager" (available via CBTTAPE.org) to extract the contents of the .XMIT file to a PC directory.
Once the Project exists, use the Project Explorer to highlight the Project name by selecting it.
Use the right hand mouse button to open a pop-up menu and then select
Analyse->Script Compatibility
A list of all your SAS language programs will be displayed with a count of the number of potential problems encountered. The Distinct Problem Count shows the number of separate issues.
If a file has a potential problem it is emphasized in bold and becomes selectable to open the list of problems found in more detail. Selecting each problem shows the line location number and selecting that shows the line in the source file.
You can also use theExport results to Excel hyperlink on the first page of the Script Compatibility Report to get a Excel workbook of the issues found.
The code analyser is not 100% accurate because it is a static analyser but it will give you an overall idea of how much of the SAS language is supported by SLC.