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.
Please 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.
8.0.X Documentation: CMS - Content Enrichment tab
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
CAST-MS log file
Section of CAST-MS log file dealing with Run Reference Pattern Search String step as shown in the log above.
Starting Tools Before Analysis
INF: 2016-08-15 15:30:45: starting Task Tools after analysis
Create Source Set
INF: 2016-08-15 15:30:45: starting Task Create source set for My Reference Pattern
INF: 2016-08-15 15:30:45: Task message: Number of objects selected : 37
INF: 2016-08-15 15:30:45: No associated log file
INF: 2016-08-15 15:30:45: ending Task Create source set for My Reference Pattern
Run Reference Pattern
INF: 2016-08-15 15:30:45: starting Task Run Reference Pattern Search String "My Reference Pattern Search String"
INF: 2016-08-15 15:30:45: C:\Program Files\CAST\8.0/anarun.exe -CONNECT_PROFILE('JMCE7440W7:2280 on CastStorageService.prod800_local') -RUN_RP(109251,109601,'C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\LISA\45d05b12c701491592c266cf6efa7678\Scr14017\JobSettings.xml') -MANAGED(109251) -SESSION_ID(109601) -LOG('C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\45d05b12c701491592c266cf6efa7678\My Reference Pattern Search String-20160815153017.castlog',TRUNCATE) -LARGESTORAGE('C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0','C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0','45d05b12c701491592c266cf6efa7678/Scr14017') -LOGIN(,CASTCORP\JMC,) -APP(-NOGUI) -FINAL_UPDATE -NOPROGRESS -EXIT
INF: 2016-08-15 15:30:49: About to run JOB_REFERENCE_FINDER_ANALYZER job 'RP_My Reference Pattern_14017'.
INF: 2016-08-15 15:30:54: Execution date=2016/08/15 20:30
INF: 2016-08-15 15:30:54: Execution duration=0 days, 00 hours, 00 mins, 05 secs
INF: 2016-08-15 15:30:54: Execution result=success
INF: 2016-08-15 15:30:56: Task message: No Task message
INF: 2016-08-15 15:30:56: Log file: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0\45d05b12c701491592c266cf6efa7678\My Reference Pattern Search String-20160815153017.castlog
INF: 2016-08-15 15:30:56: ending Task Run Reference Pattern Search String "My Reference Pattern Search String"
Delete Source Set
INF: 2016-08-15 15:30:56: starting Task Delete source set for My Reference Pattern
INF: 2016-08-15 15:30:56: Task message: No Task message
INF: 2016-08-15 15:30:56: No associated log file
INF: 2016-08-15 15:30:56: ending Task Delete source set for My Reference Pattern
End Tools Before Analysis
INF: 2016-08-15 15:30:56: Task message: No Task message
INF: 2016-08-15 15:30:56: No associated log file
INF: 2016-08-15 15:30:56: ending Task Tools after analysis
<Reference Pattern Search String Job Name>-<DateTime>.castlog log file
Sample results of a External Program log (actual results will vary based on the program being run):
Configuration Section
2016-08-15 15:30:47.407 Information INTERNAL ; Body 64-bit environment
2016-08-15 15:30:47.407 Information INTERNAL ; Body LISA folder: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0
2016-08-15 15:30:47.407 Information INTERNAL ; Body LTSA folder: C:\Users\JMC~1.CAS\AppData\Local\Temp\CAST\CAST\8.0
2016-08-15 15:30:47.407 Information INTERNAL ; Body LSA relative folder: 45d05b12c701491592c266cf6efa7678/Scr14017
2016-08-15 15:30:47.758 Information INTERNAL ; Body Using Knowledge Base on schema prod800_local.
2016-08-15 15:30:48.809 Information INTERNAL ; Body Registering extension com.castsoftware.rpg 1.0.3.
2016-08-15 15:30:49.160 Information MODULMSG ; Body Loading meta model from repository . . .
2016-08-15 15:30:49.861 Information MODULMSG ; Body Meta model loaded.
2016-08-15 15:30:49.861 Information INTERNAL ; Body RunAnalysis started
2016-08-15 15:30:49.861 Information INTERNAL ; Body Name : My Reference Pattern Search String
2016-08-15 15:30:49.861 Information INTERNAL ; Body Based on Reference Pattern
2016-08-15 15:30:49.861 Information INTERNAL ; Body Do not create links beween differents files : 0
2016-08-15 15:30:49.861 Information INTERNAL ; Body Match Case : 0
2016-08-15 15:30:49.861 Information INTERNAL ; Body Match whole word only : 0
2016-08-15 15:30:49.861 Information INTERNAL ; Body Match case : 0
2016-08-15 15:30:49.861 Information INTERNAL ; Body Code : 1
2016-08-15 15:30:49.861 Information INTERNAL ; Body Comments : 1
2016-08-15 15:30:49.861 Information INTERNAL ; Body String Literals : 0
2016-08-15 15:30:49.861 Information INTERNAL ; Body Enable replacement : 0
2016-08-15 15:30:49.861 Information INTERNAL ; Body Replacement regular expression :
2016-08-15 15:30:49.861 Information INTERNAL ; Body Selected Languages
2016-08-15 15:30:49.861 Information INTERNAL ; Body Regular expression (Boost)
2016-08-15 15:30:49.861 Information INTERNAL ; Body Expression : date
2016-08-15 15:30:49.861 Information INTERNAL ; Body Languages Filter : Don't filter on languages
2016-08-15 15:30:49.861 Information INTERNAL ; Body Link Type : Match
2016-08-15 15:30:49.861 Information INTERNAL ; Body Name Matching : Whole
2016-08-15 15:30:49.861 Information INTERNAL ; Body Match : Object Name
Execution Section
2016-08-15 15:30:49.861 Information INTERNAL ; Body SESSION CONTEXT details: 109251 ; 109601 = "C"."RP_My Reference Pattern_14017"
2016-08-15 15:30:49.861 1 ; Job execution
2016-08-15 15:30:49.861 Information INTERNAL ; Job execution About to run JOB_REFERENCE_FINDER_ANALYZER job 'RP_My Reference Pattern_14017'.
2016-08-15 15:30:49.861 Information MODULMSG ; Job execution Total physical memory: 8095 MB.
2016-08-15 15:30:50.562 MODULMSG ; Job execution Comparing objects on server . . .
2016-08-15 15:30:53.014 MODULMSG ; Job execution Comparison completed.
2016-08-15 15:30:53.014 MODULMSG ; Job execution Merging objects on server . . .
2016-08-15 15:30:54.415 MODULMSG ; Job execution Merge completed.
2016-08-15 15:30:54.766 Information INTERNAL ; Job execution New Job status
2016-08-15 15:30:54.766 Information INTERNAL ; Job execution Execution date=2016/08/15 20:30
2016-08-15 15:30:54.766 Information INTERNAL ; Job execution Execution duration=0 days, 00 hours, 00 mins, 05 secs
2016-08-15 15:30:54.766 Information INTERNAL ; Job execution Execution result=success
2016-08-15 15:30:54.766 MSGACCOUNT ; Summary 0 fatal error(s); 0 error(s); 0 warning(s); 6 information message(s).
2016-08-15 15:30:54.766 1048575 ; Job execution
2016-08-15 15:30:54.862 Information INTERNAL ; Body Analysis completed