Submits a request to combine multiple company loss files (CLFs).
A CLF contains company losses by each combination of event, subarea, and line of business. From the CATRADER or Touchstone application, you can generate a CLF, and then import the CLF into Touchstone Re as part of a company loss set. You must associate a CLF with a company.
When submitting the request:
- The company loss files must be of the same catalog size.
- The file version must be the same for all the company loss files specified in the input request.
- Any Historical or RDS files must be accompanied by a stochastic file of the same model.
- The model version must be same for all the loss files of the same model.
- You must specify the path to the CLF to combine.
- No two EviFilePaths input files can have the same path.
- The input and output file paths must be unique.
Syntax
Public Function SubmitCombineClfs( _
ByVal As SubmitCombineClfsRequest _
) As SubmitCombineClfsResponse
Dim instance As ReinsuranceDataImportServiceClient
Dim request As SubmitCombineClfsRequest
Dim value As SubmitCombineClfsResponse
value = instance.SubmitCombineClfs(request)
public SubmitCombineClfsResponse SubmitCombineClfs(
SubmitCombineClfsRequest
)
Parameters
- request
- Contains a SubmitCombineClfsRequest that specifies the Business Unit SID and SQL Instance SID to associate with the file, as well as the CombineClfBaseFileName, EVI files , and the OutputPath of combined company loss file in the request.
Return Value
A SubmitCombineClfsResponse that contains the Activity SID that uniquely identifies the asynchronous web service call that you made to submit the combine job.
Example
The following example shows how to combine multiple company loss files into a single company loss file using the SubmitCombineClfs() method:
using AIR.Services.Common.Data;
using AIR.Services.Reinsurance.DataImport.Api;
using System;
using System.Collections.Generic;
using System.IO;
class SnippetSubmitCombineClfsRequest
{
private static void SubmitCombineClfsRequest(int businessUnitSid, int sqlInstanceSid)
{
ReinsuranceDataImportServiceClient client = new ReinsuranceDataImportServiceClient();
SubmitCombineClfsRequest request = new SubmitCombineClfsRequest();
request.BusinessUnitSid = businessUnitSid;
request.SqlInstanceSid = sqlInstanceSid;
string clfPath = @\\YourShare\M23 and M28 Files;
request.EviFilePaths = new List<string>()
{
Path.Combine(clfPath, "M23 A DLF.evi"),
Path.Combine(clfPath, "M28 A DLF.evi")
};
request.CombineClfBaseFileName = "M23-M28";
request.OutputPath = @\\YourShare\CombinedTest;
request.Comments = "Combining M23 and M28 Clfs";
SubmitCombineClfsResponse response = client.SubmitCombineClfs(request);
if (response.Status.Code == StatusCode.Success)
{
Console.WriteLine("Request submitted with Activity Sid: " + response.ActivitySid);
}
}
}
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also