Hi Jiri,

The article you're referring to is from the early days of Ensemble, when we used an adapter library from a partner. This arrangement changed a few years ago, when the important needs of our users were sufficiently covered by our native adapter library. At that point, support for some non-critical interfaces was dropped.

I've looked around for examples of AS2 use with Ensemble, but so far I've drawn a blank. Perhaps others can comment, but failing that, my advice is that you speak to your local InterSystems representatives about your requirements and potential ways forward.

Kind regards,

Otto

Hi Steve,

Here are a couple of ways to do this:

1. Use ^%GSIZE to look at the size of your index global before and after you populate your new index. (If you look at the class definition, the global name is listed as "IndexLocation" in the "Storage" section.)

2. Map the index global to a separate database and look at the size of the CACHE.DAT.

The advantage of the second approach is that subscript-level mapping lets you selectively isolate indices.

Otto

Hi,

Ensemble has a piece of infrastructure to handle parallel calls. Here's how to run it:

for tCounter = 1:1:10 {
   set tCall = ##class(Ens.CallStructure).%New()
   set tCall.TargetDispatchName = ”MyBusinessHostClass"
   set tCall.Request = ##class(MyRequestClass).%New()

   set tCall.Request.MyProperty = "Some value"
   set tRequestList(tCounter) = tCall
}
set tTimeout = 10
set tSC = ..SendRequestSyncMultiple(.tRequestList, tTimeout)

After that finishes, you can access the individual responses like this:

for tCounter = 1:1:10 {
   set tStatus = tRequestList(tCounter).ResponseCode
   set tResponse = tRequestList(tCounter).Response
}

Hope that's what you're looking for,

Otto