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

The Run Reference Pattern Search String is a sub task that is optional and will only run when configured in the analysis. 

It can be configured to run only after an analysis.  It is triggered to run when the user adds the specific action for this in the 'Tools after analysis' sections in the Content Enrichment tab of the application configuration.

A separate log will be generated for the action of the Run Reference Pattern Search String.

See the below documentation and example screenshots for more information on this step and an example of where it is located in the CAST Management Studio.

More on running reference patterns can be seen here:  CMS - Dependencies - using Reference Patterns

More on this task after analysis can be seen here:  CMS - Tool editor

Screenshot below shows how Run Reference Pattern Search String is executed:

Example screenshot showing the Run Reference Pattern Search String as a tool after analysis:

 The Loglines generated by this task is shown below



Excerpt Macro - Logs - Full Analysis Image for 83

CAST-MS-<date>-<time>.log.txt log file

Section of CAST-MS log file dealing with Run Reference Pattern Search String step as shown in the log above.

Run Reference Pattern 


INF: 2018-10-23 16:41:51:     starting Task Run Reference Pattern Search String "ref1"


INF: 2018-10-23 16:41:51:     C:\Program Files\CAST\8.3/anarun.exe -CONNECT_PROFILE('localhost:2282 on CastStorageService.test830_local') -RUN_RP(528151,529151,'C:\ProgramData\CAST\CAST\CASTMS\LISA\42e1b553528344739ec8bc1c4522c6fc\Scr1e6f372158374d4792a79c207e127c2c\JobSettings.xml') -MANAGED(528151) -SESSION_ID(529151) -LOG('C:\ProgramData\CAST\CAST\Logs\c\Run_Tool_2287\ref1-20181023-164120.castlog',TRUNCATE) -LARGESTORAGE('C:\ProgramData\CAST\CAST\CASTMS','C:\ProgramData\CAST\CAST\CASTMS','42e1b553528344739ec8bc1c4522c6fc/Scr1e6f372158374d4792a79c207e127c2c') -LOGIN(,CASTCORP\JMC,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXIT

 INF: 2018-10-23 16:42:01:     #PMC#About to run JOB_REFERENCE_FINDER_ANALYZER job 'RP_ref1_218790'.
INF: 2018-10-23 16:42:01:     About to run JOB_REFERENCE_FINDER_ANALYZER job 'RP_ref1_218790'.
INF: 2018-10-23 16:42:09:     #PMC#    Execution date=2018/10/23 23:42
INF: 2018-10-23 16:42:09:         Execution date=2018/10/23 23:42
INF: 2018-10-23 16:42:09:     #PMC#    Execution duration=0 days, 00 hours, 00 mins, 08 secs
INF: 2018-10-23 16:42:09:         Execution duration=0 days, 00 hours, 00 mins, 08 secs
INF: 2018-10-23 16:42:09:     #PMC#    Execution result=success
INF: 2018-10-23 16:42:09:         Execution result=success
INF: 2018-10-23 16:42:09:     Task message: No Task message
INF: 2018-10-23 16:42:09:     Log file: C:\ProgramData\CAST\CAST\Logs\c\Run_Tool_2287\ref1-20181023-164120.castlog
INF: 2018-10-23 16:42:09:     ending Task Run Reference Pattern Search String "ref1"

<Reference Pattern Search String Job Name>-<Date>-<Time>.castlog log file

Sample results of a External Program log (actual results will vary based on the program being run):

Configuration Section

 2018-10-23 16:41:52.445319    Information    MODULMSG ; Job execution    64-bit environment
 
2018-10-23 16:41:52.445319    Information    MODULMSG ; Job execution    CAIP Version: CAST 8.3.3 ( Build 1591 )
 2018-10-23 16:41:52.445319    Information    MODULMSG ; Job execution    LISA folder: C:\ProgramData\CAST\CAST\CASTMS
 2018-10-23 16:41:52.445319    Information    MODULMSG ; Job execution    LTSA folder: C:\ProgramData\CAST\CAST\CASTMS
 2018-10-23 16:41:52.446322    Information    MODULMSG ; Job execution    LSA relative folder: 42e1b553528344739ec8bc1c4522c6fc\Scr1e6f372158374d4792a79c207e127c2c
 2018-10-23 16:41:52.838609    Information    MODULMSG ; Job execution    Using Knowledge Base on schema test830_local.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.JEE-MavenHttp 1.4.0-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.angularjs 1.5.0-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.businessobject 1.0.0-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.dmtboextractiondiscoverer 1.0.0-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.dmtxmlscanner 1.0.0-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.dotnet 1.0.0.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.html5 1.7.1-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.internal.platform 0.3.0-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.jaxrs 1.3.0-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.jee 1.0.0-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.jquery 1.5.0-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.nodejs 1.5.0-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.php 1.3.0.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.springmvc 1.3.0-funcrel.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.sqlanalyzer 2.3.0.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.tibco 1.2.1.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.wbslinker 1.5.0.
 2018-10-23 16:41:59.333392    Information    MODULMSG ; Job execution    Registering extension com.castsoftware.webfilesdiscoverer 1.1.0-funcrel.
 2018-10-23 16:41:59.739689    Information    MODULMSG ; Job execution    Loading meta model from repository . . .
 2018-10-23 16:42:00.730226    Information    MODULMSG ; Job execution    Meta model loaded.
 2018-10-23 16:42:01.120506    Information    MODULMSG ; Job execution    RunAnalysis started
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution    Name : ref1
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution    Based on Reference Pattern
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution        Do not create links beween differents files : 0
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution        Match Case : 0
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution        Match whole word only : 0
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution        Match case : 0
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution        Code : 1
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution        Comments : 0
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution        String Literals : 0
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution        Enable replacement : 0
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution        Replacement regular expression :
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution        Selected Languages
 2018-10-23 16:42:01.125509    Information    MODULMSG ; Job execution        Regular expression (Boost)
 2018-10-23 16:42:01.126510    Information    MODULMSG ; Job execution            Expression : ajoute
 2018-10-23 16:42:01.126510    Information    MODULMSG ; Job execution        Languages Filter : Don't filter on languages
 2018-10-23 16:42:01.126510    Information    MODULMSG ; Job execution        Link Type : Match
 2018-10-23 16:42:01.126510    Information    MODULMSG ; Job execution        Name Matching : Whole
 2018-10-23 16:42:01.126510    Information    MODULMSG ; Job execution        Match : Object Name   

Execution Section                

 2018-10-23 16:42:01.126510    Information    MODULMSG ; Job execution    SESSION CONTEXT details: 528151 ; 529151 = "c"."RP_ref1_218790"
 
2018-10-23 16:42:01.127511    Information    MODULMSG ; Job execution    About to run JOB_REFERENCE_FINDER_ANALYZER job 'RP_ref1_218790'.
 2018-10-23 16:42:01.183364    Information    MODULMSG ; Job execution    Total physical memory: 8095 MB.
 2018-10-23 16:42:01.655036    Information    MODULMSG ; Job execution    trace : Search in file :C:\CASTMS\test830_css3\Deploy\c\C_CPP\CPP\CPP_Code\1\Interface.cpp(0/30)

 2018-10-23 16:42:02.521585    Information    MODULMSG ; Job execution    trace : Search in file :C:\CASTMS\test830_css3\Deploy\c\C_CPP\CPP\CPP_Code\2\Interface.h(3/30)

 2018-10-23 16:42:02.525590    Information    MODULMSG ; Job execution    trace : Search in file :C:\CASTMS\test830_css3\Deploy\c\C_CPP\CPP\CPP_Code\2\Interfacex.cpp(9/30)

 2018-10-23 16:42:02.529255    Information    MODULMSG ; Job execution    trace : Search in file :C:\CASTMS\test830_css3\Deploy\c\C_CPP\CPP\CPP_Code\2\Interfacex.h(12/30)

 2018-10-23 16:42:02.533249    Information    MODULMSG ; Job execution    trace : Search in file :C:\CASTMS\test830_css3\Deploy\c\C_CPP\C\C_code\Example.c(18/30)

 2018-10-23 16:42:02.567534        MODULMSG ; Job execution    Comparing objects on server . . .
 2018-10-23 16:42:05.538585        MODULMSG ; Job execution    Comparison completed.
 2018-10-23 16:42:05.538585        MODULMSG ; Job execution    Merging objects on server . . .
 2018-10-23 16:42:08.289187        MODULMSG ; Job execution    Merge completed.
 2018-10-23 16:42:09.242129    Information    MODULMSG ; Job execution    New Job status
 2018-10-23 16:42:09.242129    Information    MODULMSG ; Job execution        Execution date=2018/10/23 23:42
 2018-10-23 16:42:09.245135    Information    MODULMSG ; Job execution        Execution duration=0 days, 00 hours, 00 mins, 08 secs
 2018-10-23 16:42:09.245135    Information    MODULMSG ; Job execution        Execution result=success

 2018-10-23 16:42:09.245135    Information    MODULMSG ; Job execution    Analysis completed
 2018-10-23 16:42:09.466734    Information    MODULMSG ; Job execution    0 fatal error(s); 0 error(s); 0 warning(s); 62 information message(s).
2016-08-15 15:30:49.861            Information     INTERNAL ; Body           SESSION CONTEXT details:  109251 ; 109601 = "C"."RP_My Reference Pattern_14017"
  

  • No labels