skills/intersystems-iris-adaptive/SKILL.md
# InterSystems IRIS Adaptive Analytics ## 1 Overview of InterSystems IRIS Adaptive Analytics InterSystems IRIS® Adaptive Analytics is an optional extension that provides a business-oriented, virtual data model layer between InterSystems IRIS and popular Business Intelligence (BI) and Artificial Intelligence (AI) client tools. It includes an intuitive user interface for developing a data model in the form of virtual cubes where data can be organized, calculated measures consistently defined, an
npx skillsauth add sorodriguezz/skills-objectscript skills/intersystems-iris-adaptiveInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
InterSystems IRIS® Adaptive Analytics is an optional extension that provides a business-oriented, virtual data model layer between InterSystems IRIS and popular Business Intelligence (BI) and Artificial Intelligence (AI) client tools. It includes an intuitive user interface for developing a data model in the form of virtual cubes where data can be organized, calculated measures consistently defined, and data fields clearly named. By ha solve the problem of differing definitions and calculations to pro vide their end users with one consistent view of business metrics and data characterization.
ving a centralized common data model, enterprises
Adaptive Analytics provides the following key features:
The Adaptive Analytics modeler, which makes data accessible for business users without exposing complex data structures, tables, or relationships.
Publication of data model changes as virtual cubes, preventing disruption caused by lengthy rebuilds.
Unified access to an online analytical processing (OLAP) model via the BI tool of your choice.
Live connectivity to all data stored within InterSystems IRIS.
Automated data structure aggregation for frequently-used queries.
Adaptive Analytics is powered by AtScale®, a product of AtScale, Inc. For documentation of AtScale functionality, consult their official documentation . Note that only users licensed for InterSystems IRIS Adaptive Analytics can view this documentation.
Important:
This version of InterSystems IRIS is compatible with InterSystems IRIS Adaptive Analytics version 2024.1 or later. It is not compatible with earlier versions of Adaptive Analytics.
To set up InterSystems IRIS Adaptive Analytics, you must complete the following steps:
Install or upgrade an instance of AtScale
Configure your InterSystems IRIS instance for Adaptive Analytics User-Defined Aggregate Functions
Configure AtScale to integrate with your InterSystems IRIS instance
This section describes each step in the setup process in further detail. Troubleshooting provides guidance for common issues you may encounter during this process.
InterSystems IRIS Adaptive Analytics integrates your InterSystems IRIS instance with an AtScale installation. InterSystems IRIS Adaptive Analytics uses the latest validated version of AtScale. This version is listed on the WRC software distribution page, in the Version column for the Adaptive Analytics package.
Set Up InterSystems IRIS Adaptive Analytics
In order to install or upgrade your instance of AtScale:
Download the AtScale installation package appropriate for your operating system from the Components section of the WRC software distribution page. Search for Adaptive Analytics in the Name column to find the a vailable packages. The filename for the do wnload has the form AdaptiveAnalytics-[AtScaleVersion]-[PlatformVersion].rpm or AdaptiveAnalytics-[AtScaleVersion]-[PlatformVersion].deb. where [AtScaleVersion] is the version of AtScale the package installs, and [PlatformVersion] is the operating system the package is for.
Install or upgrade AtScale and then activate it by following the instructions provided in the official AtScale documentation.
Note: When you purchase InterSystems IRIS Adaptive Analytics, you should receive a separate AtScale license which is applied to the AtScale server. This license is required to activate AtScale. If you have any questions about your license, please contact an InterSystems sales representative.
After you have installed AtScale, import the Adaptive Analytics User-Defined Aggregate Functions to configure InterSystems IRIS Adaptive Analytics as described in the next section.
The configuration instructions pro vided here will assume that you have already successfully installed InterSystems IRIS and configured your primary namespace and databases. If you ha ve not done so, consult the instructions in the installation instructions and the Create/Modify a Namespace section of the System Administration Guide. These instructions also assume that you have already successfully installed the appropriate version of AtScale.
In order to leverage Adaptive Analytics User-Defined Aggregate Functions (UDAF), you must first import and re gister the UDAF class file a vailable from the WRC with the following procedure:
WRC software distribution page.
ensure you are in your Adaptive Analytics namespace.
Navigate to System Explorer > Classes and click Go.
Click Import. In the modal window, select the My Local Machine option for the The import file resides on field and select
the AdaptiveUDAF.xml file.
Check the Compile imported items box and set the Compile flags to cuk. Click Import.
Navigate to System Explorer > SQL. Execute the following command:
SQL
CALL AtScaleUDAF.Register()
SQL
SELECT ATSCALE_HONEYBEE_VERSION()
The configuration thus f ar will result in a system where aggregates are stored in the same database as source data. InterSystems strongly recommends separating aggregates so that they can be managed and assessed without needing to manually filter them from a more general data set. To separate aggregates from source data, perform the following steps:
namespace.
ObjectScript
write ##class(AtScaleUDAF.Utils).CreateDatabase("/<instancePath>/mgr/AtScale/")
Where <instancePath> is the full path to your Adaptive Analytics instance.
After you have installed AtScale and configured InterSystems IRIS to use Adaptive Analytics User-Defined Aggregate Functions, configure AtScale according to the procedure described in Adding InterSystems IRIS Data Warehouses.
The Design Center may fail to load the initial setup wizard upon first login, displaying a blank background instead. In such cases, ensure that the atscale.yaml file is properly configured to access the host using a publicly-routable, fully-qualified domain name. For further guidance, refer to the Advanced Configuration section in the AtScale installation documentation.
An AtScale service may fail to start upon installation if the host has multiple private IP addresses. In such cases, you must bind the malfunctioning service to the specific pri vate IP address which it should use. This can be accomplished by editing the service’s properties in the atscale.yaml file or by setting an en vironment variable; for detailed instructions, refer to the Advanced Configuration section in the AtScale installation documentation.
Adaptive Analytics supports the export of Business Intelligence cubes to Adaptive Analytics cubes. The following procedure for cube export assumes that you have already completed all of the configuration described in the pre vious section. This process does not in any way alter the source Business Intelligence cube.
Open a Terminal session on the InterSystems IRIS instance from which you wish to export a cube.
Ensure you are in the namespace of the cube you wish to export.
Execute the following commands:
ObjectScript
set cube = "CUBENAME" set caltab = "CALENDARTABLE" set file = "PATH/EXPORTFILENAME"
Where CUBENAME is the InterSystems IRIS BI cube name, CALENDARTABLE is the name of your optional calendar table for managing dates, and PATH/EXPORTFILENAME is the target path of the cube export. The following example places an output file with the cubename and datetime stamp:
ObjectScript
set cube = "HoleFoods" set caltab = "MyCalendarTable" set file = "/tmp/ cubeExport "cube" "$TRANSLATE($ZDT($h,3)," :","--")".json" set sc=##class(%DeepSee.Utils).%AtScaleExportCube(cube,file,caltab)
If no calendar file is used, simply omit the caltab argument from the final command.
Execute the following command to verify that the cube was exported:
ObjectScript
write sc
If the export was successful, this command will return the full file path of the resulting .json file. You will need this path for a later step. You may view this file in your te xt editor or IDE of choice.
option.
In the modal window, click Browse, navigate to the .json cube file observ ed previously, and open it. Back in the primary modal window, click Next.
for this project and the appropriate schema respectively. Click Next to perform the import.
In the Review Import screen, click Download Report. This report provides details of import performance and recommendations for adjustments to models, if necessary.
Additionally, cubes based on data connectors and cube relationships do not export in this process.
Set design-time and run-time permissions according to your needs and click Next to finalize the import process.
Review your calculated measures and drill-throughs as follows:
a.
In the AtScale Design Center, navigate to your Adaptive Analytics project.
b. Click on your imported cube to open it in the Main Canvas.
c. Click on the Calculated Measures tool on the Main Canvas.
d. For each Calculated Measure, click Edit and, in the modal window, click Test MDX. Consult the displayed error
messages to determine appropriate adjustments to each MDX definition.
You may now review your imported cube as you would review any other Adaptive Analytics model.
Adaptive Analytics integrates with InterSystems Reports, allowing users to share a common data model—virtual cubes—with other Business Intelligence tools such as Microsoft PowerBI and Tableau. Users can thereby leverage common calculations and definitions across their tool kits.
The following procedure for report generation assumes that you have already completed all the configuration described earlier in this guide, as well as the configuration described in both “InterSystems Reports Designer” and “InterSystems Reports Server with InterSystems IRIS”.
a. Launch the Report Designer and click on Hive.
b.
c.
In the Create Connection to Hive modal window, select New Catalog. You may set Directory to a path of your choice; select the catalog you used to create the Dynamic Connection earlier for the Catalog field and click OK.
In the Get JDBC Connection Information modal window, click the Driver checkbox and enter org.apache.hive.JDBC.HiveDriver in the adjacent field. Set the URL to that of your Adaptive Analytics instance, and the User and Password fields to match the administrati ve user of your Adaptive Analytics instance.
d. Click More Options. In the modal window, under the Qualifier tab, select 2-Part Names from the Name Pattern pane
and User Defined from the Quote Qualifier pane, accepting the provided value of ". Click OK.
e. Once the Catalog has been generated, edit the Push Down Group Query field to true. You may now publish reports
based on this catalog as normal with InterSystems Reports.
a. Log in to your AtScale Design Center, navigate to Security and click Create User.
b. Enter the desired information for your InterSystems Reports user and, in the Roles pane, select Runtime Query
User. Click Create User.
a. On your InterSystems Reports Server instance, log in to the Management Portal as a user with administrative
privileges.
b. Navigate to System Administration > Configuration > InterSystems Reports.
c.
In the table of server definitions, click Configure on the row of the Reports server you wish to connect to Adaptive Analytics. If this server does not exist, follow the configuration instructions in “InterSystems Reports Server with InterSystems IRIS” to create it.
a.
In the icon menu, click My Folder.
b. Navigate to Administration > Connections > Dynamic Connections and click New Connection.
c. From the Catalog dropdown menu, select the catalog file you wish to use; if it does not yet e xist, create it following ve the expected
the instructions in “InterSystems Reports Designer”. Check that the automatically filled fields ha values.
d. Click Add Database User Mapping and, in the autogenerated profile, double-click on the Database User field to edit the name. Replace it with the name of the user you created earlier in the Design Center. Accept the other defaults and click OK..
e.
f.
In the Dynamic Connections list, click on the newly created connection.
In the Properties list, double-click on the name of the connection to edit it to your liking.
g. Navigate to Resources and run the desired report.
data-ai
# XDBC Gateway XDBC Gateway Overview The XDBC Gateway provides a single interface for connecting InterSystems IRIS® to an external database with JDBC or ODBC. It acts as the modern, streamlined successor to the SQL Gateway. The XDBC Gateway acts like a JDBC or ODBC driver and lets you perform any of the following operations: - Access data stored in third-party relational databases within InterSystems IRIS applications. - Store persistent InterSystems IRIS objects in external relational data
devops
# Windows Installation Guide Windows Installation Overview The Windows Installation Guide provides guidance on installing kit-based deployments on Microsoft Windows. ### 1.1 How to Use This Guide For all installations, you should begin with the Pre-Installation steps. You can then follow the steps for either an attended or unattended installation. The attended installation process is different depending on the setup type you choose. After following the steps for attended installations, use t
testing
# Windows Installation Details Windows User Accounts When installing InterSystems IRIS, you must choose the Windows user account to run the InterSystems service, InterSystems IRIS Controller for <instance-name>. There are two options: - The default SYSTEM account (Windows Local System account). This is used in Minimal security installations. - A defined Windows user account. This account must have interactive login privileges for the duration of the installation; they can be revoked after.
tools
# Web Gateway Guide C.2.1 Method 1: Building the CSP Module as Shared Object with apxs (APache eXtenSion) Appendix D: Add the Web Gateway to a Locked-Down Apache Installation (UNIX®/Linux/macOS) The Web Gateway: Serve InterSystems Web Applications and REST APIs to a Web Client An InterSystems IRIS® web application consists of code which provides content dynamically to a web client (usually a web browser) in response to a request. The InterSystems Web Gateway makes this possible: it is a soft