Skip to main content

What does Atlan crawl from IBM Db2 for z/OS?

TL;DR

Metadata Atlan extracts from IBM Db2 for z/OS - databases, schemas, tables, views, columns, stored procedures, and functions - mapped to Atlan assets.

Connect

Atlan extracts metadata for databases, schemas, tables, views, columns, stored procedures, and functions from the IBM Db2 for z/OS system catalog and maps each property to its internal asset model. The tables below list which source properties Atlan reads and how they appear on the corresponding Atlan asset.

Atlan automatically excludes the system schemas SYSIBM, SYSPROC, SYSSTAT, SYSCTRL, SYSFUN, SYSIBMTS, NULLID, DSNRGCOL, DSNRGNXT, DSNUTILS, and DSNTRACE, along with Db2 directory and catalog databases (DSNDB0*), work-file databases, and implicitly created databases.

Asset types

Source objectAtlan asset type
DatabaseDatabase
Schema, that is, a table or routine qualifierSchema
Base tableTable
ViewView
Column of a table or viewColumn
Stored procedureProcedure
User-defined functionFunction

Atlan doesn't catalog materialized query tables, aliases, synonyms, history tables, global temporary tables, indexes, triggers, or sequences.

Databases

Atlan maps databases to its Database asset type.

Source propertyAtlan propertyDescription
NAMEnameDatabase name
CREATORsourceCreatedByAuthorization ID that created the database
Number of schemas that own tables in the databaseschemaCountCount derived during the crawl

Schemas

Atlan derives schemas from the qualifiers of the tables and views it crawls, combined with the qualifiers of the stored procedures and functions it crawls. This means a schema that owns only routines still appears in Atlan.

Source propertyAtlan propertyDescription
CREATOR or SCHEMAnameSchema name
Number of tablestableCountCount derived during the crawl
Number of viewsviewsCountCount derived during the crawl
Databases whose tables the schema ownssqlDatabasesSet of related Database assets

In Db2 for z/OS, a schema's tables can live in several databases through their table spaces, so a schema is a peer of the databases rather than a child of one. Atlan reflects this by relating each schema to every database whose tables it owns.

Tables

Atlan maps base tables to its Table asset type.

Source propertyAtlan propertyDescription
NAMEnameTable name
CREATORschemaNameOwning schema
DBNAMEdatabaseNameDatabase that holds the table's table space
REMARKSdescriptionTable comment
CREATEDBYsourceCreatedByAuthorization ID that created the table
CREATEDTSsourceCreatedAtCreation timestamp
ALTEREDTSsourceUpdatedAtLast alteration timestamp
Number of columnscolumnCountRecounted from the columns Atlan crawled

Views

Atlan maps views to its View asset type. Db2 stores long view text as numbered fragments, so Atlan reassembles the statement in sequence order and uses it to generate lineage to the view's source tables.

Source propertyAtlan propertyDescription
NAMEnameView name
CREATORschemaNameOwning schema
DBNAMEdatabaseNameDatabase that holds the view
View statement textdefinitionView SQL, reassembled from its fragments
REMARKSdescriptionView comment
CREATEDBYsourceCreatedByAuthorization ID that created the view
CREATEDTSsourceCreatedAtCreation timestamp
ALTEREDTSsourceUpdatedAtLast alteration timestamp
Number of columnscolumnCountRecounted from the columns Atlan crawled

Columns

Atlan maps columns of tables and views to its Column asset type.

Source propertyAtlan propertyDescription
NAMEnameColumn name
COLNOorderOrdinal position
COLTYPEdataTypeDb2 data type
LENGTHmaxLengthDeclared length
SCALEnumericScaleNumeric scale, when non-zero
NULLSisNullableWhether the column accepts nulls
KEYSEQisPrimaryTrue when the column belongs to the primary key
Foreign key membershipisForeignTrue when the column belongs to a foreign key
REMARKSdescriptionColumn comment

Stored procedures

Atlan maps stored procedures to its Procedure asset type. The procedure body is used to generate lineage.

Source propertyAtlan propertyDescription
NAMEnameProcedure name
SCHEMAschemaNameOwning schema
TEXTdefinitionProcedure body
LANGUAGEsqlLanguageImplementation language
REMARKSdescriptionProcedure comment
OWNERsourceCreatedByAuthorization ID that owns the procedure
CREATEDTSsourceCreatedAtCreation timestamp
ALTEREDTSsourceUpdatedAtLast alteration timestamp

Functions

Atlan maps user-defined functions to its Function asset type. The function body is used to generate lineage.

Source propertyAtlan propertyDescription
NAMEnameFunction name
SCHEMAschemaNameOwning schema
TEXTfunctionDefinitionFunction body
LANGUAGEfunctionLanguageImplementation language
REMARKSdescriptionFunction comment
OWNERsourceCreatedByAuthorization ID that owns the function
CREATEDTSsourceCreatedAtCreation timestamp
ALTEREDTSsourceUpdatedAtLast alteration timestamp

Lineage

Atlan generates lineage by parsing the SQL definitions of views, stored procedures, and functions. Query history mining and usage metrics aren't supported for Db2 for z/OS.

See also