This page provides a description of different logs created when generating a snapshot with analysis in Mainframe - CICS.
Mainframe Analyzer will help analyze the JCL language compliant source code.
For 8.0.x : CAST Management Studio - Help > Configuration > Preferences > CAST General
For official documentation 8.0.x : CAST AIP 8.0.x Documentation -> CAST AIP 8.0.x Documentation -> Release Notes -> Supported Technologies -> Mainframe
In this page, the different logs lines corresponding to the Run Mainframe Analyzer - JCL are listed with functional and technical explanation of the logs that it generates.
If you want to know more about Run Analyzer task related to other technologies, please:
CAST-MS<ID>.log.txt
This section lists the information logged into the Cast-MS log file when the Analysis is run and provides detailed information about the Environment, Type of analyzer and Settings and Command line to run the Analyzer.
Environment Information
In the CAST MS log file we have many useful information regarding the environment : the CAST Installation folder used (we can find it in the command line to run the tool), the LISA and LTSA location and log file location.
Using arguments
INF: 2016-09-19 09:38:26: Loading ini file: C:\Users\SBR\Documents\8.0.0_Build8525_flat_for_customer\CastGlobalSettings.ini
INF: 2016-09-19 09:41:12: load from database done in 6231 ms.
INF: 2016-09-19 09:41:13: Server 'css2sup03:2280 on CastStorageService' found
INF: 2016-09-19 09:41:21: Environment
Product: CAST-MS
Version: 8.0.0.1
License Key: CAST_PS:1:20160930:UHURRKKR
Connection: cb800_logs_sbr_mngt on CastStorageService _ css2sup03:2280
Log file path: C:\Users\SBR\AppData\Local\Temp\CAST\CAST\8.0/CAST-MS.log.txt
Job Generation
Job generation for Application "Mainframe_JCL"
INF: 2016-09-19 09:46:08: User Defined Module "Mainframe_JCL full content" saved in Analysis Service "cb800_logs_sbr_local"
INF: 2016-09-19 09:46:11: Dashboard Service "cb800_logs_sbr_central" saved in Dashboard Service "cb800_logs_sbr_central"
INF: 2016-09-19 09:46:13: System "My System" saved in Dashboard Service "cb800_logs_sbr_central"
INF: 2016-09-19 09:46:13: Application "Mainframe_JCL" saved in Dashboard Service "cb800_logs_sbr_central"
INF: 2016-09-19 09:46:13: User Defined Module "Mainframe_JCL full content" saved in Dashboard Service "cb800_logs_sbr_central"
INF: 2016-09-19 09:46:13: document saved
INF: 2016-09-19 09:46:13: Task message: No Task message
INF: 2016-09-19 09:46:13: No associated log file
Synchronize Services
INF: 2016-09-19 09:46:13: Task message: No Task message
INF: 2016-09-19 09:46:13: No associated log file
INF: 2016-09-19 09:46:13: ending Task Synchronize Services
INF: 2016-09-19 09:46:13: starting Task Application "Mainframe_JCL"
INF: 2016-09-19 09:46:13: starting Task Run analysis for 'Mainframe_JCL'
INF: 2016-09-19 09:46:13: starting Task Run Mainframe Analyzers "JCL_14380"
Command Line to Run the Analysis
INF: 2016-09-19 09:46:13: starting Task Run Mainframe Analyzers "JCL_14380"
INF: 2016-09-19 09:46:13: C:\Users\SBR\Documents\8.0.0_Build8525_flat_for_customer/anarun.exe -CONNECT_PROFILE('css2sup03:2280 on CastStorageService.cb800_logs_sbr_local') -RUN_AU(8901,8903,'C:\CASTMS\LargeStorage\LISA\697d20e4a90b4b58a2c7e031c750c8a3\Scr14380\JobSettings.xml') -MANAGED(8901) -SESSION_ID(8903) -LOG('C:\CASTMS2140\Delivery\logs\697d20e4a90b4b58a2c7e031c750c8a3\JCL_14380-20160919094613.castlog',TRUNCATE) -LARGESTORAGE('C:\CASTMS\LargeStorage','C:\CASTMS\LargeStorage','697d20e4a90b4b58a2c7e031c750c8a3/Scr14380') -LOGIN(,CASTCORP\sbr,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXIT
Job generation for Application "Mainframe_JCL"
INF: 2016-09-19 09:46:27: About to run JOB_MAINFRAME_ANALYZER job 'JCL_14380'.
INF: 2016-09-19 09:47:34: Execution date=2016/09/19 07:47
INF: 2016-09-19 09:47:34: Execution duration=0 days, 00 hours, 01 mins, 06 secs
INF: 2016-09-19 09:47:34: Execution result=success
INF: 2016-09-19 09:47:39: Loading ini file: C:\Users\SBR\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult8903.INI
INF: 2016-09-19 09:47:39: Loading ini file: C:\Users\SBR\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult8903.INI
INF: 2016-09-19 09:47:39: Task message: No Task message
INF: 2016-09-19 09:47:39: Log file: C:\CASTMS2140\Delivery\logs\697d20e4a90b4b58a2c7e031c750c8a3\JCL_14380-20160919094613.castlog
INF: 2016-09-19 09:47:39: ending Task Run Mainframe Analyzers "JCL_14380"
My Package_<Execution_Unit_ID>-<DateTime>.castlog
This section shows all the configuration messages. All the options configured in CAST- MS like the local base name,LISA/LTSA folder destination,file extensions included in analysis,Schema Name, any Custom environment profiles ,Package Name that are required to run a perfect analysis are shown in the log message during the beginning.
Environment Information
Timestamp Level Topic Body Who Error Number Runtime File Line Module Source Line Source Column Runtime Context Source
2016-09-19 09:46:17.753 Information INTERNAL ; Body 64-bit environment
2016-09-19 09:46:17.754 Information INTERNAL ; Body LISA folder: C:\CASTMS\LargeStorage
2016-09-19 09:46:17.754 Information INTERNAL ; Body LTSA folder: C:\CASTMS\LargeStorage
2016-09-19 09:46:17.754 Information INTERNAL ; Body LSA relative folder: 697d20e4a90b4b58a2c7e031c750c8a3/Scr14380
2016-09-19 09:46:22.321 Information INTERNAL ; Body Using Knowledge Base on schema cb800_logs_sbr_local
Run Analysis is about to Start
2016-09-19 09:46:24.426 Information MODULMSG ; Body Loading meta model from repository
2016-09-19 09:46:27.933 Information MODULMSG ; Body Meta model loaded
2016-09-19 09:46:27.933 Information INTERNAL ; Body RunAnalysis started
Configuration Information of Package
2016-09-19 09:46:28.283 Information INTERNAL ; Body Analysis Unit description :
2016-09-19 09:46:28.283 Information INTERNAL ; Body Platform: IBM z/OS : 1
2016-09-19 09:46:28.283 Information INTERNAL ; Body IMS File Extensions : *.dbd;*.psb
2016-09-19 09:46:28.283 Information INTERNAL ; Body JCL File Extensions : *.jcl;*.prc;*.mbr;*.inc
2016-09-19 09:46:28.283 Information INTERNAL ; Body Name : JCL
2016-09-19 09:46:28.283 Information INTERNAL ; Body Tabular Length : 8
2016-09-19 09:46:28.283 Information INTERNAL ; Body Working Folders
2016-09-19 09:46:28.283 Information INTERNAL ; Body Custom Environment Profiles
2016-09-19 09:46:28.283 Information INTERNAL ; Body Source files
2016-09-19 09:46:28.283 Information INTERNAL ; Body File Path : C:\LogsProject\TSQL\Deploy\Mainframe_JCL\My Package
2016-09-19 09:46:28.283 Information INTERNAL ; Body Permission : Include
2016-09-19 09:46:28.283 Information INTERNAL ; Body Use custom configuration
2016-09-19 09:46:28.283 Information INTERNAL ; Body Paragraph Cyclic Call Detection - String Concatenation : 20
2016-09-19 09:46:28.283 Information INTERNAL ; Body Paragraph Cyclic Call Detection - Procedure Call Depth : 20
2016-09-19 09:46:28.283 Information INTERNAL ; Body Paragraph Cyclic Call Detection - Local Procedure Complexity : 20
2016-09-19 09:46:28.283 Information INTERNAL ; Body Dynamic Call Resolution and Paragraph Call Graph - String Concatenation : 1000
2016-09-19 09:46:28.283 Information INTERNAL ; Body Dynamic Call Resolution and Paragraph Call Graph - Procedure Call Depth : 500
2016-09-19 09:46:28.283 Information INTERNAL ; Body Number of Instances : 200000
2016-09-19 09:46:28.283 Information INTERNAL ; Body Open in Loop Detection - Procedure Call Depth : 10
2016-09-19 09:46:28.283 Information INTERNAL ; Body Open in Loop Detection - String Concatenation : 10
2016-09-19 09:46:28.283 Information INTERNAL ; Body Save Data found in copy books : 0
2016-09-19 09:46:28.283 Information INTERNAL ; Body Save Sections and Paragraphs : 1
2016-09-19 09:46:28.283 Information INTERNAL ; Body Un-initialized Variable Detection - Local Procedure Complexity : 20
2016-09-19 09:46:28.284 Information INTERNAL ; Body Un-initialized Variable Detection - Procedure Call Depth : 20
2016-09-19 09:46:28.284 Information INTERNAL ; Body Use Inference Engine : 1
2016-09-19 09:46:28.284 Information INTERNAL ; Body Data Structures : Do not save data
2016-09-19 09:46:28.284 Information INTERNAL ; Body SESSION CONTEXT details: 8901 ; 8903 = "Mainframe_JCL"."JCL_14380"
Mainframe-JCL Online Analysis Started
This section shows the Total physical memory analysis step has and it processes the source code analysis of all the selected Analysis Units. It shows the number of external link components loaded, validation results and the files that are being analyzed.
We know that the analysis is starting with the statement : About to run <Execution unit name>
2016-09-19 09:46:28.284 Information INTERNAL ; Job execution About to run JOB_MAINFRAME_ANALYZER job 'JCL_14380'.
2016-09-19 09:46:29.687 Information MODULMSG ; Job execution Total physical memory: 8155 MB.
Dependencies : External links loaded
It gives information about the number of Client Server objects that would be involved in the analyzer in order to create external links.
2016-09-19 09:46:59.508 Information MODULMSG ; Job execution External link component has loaded 0 objects
2016-09-19 09:47:00.210 Information INTERNAL ; Job execution Validation successful.
Analyzing JCL File
2016-09-19 09:47:04.769 PARSING ; Job execution Analyzing JCL Job SAMPINST. C:\LogsProject\TSQL\Deploy\Mainframe_JCL\My Package\JobProcLinks\TESTJCLJPDemo.jcl
2016-09-19 09:47:05.120 PARSING ; Job execution Analyzing JCL Job CNDSAMP. C:\LogsProject\TSQL\Deploy\Mainframe_JCL\My Package\JobConditions\jobConditionIfElse.jcl
2016-09-19 09:47:05.120 PARSING ; Job execution Analyzing JCL Procedure BKPPROC. C:\LogsProject\TSQL\Deploy\Mainframe_JCL\My Package\jclProcLinkFS\BKPPROC.PRC
2016-09-19 09:47:05.120 PARSING ; Job execution Analyzing JCL Job JOBCOBAS. C:\LogsProject\TSQL\Deploy\Mainframe_JCL\My Package\jclJobLinkFS\JOBCOBAS.jcl
2016-09-19 09:47:05.120 PARSING ; Job execution Analyzing Cobol Program 'MYABD'. C:\LogsProject\TSQL\Deploy\Mainframe_JCL\My Package\JobConditions\jobConditionIfElse.jcl
Comparison and Merging objects on server
2016-09-19 09:47:05.470 MODULMSG ; Job execution Comparing objects on server . . .
2016-09-19 09:47:19.855 MODULMSG ; Job execution Comparison completed.
2016-09-19 09:47:19.855 MODULMSG ; Job execution Merging objects on server . . .
2016-09-19 09:47:28.279 MODULMSG ; Job execution Merge completed.
2016-09-19 09:47:28.629 RESOLVE ; Job execution Inference Engine resolution statistics
Execution Summary
2016-09-19 09:47:34.941 Information INTERNAL ; Job execution New Job status
2016-09-19 09:47:34.941 Information INTERNAL ; Job execution Execution date=2016/09/19 07:47
2016-09-19 09:47:34.941 Information INTERNAL ; Job execution Execution duration=0 days, 00 hours, 01 mins, 06 secs
2016-09-19 09:47:34.941 Information INTERNAL ; Job execution Execution result=success
2016-09-19 09:47:34.941 MSGACCOUNT ; Summary 0 fatal error(s); 0 error(s); 0 warning(s); 8 information message(s).
2016-09-19 09:47:34.941 1048575 ; Job execution
2016-09-19 09:47:35.292 Information INTERNAL ; Body Analysis completed
CAST_MainTask_SummaryLog_<DateTime>.txt
Status: Execution succeeded
Start: Mon Sep 19 09:45:51 CEST 2016
OS Version: Windows 7 (version 6.1)
Machine name: W7X64SP1SBR1
Software Version: CAST 8.0.0 ( Build 8525 )
Task: Take a snapshot of the application
Total duration: 5m32s
Nb of Computed Quality Rules: 15
-- Statistics for application Mainframe_JCL --
Analysis duration: 2m13s
No of modules: 1
No of active analysis units: 1
No of inactive analysis units: 0
Total no of analysis units: 1
No of saved objects: 59