Page tree
Skip to end of metadata
Go to start of metadata
Purpose

This page provides the information about the various steps that are involved in the execution of Shell Application. Shell is a technology for which the analysis is done by the Universal Analyzer i.e. Analysis of Shell can only be done if the Universal Analyzer Language Pack of Shell has been installed.

The Universal Analyzer analyzes the Shell application and this page provides the detailed information on all the processes and steps that take place after an analysis is launched.

It will give details about the information that is written in the logs that are generated for Analysis. Please refer to the official documentation of Shell Extension for more details: Shell

For information on Universal Analyzer, refer to this document: Universal Analyzer

For 8.0.x : CAST Management Studio - Help > Configuration > Preferences > CAST General

For official documentation 8.0.x : CMS - Run analysis only

In this page, the different logs lines corresponding to the Run Shell Analyzer 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:

 Choose your technology

CMS Snapshot Analysis - Run DOTNet Analyzer - C Sharp - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run ABAP Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run ASP Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run CPP Analyzer - C and CPP - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - EGL - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Flex - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Fortran - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - PHP - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - PLI - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - RPG - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Shell - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Angular js - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - JQuery - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Node js - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - HTML5 Javascript - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - Java - JSP - Web Services - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - JAX RS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - Spring MVC - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - JSP - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run J2EE Analyzer - JEE - EJB - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - CICS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - Cobol - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - IMS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Mainframe Analyzer - JCL - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Oracle Forms Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run Universal Analyzer - Power Builder - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DB2 zOS Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - T SQL ASE - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - T SQL MS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - SQL PSM zOS - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run SQL Analyzer - PL SQL - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run VB Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run VB Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - WPF - Extension - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - WCF - Extension - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - Silverlight Extension - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - C Sharp - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DOTNet Analyzer - ASP DOTNet - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run DB2 zOS Analyzer - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run CPP Analyzer - C only - Error Free Logs - CAST AIP 8

CMS Snapshot Analysis - Run CPP Analyzer - CPP - Error Free Logs - CAST AIP 8

 

CMS Snapshot Analysis - Run J2EE Analyzer - JAX WS - Error Free Logs - CAST AIP 83


CAST-MS.log

Section of CAST-MS Management Studio log file dealing with Shell analyzer. Get the location at CAST Logs location.

This section provides the information of the type of analyzer being used based on the technology which is being analyzed in the application. It provides the details about the command line for running universal analyzer, connection profile and also provides the path of the Analysis Log for more details about the analysis of a single Analysis Unit.


INF: 2016-07-20 09:45:05:  starting Task Run analysis for 'V1'

Specifying the option -RUN_AU ,the following command line lunch analysis unit by retrieving the ID of the Analysis Unit inside the JobSettings.xml. "\shell_SHELL_13739-20160720094505.castlog'" present the log file of the command line (see option -LOG), this command line can be run from CMD after delivering the application.

