Running an invalid data detection scan
The invalid data detection scan is a dynamic scan that looks at a specific COBOL batch application. This topic explains the input fields required to run the scan.
Invalid data detection report
- NUMCHECK
- SSRANGE
- PARMCHECK
Required input fields
- COBOL program run JCL location
- Name of the sequential file or PDS(E) member that contains the JCL to run the main COBOL program in your application.
- COBOL program name
- Name of the main COBOL program in your application that gets run directly from the JCL in JCLNAME.
Note: The application scan requires READ and EXECUTE access for the application. To learn more about these permissions and how to change them, refer to Protecting a data set. To learn more about universal access, refer to Universal access authority (UACC) for data sets
- CBUINIT launcher program location
- Data set name where CBUINIT is located. Contact your system programmer if you need more details.
- Profiler data location
- Data set name where the profiling report for your application will be generated.
- COBOL Upgrade Advisor install location
- Data set name where the server component of CUAZ, CBUBE, is installed. Contact your system programmer if you need more details.
- COBOL Upgrade Advisor output location
- Data set name, including the member name, where the CUAZ output will be stored. The format is QUAL1.QUAL2.QUAL3(MEMBER).
- Runtime message location
- Data set name where the output of the runtime messages is stored.
Advanced input fields
- CUAZReportGenerator.py program path
- The UNIX path to the CUAZReportGenerator.py Python program. The default SMP/E installed location is usr/lpp/IBM/cbu/v1r1/pytools. Contact your system programmer if you need more details.
- Python install location
- The location of the Python executable that runs the script. The default SMP/E installed location is /usr/lpp/IBM/cyp/v3rXX/pyz/bin/Python3, where
XXis the Python 3 version. Contact your system programmer if you need more details. - Job name
- Name of the job to be submitted by the launcher. The default is USERID, where CUAZ replaces this with the USERID detected with your current account ID. The job name can be changed to follow a different naming scheme.
- HLQ
- Name of a temporary data set high-level qualifier. The default is USERID, where CUAZ replaces this with the USERID detected with your current account ID. The HLQ can be changed to follow a different naming scheme.
- Catalogued JCL procedure location
- Name of the sequential file/library member containing the cataloged procedure that executes the PGMNAME program.
Application summary
Verify that the application specified for the scan is correct, and provide the output report name.
Optionally, select Edit JCL to modify the JCL before submitting the invalid data detection scan. Any changes that you make to the JCL apply only to the current scan.
Source location settings
These input fields are required to enable source code linking to your code or copybook.
- Source file location
- Data set name where the source location of the code is stored.
- Listing location
- Data set name where the listing of the code is stored.
If the checkbox for Use the same source file and listing locations for all programs is selected, COBOL Upgrade Advisor for z/OSĀ® uses the same locations for any other source line that is opened.
- In the VS Code search bar, use the show and run command function to search for IBM COBOL Upgrade Advisor for z/OS: Reset Source Location.
- Select IBM COBOL Upgrade Advisor for z/OS: Reset Source Location.
This reopens the source location settings.
If the checkbox is deselected, the next source line opened reopens the source location settings. Your last entered locations are automatically populated in the source file location and listing file location.