CMS Analysis Unit - Information - Identify the Analysis unit log file

Purpose

This page will explain how to identify the Analysis Unit log file either from CAST MS, or by queries.

On the whole, the analysis log files are stored in : <Application Id without dash><Execution name>+date.castlog

Applicable in CAST Version

ReleaseYes/No
8.0.x
7.3.x
7.2.x
7.0.x

Applicable RDBMS

RDBMSYes/No
Oracle Server
Microsoft SQL Server
CSS2
CSS1

In CAST MS

To check the Analysis Unit log file from CAST MS, edit the Analysis Unit, and click on the Execute tab. The log file path and name is in the “Last execution log” field.

Details

Using Queries

It is possible to get all Analysis Units log file using queries. We need to proceed in two steps :

  1. Run the query below to get the “final” request giving all the analysis units log files:

The result is as below :

"select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_asp_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_cobol_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_cpp_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_forms_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_j2ee_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_net_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_ora_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_sap_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_sqlsrv_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_syb_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_ua_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_udb_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_ui_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_vb_analysis"
"union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_zos_analysis"
  1. Set your schema search path and copy paste the result of the above query (remove all the “) and execute it :
Set search_path to <YOUR_SCHEMA>;

select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_asp_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_cobol_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_cpp_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_forms_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_j2ee_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_net_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_ora_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_sap_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_sqlsrv_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_syb_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_ua_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_udb_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_ui_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_vb_analysis
union all select object_id Analysis_Unit_Id , object_name Analysis_Unit_Name, execstatus, execlog from cms_zos_analysis

The result is as below:

A.U IDAnalysis Unit NameExecStatusExecLog
15521To reproduce Inner ClassesExecutionNoneStatus
16255BusinessHelloWorld
15788STATS_DELAISExecutionNoneStatus
15789CHARGEMENT_SRExecutionNoneStatus
15790FJAS_PROD_ALERTExecutionNoneStatus
15791FJAS_ANALYSE_IDENExecutionNoneStatus
15792FJAS_TMAExecutionNoneStatus
15793INTERRO_FND_ICAREExecutionNoneStatus
15794FJAS_WSExecutionNoneStatus
16273BusinessHelloWorldExecutionSuccessStatusC:\Users\SBO~1.CAS\AppData\Local\Temp\CAST\CAST\7.2\7543ada520814794a835b78e3a8b03a1\My Source file based execution unit_16289-20140925100505.castlog
16277SCOTTExecutionSuccessStatusC:\Users\SBO~1.CAS\AppData\Local\Temp\CAST\CAST\7.2\7543ada520814794a835b78e3a8b03a1\My Package 2_16271-20140925100505.castlog
16125test1ExecutionNoneStatus
16148TEST SBOExecutionNoneStatus

From CAST-MS

  1. From CAST-MS we have an option here:

Notes / Comments

Related Pages

CAST Management Studio - Information - How to find logs