INF: 2016-07-20 09:45:05:  starting Task Run Universal Analyzer "shell_SHELL_13739"
INF: 2016-07-20 09:45:05:  C:\Program Files\CAST\8.0/anarun.exe -CONNECT_PROFILE('localhost:2280 on CastStorageService.cbshellextention_abe_local') -RUN_AU(301,303,'C:\CASTMS\LargeStorage\LISA\e6ac7a1d0298426aaca271ad588d3c61\Scr13739\JobSettings.xml') -MANAGED(301) -SESSION_ID(303) -LOG('C:\CASTMS\Log\e6ac7a1d0298426aaca271ad588d3c61\shell_SHELL_13739-20160720094505.castlog',TRUNCATE) -LARGESTORAGE('C:\CASTMS\LargeStorage','C:\CASTMS\LargeStorage','e6ac7a1d0298426aaca271ad588d3c61/Scr13739') -LOGIN(,CASTCORP\ABE,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXIT
INF: 2016-07-20 09:45:29:  About to run JOB_UNIVERSAL_ANALYZER job 'shell_SHELL_13739'.
INF: 2016-07-20 09:45:55:   Execution date=2016/07/20 07:45
INF: 2016-07-20 09:45:55:   Execution duration=0 days, 00 hours, 00 mins, 26 secs
INF: 2016-07-20 09:45:55:   Execution result=success
INF: 2016-07-20 09:45:56:  Loading ini file: C:\Users\abe\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult303.INI
INF: 2016-07-20 09:45:56:  Loading ini file: C:\Users\abe\AppData\Local\Temp\CAST\CAST\8.0\AMRunResult303.INI
INF: 2016-07-20 09:45:56:  Task message: No Task message
INF: 2016-07-20 09:45:56:  Log file: C:\CASTMS\Log\e6ac7a1d0298426aaca271ad588d3c61\shell_SHELL_13739-20160720094505.castlog
INF: 2016-07-20 09:45:56:  ending Task Run Universal Analyzer "shell_SHELL_13739"

My Package_Shell_[AUID]-[DateTime].castlog

This section provides information on the environment in which analysis is about to run,the location of LISA ,LTSA,LSA folder and the local/knowledge base being used for analysis.

Timestamp Level Topic Body Who Error Number Runtime File Line Module Source Line Source Column Runtime Context Source
 
2016-07-18 10:05:38.384  Information INTERNAL ; Body 64-bit environment    
 2016-07-18 10:05:38.384  Information INTERNAL ; Body LISA folder: C:\CASTMS\LargeStorage   
 2016-07-18 10:05:38.384  Information INTERNAL ; Body LTSA folder: C:\CASTMS\LargeStorage    
 2016-07-18 10:05:38.384  Information INTERNAL ; Body LSA relative folder: e6ac7a1d0298426aaca271ad588d3c61/Scr13739   
 2016-07-18 10:05:39.789  Information INTERNAL ; Body Using Knowledge Base on schema cbshellextention_abe_local

 2016-07-18 10:05:40.492  Information INTERNAL ; Body Registering extension com.castsoftware.shell 1.0.4. 0 ;

 

This section provides information that environment information has taken into account,metamodel is loaded and analysis is about to start.

2016-07-18 10:05:41.544  Information MODULMSG ; Body Loading meta model from repository . . .    

 2016-07-18 10:05:44.004  Information MODULMSG ; Body Meta model loaded.                                   

2016-07-18 10:05:44.004  Information INTERNAL ; Body RunAnalysis started


This section shows all the configuration messages. All the options configured in CAST- MS like the extensions included in analysis,column of indicator area,tabular length,any custom environment profiles ,source file path,include file path, etc that are required to run a perfect analysis are shown in the log message during the beginning.

 2016-07-18 10:05:44.004  Information INTERNAL ; Body Analysis Unit description :    
 2016-07-18 10:05:44.004  Information INTERNAL ; Body Name : shell_SHELL     
 2016-07-18 10:05:44.004  Information INTERNAL ; Body Universal language 
 2016-07-18 10:05:44.004  Information INTERNAL ; Body  Extensions used in jobSettings : *.ksh;*.sh;*.ssh;*.csh;*.bsh;*.shell     
 2016-07-18 10:05:44.004  Information INTERNAL ; Body  Name : SHELL    
 2016-07-18 10:05:44.004  Information INTERNAL ; Body  Description : Shell Scripts     
 2016-07-18 10:05:44.005  Information INTERNAL ; Body Sources   
 2016-07-18 10:05:44.005  Information INTERNAL ; Body  File Path : C:\CASTMS\Deploy\V1\shell     
 2016-07-18 10:05:44.005  Information INTERNAL ; Body  Permission : Include     
 2016-07-18 10:05:44.005  Information INTERNAL ; Body Universal language     
 2016-07-18 10:05:44.005  Information INTERNAL ; Body  Extensions used in jobSettings : *.ksh;*.sh;*.ssh;*.csh;*.bsh;*.shell    
 2016-07-18 10:05:44.005  Information INTERNAL ; Body  Name : SHELL  
 2016-07-18 10:05:44.005  Information INTERNAL ; Body  Description : Shell Scripts     
 2016-07-18 10:05:44.005  Information INTERNAL ; Body Number of Instances : 200000   
 2016-07-18 10:05:44.005  Information INTERNAL ; Body SESSION CONTEXT details:
301 ; 303 = "V1"."shell_SHELL_13739"    
 2016-07-18 10:05:44.005    1 ; Job execution    

 

This section shows that the analysis step has started.

 2016-07-18 10:05:44.005  Information INTERNAL ; Job execution About to run JOB_UNIVERSAL_ANALYZER job 'shell_SHELL_13739'.    
 2016-07-18 10:05:44.356  Information MODULMSG ; Job execution Total physical memory: 8083 MB. 

 

This section shows the number of external link components loaded(the client server components being loaded) and validation results and the files that are being analyzed.

2016-07-18 10:05:44.707  Information MODULMSG ; Job execution External link component has loaded 0 objects   
2016-07-18 10:05:44.707  Information MODULMSG ; Job execution External link component has loaded 0 objects 


This section shows the files that are being processed during the analysis.

 2016-07-18 10:05:49.663  Information MODULMSG ; Job execution File processed : 'C:\CASTMS\LargeStorage\LISA\e6ac7a1d0298426aaca271ad588d3c61/Scr13739\shell_SHELL_13739\1683223987_SHELL\update_iadmp_dma_dump.sh'    C:\CASTMS\LargeStorage\LISA\e6ac7a1d0298426aaca271ad588d3c61/Scr13739\shell_SHELL_13739\1683223987_SHELL\update_iadmp_dma_dump.sh
 2016-07-18 10:05:50.017  Information MODULMSG ; Job execution External link component has loaded 0 objects 0 ; 0 0   0 anarun  0 0                                                                                                                                                

                                                                                                                                                                .....

 2016-07-18 10:05:50.018  Information MODULMSG ; Job execution File processed : 'C:\CASTMS\LargeStorage\LISA\e6ac7a1d0298426aaca271ad588d3c61/Scr13739\shell_SHELL_13739\1683223987_SHELL\download_optout_data.sh'  C:\CASTMS\LargeStorage\LISA\e6ac7a1d0298426aaca271ad588d3c61/Scr13739\shell_SHELL_13739\1683223987_SHELL\download_optout_data.sh 


This section provides the information about the starting of External link processing between multiple analysis units.

2016-07-18 10:05:50.018  Information MODULMSG ; Job execution Starting External Link processing   
2016-07-18 10:05:50.372  Information MODULMSG ; Job execution Ending External Link processing    


This section indicate that analysis process compares the results in the Knowledge base

 2016-07-18 10:05:50.372    MODULMSG ; Job execution Comparing objects on server . . .  
 2016-07-18 10:05:54.964    MODULMSG ; Job execution Comparison completed. 

 

This section indicate that analysis process flushes the results in the Knowledge base
 2016-07-18 10:05:54.964    MODULMSG ; Job execution Merging objects on server . . . 
 2016-07-18 10:05:57.419    MODULMSG ; Job execution Merge completed.  


This section shows the execution date and time,the time taken for the entire analysis to get completed,the number of fatal errors/errors/warnings/information messages.

 2016-07-18 10:05:58.119  Information INTERNAL ; Job execution New Job status    
 2016-07-18 10:05:58.119  Information INTERNAL ; Job execution  Execution date=2016/07/18 08:05 
 2016-07-18 10:05:58.119  Information INTERNAL ; Job execution  Execution duration=0 days, 00 hours, 00 mins, 14 secs   
 2016-07-18 10:05:58.119  Information INTERNAL ; Job execution  Execution result=success    
 2016-07-18 10:05:58.119    MSGACCOUNT ; Summary 0 fatal error(s); 0 error(s); 0 warning(s); 29 information message(s). 
 2016-07-18 10:05:58.119    1048575 ; Job execution   0 ; 0 0   0 anarun  0 0   

CAST_MainTask_SummaryLog_<DateTime>.txt


Status: Execution succeeded
Start: Wed Jul 20 09:44:59 CEST 2016
OS Version: Windows 8 (version 6.2)
Machine name: ABEW8LAP
Software Version: CAST 8.0.0 ( Build 8525 )
Task: Take a snapshot of the application
Total duration: 5m12s
Nb of Computed Quality Rules: 15

 -- Statistics for application V1  --
    Analysis duration: 1m22s
    Nb of modules: 1
    Nb of active analysis units: 1
    Nb of inactive analysis units: 0
    Total nb of analysis units: 1
    Nb of saved objects: 14
Summary is saved at C:\CASTMS\Log\CAST_MainTask_SummaryLog_20160720-094459.txt
  • No labels