User bio

Graduated in Software Engineering and Information Security.
I work as a Caché developer and currently as a Caché/IRIS Database Administrator, managing and automating multiple instances in the Cloud Environment.

My areas of interest are Security, Performance Database and Linux Environment.

Member since Dec 5, 2018
Replies:

Maybe it can help,

In the SYS.Database Class you can find the IsSystemDB(Directory) method that returns whether it is a system database.
It works on Caché and IRIS.

Documentation IsSystemDB - IRIS

Documentation IsSystemDB - Caché

Examples:

%SYS>set databaseDir = ##class(Config.Databases).Open("IRISLIB").Directory

%SYS>write ##class(SYS.Database).IsSystemDB(databaseDir)
1
%SYS>set databaseDir = ##class(Config.Databases).Open("CACHELIB").Directory

%SYS>write ##class(SYS.Database).IsSystemDB(databaseDir)
1
Certifications & Credly badges:
Global Masters badges:
Lucas has no Global Masters badges yet.
Followers:
Following: