SlideShare uma empresa Scribd logo
1 de 14
Baixar para ler offline
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
Table of Contents
SUMMARY .........................................................................................................................................................................................................................................................3
CONTEXT OF THE APPLICATION .........................................................................................................................................................................................................................4
FUNCTIONALITY .................................................................................................................................................................................................................................................5
FUNCTIONAL DETAILS ........................................................................................................................................................................................................................................6
SAMPLE USE CASE 1 – IDENTIFY DIVERGENT FILE STRUCTURES .......................................................................................................................................................................10
SAMPLE USE CASE 2 – LOCATE TABLES CREATED BY SQL STATEMENTS............................................................................................................................................................11
SAMPLE USE CASE 3 – SEARCH FOR FIELD NAMES AND OBTAIN ADDITIONAL INFORMATION .........................................................................................................................13
CONTACT AND FURTHER INFORMATION .........................................................................................................................................................................................................14

Page 2 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
Summary
The Lerox DB/2 Database Dictionary for System AS/400, iSeries i5, System i is a QlikView application that provides easy structural
analysis of any DB/2 database on these systems. It can be used to locate data and create script snippets for the data modeling phase
of QlikView application design. Target groups are database administrators and QlikView application developers that require data from
DB/2 data sources for their analysis.
The application consists of two parts: The first file is connected directly to a DB/2 database. It is used to load the repository, transform
fields to show interconnections and save everything in a QlikView optimized file format. The second part provides an intuitive
QlikView user interface for analysis.
Installation only requires three steps: At first a user with sufficient reading rights to load all relevant data needs to be created on the
DB/2 system. Then an ODBC connection needs to be established and added to the load script of the DB/2 Database Dictionary.
Lerox has more than two decades of experience with DB/2 databases and started developing DB/2 analysis applications in QlikView
in 2003. The DB/2 Database Dictionary has been useful in client installations for many years.
Please contact Lerox Account Manager Markus Baumgartner at +43 676 740 7890 or markus.baumgartner@lerox.at for further
details.

Page 3 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
Context of the application
Throughout the years, IBM solutions have been using the integrated database called DB/2 for the operating systems OS/400 and
I5/OS later on. AS/400 used to be the name of the corresponding hardware for a long period of time and is still frequently used, even
when referring to the newer iSeries or System i.

Summary of IBM product names over the past decades

Page 4 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
Functionality
As most QlikView developers know, „sqltables“ is a very useful command for development. It is used to combine an array of fields
from an ODBC data source in tables. Together with fields generated by the commands “sqlcolumns” and “sqltypes” these fields show
structure and properties of a database.
In context of AS/400 systems this information is usually not sufficient as DB/2 is not an SQL database per-se - structure and
management are significantly different. Additional information regarding fields, their occurrence, access paths, etc. is required. At this
point the Lerox DB/2 Database Dictionary can be used in to provide simple access to the additionally required information.
The Database Dictionary itself consists of two QlikView applications. The data loader application determines and locates data in the
DB/2 repository and saves the information to QlikView optimized QVD files (i5_get_DB2_Repository_into_QVD.qvw). The data loader
also translates content of certain fields. The actual collection of data is determined by the ODBC connection, the overall number of
tables and the libraries where data tables are saved. For large, complex systems this automated process can take up to an hour.
A database user is required to connect the Database Dictionary application to the DB/2 database via ODBC. This user needs to be
able to read the libraries QSYS, QSYS2 and QUSRSYS, users in the class *PGMR usually have the appropriate rights.
As soon as QlikView optimized QVD files have been created by the first application of the Lerox Database Dictionary, the second
application (i5_display_DB-File-Field-Structure.qvw) can be used for in depth analysis as it allows direct access to the DB/2 database
repository and to additional Meta information. In addition QlikView Developers can easily run various queries on tables and fields.
They can also copy selected fields to their QlikView load scripts and correspondingly rename fields to self-explaining expressions (by
default the existing field text is used).

Page 5 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
Functional Details

Folder (Library) of tables
(Files)

Name of a table (file)

Record format (see below
for details)

Owner of the table (file)

Screenshot 1: Main screen of the analysis application of the database dictionary right after start

Page 6 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
Details on record format
Record formats are specific to the DB/2 for iBusiness. Groups can be created in database files (tables) that contain multiple fields.
This allows uniting multiple files (tables) in a logical view. In the conceptual view of the database design one example may be an
order head, order details and maybe an additional order free text that are joined via a common key like company or order number.
Standard QlikView cannot process such logical files as there are no equivalents for them in SQL.

Screenshot 2: Selection of a library (folder) and a file (table) to access additional details

Page 7 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i

Screenshot 3 - Detail view on structure table: This example shows a file (table) with two key fields.

Screenshot 4 - Detail view on Meta information
File-Attr, PF, LF, TB, ID (Specific to DB/2 on AS/400): PF [Physical File (table)] and LF [Logical File]:
File D=Data, S=Source (Specific to DB/2 on AS/400): „D“ marks a file (table) that is managed by the DB/2 Database Management in
all instances (usually files that contain client data). „S“ marks a file (table) that is also managed by the DB/2 Database Management
but contains program code for application development.

Page 8 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i

Screenshot 5 – Detail view: Mapping table for field name
conversion
Screenshot 4: Tab for display and export of QlikView script
snippets
When working with QlikView self-explaining field names are very important. Field names in DB/2 systems are very technical;
therefore the DB/2 Database Dictionary offers a mapping table and a script generator that translates DB/2 field names into selfexplaining names for use in the QlikView data model.

Page 9 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
Sample Use Case 1 – Identify divergent file structures
A search for the file “BUP” returned an
associative analysis showing that this
file exists in multiple libraries and that
there are multiple owners for the file.
Even more interesting is the fact that
the files (tables) have varying structures
(field structure) across libraries.
In a relational database something like
this should not happen. Still, in many
cases such a state cannot be entirely
eliminated in practice because of a
necessity for different development
versions, while a DB/2 repository
always manages and displays all files
(tables) of a system.

Page 10 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
Sample Use Case 2 – Locate tables created by SQL statements

DB/2 files (tables) that were created using SQL statements can easily be identified and selected using the file type box of the DB/2
database dictionary.
Currently the following selections are possible:
Index (SQL)
Objects created via create index
Logical File (DDS)
Objects created via DDS and the system command CRTLF
Physical File (DDS)
Objects created via DDS and the System command CRTPF
Remote File DDM
Objects created via System Commands (CRTDDMF)
Table (SQL)
Objects created via SQL create table
View (SQL)
Objects created via SQL create view
A counter next to the selection displays the total number of occurrences in a system. Data objects can be accessed directly via
further selection in “library” and/or „file“.

Page 11 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
In the following example, selection of file type “View” and table CHECK_CSTS returns that this file occurs in both the QSYS2 and
SYSIBM libraries.

Page 12 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
Sample Use Case 3 – Search for field names and obtain additional information
Another very common question
regarding DB/2 databases is where a
specific field name occurs. This can
be easily answered with the DB/2
Database Dictionary.
In this example the length of the field
OP#BU needs to be altered in the
database.
To locate all occurrences in the
database the field is selected in the
DB/2 Database dictionary.
The resulting associative analysis
offers a lot of useful information like
the total number of occurrences in
files (tables) or in which libraries
(folders) these tables are stored.
Also data type of a table (D/S) and
its owner can be easily identified.

Page 13 / 14
Lerox DB/2 Database Dictionary in QlikView
for IBM System AS/400, iSeries i5, System i
Contact and further Information
Lerox is a well-established IT solution provider with the largest dedicated QlikView team in Austria. The team is serving
customers in Austria and Germany with data analysis and QlikView since 2004. From the very beginning analysis for AS/400
systems (and predecessors) are one of the key specialties of the team.
Customers who are successfully using the DB/2 Database Dictionary include:

Please contact Lerox Account Manager Markus Baumgartner at +43 676 740 7890 or markus.baumgartner@lerox.at for further
details.

Page 14 / 14

Mais conteúdo relacionado

Mais procurados

S3 l5 db2 - process model
S3 l5   db2 - process modelS3 l5   db2 - process model
S3 l5 db2 - process modelMohammad Khan
 
Introducing ms sql_server_updated
Introducing ms sql_server_updatedIntroducing ms sql_server_updated
Introducing ms sql_server_updatedleetinhf
 
Sharepoint 2007 backup & restore
Sharepoint 2007 backup & restoreSharepoint 2007 backup & restore
Sharepoint 2007 backup & restoreDecatec
 
S3 l6 db2 - memory model
S3 l6   db2 - memory modelS3 l6   db2 - memory model
S3 l6 db2 - memory modelMohammad Khan
 
MDF and LDF in SQL Server
MDF and LDF in SQL ServerMDF and LDF in SQL Server
MDF and LDF in SQL ServerMasum Reza
 
Understanding NonStop SQLMX SDA and its impact on performance
Understanding NonStop SQLMX SDA and its impact on performanceUnderstanding NonStop SQLMX SDA and its impact on performance
Understanding NonStop SQLMX SDA and its impact on performanceFrans Jongma
 
Oracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creationsOracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creationsYogiji Creations
 
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday CopenhagenWhat's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday CopenhagenIlia Sotnikov
 
DbVisualizer for NonStop SQL
DbVisualizer for NonStop SQLDbVisualizer for NonStop SQL
DbVisualizer for NonStop SQLFrans Jongma
 
Oracle dba interview question
Oracle dba interview questionOracle dba interview question
Oracle dba interview questionAmarendra Sharma
 
Concepts of NonStop SQL/MX: Part 5 - Stored Procedures
Concepts of NonStop SQL/MX: Part 5 - Stored ProceduresConcepts of NonStop SQL/MX: Part 5 - Stored Procedures
Concepts of NonStop SQL/MX: Part 5 - Stored ProceduresFrans Jongma
 
Big Data: Working with Big SQL data from Spark
Big Data:  Working with Big SQL data from Spark Big Data:  Working with Big SQL data from Spark
Big Data: Working with Big SQL data from Spark Cynthia Saracco
 
Native tables in NonStop SQL database
Native tables in NonStop SQL databaseNative tables in NonStop SQL database
Native tables in NonStop SQL databaseFrans Jongma
 
Sql server 2012 dba online training
Sql server 2012 dba online trainingSql server 2012 dba online training
Sql server 2012 dba online trainingsqlmasters
 
12. oracle database architecture
12. oracle database architecture12. oracle database architecture
12. oracle database architectureAmrit Kaur
 
NonStop SQL/MX DBS Explained
NonStop SQL/MX DBS ExplainedNonStop SQL/MX DBS Explained
NonStop SQL/MX DBS ExplainedFrans Jongma
 
576 oracle-dba-interview-questions
576 oracle-dba-interview-questions576 oracle-dba-interview-questions
576 oracle-dba-interview-questionsNaveen P
 

Mais procurados (19)

S3 l5 db2 - process model
S3 l5   db2 - process modelS3 l5   db2 - process model
S3 l5 db2 - process model
 
Introducing ms sql_server_updated
Introducing ms sql_server_updatedIntroducing ms sql_server_updated
Introducing ms sql_server_updated
 
Sql server basics
Sql server basicsSql server basics
Sql server basics
 
Sharepoint 2007 backup & restore
Sharepoint 2007 backup & restoreSharepoint 2007 backup & restore
Sharepoint 2007 backup & restore
 
S3 l6 db2 - memory model
S3 l6   db2 - memory modelS3 l6   db2 - memory model
S3 l6 db2 - memory model
 
MDF and LDF in SQL Server
MDF and LDF in SQL ServerMDF and LDF in SQL Server
MDF and LDF in SQL Server
 
Understanding NonStop SQLMX SDA and its impact on performance
Understanding NonStop SQLMX SDA and its impact on performanceUnderstanding NonStop SQLMX SDA and its impact on performance
Understanding NonStop SQLMX SDA and its impact on performance
 
Oracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creationsOracle architecture with details-yogiji creations
Oracle architecture with details-yogiji creations
 
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday CopenhagenWhat's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen
What's new in SharePoint 2010 for Backup and Recovery - SP Saturday Copenhagen
 
DbVisualizer for NonStop SQL
DbVisualizer for NonStop SQLDbVisualizer for NonStop SQL
DbVisualizer for NonStop SQL
 
Oracle dba interview question
Oracle dba interview questionOracle dba interview question
Oracle dba interview question
 
Concepts of NonStop SQL/MX: Part 5 - Stored Procedures
Concepts of NonStop SQL/MX: Part 5 - Stored ProceduresConcepts of NonStop SQL/MX: Part 5 - Stored Procedures
Concepts of NonStop SQL/MX: Part 5 - Stored Procedures
 
Big Data: Working with Big SQL data from Spark
Big Data:  Working with Big SQL data from Spark Big Data:  Working with Big SQL data from Spark
Big Data: Working with Big SQL data from Spark
 
Native tables in NonStop SQL database
Native tables in NonStop SQL databaseNative tables in NonStop SQL database
Native tables in NonStop SQL database
 
Sql server 2012 dba online training
Sql server 2012 dba online trainingSql server 2012 dba online training
Sql server 2012 dba online training
 
12. oracle database architecture
12. oracle database architecture12. oracle database architecture
12. oracle database architecture
 
Ramesh_Oracle_DBA
Ramesh_Oracle_DBARamesh_Oracle_DBA
Ramesh_Oracle_DBA
 
NonStop SQL/MX DBS Explained
NonStop SQL/MX DBS ExplainedNonStop SQL/MX DBS Explained
NonStop SQL/MX DBS Explained
 
576 oracle-dba-interview-questions
576 oracle-dba-interview-questions576 oracle-dba-interview-questions
576 oracle-dba-interview-questions
 

Destaque

effiziente Werbung für kleine Unternehmen
effiziente Werbung für kleine Unternehmeneffiziente Werbung für kleine Unternehmen
effiziente Werbung für kleine UnternehmenSteiner Werbung AG
 
Revista a! 35 - Homenaje - Humor en camiseta
Revista a! 35 - Homenaje - Humor en camisetaRevista a! 35 - Homenaje - Humor en camiseta
Revista a! 35 - Homenaje - Humor en camisetaRedSocialFuva
 
Historia del texto del nt
Historia del texto del ntHistoria del texto del nt
Historia del texto del ntRebeca Reynaud
 
1616 IP Phone an der IP Office
1616 IP Phone an der IP Office1616 IP Phone an der IP Office
1616 IP Phone an der IP OfficeStevil
 
dotCloud (now Docker) Paas under the_hood
dotCloud (now Docker) Paas under the_hood dotCloud (now Docker) Paas under the_hood
dotCloud (now Docker) Paas under the_hood Susan Wu
 
Accidente de helicóptero Camino del Molino 17 de Diciembre de 1996
Accidente de helicóptero Camino del Molino 17 de Diciembre de 1996Accidente de helicóptero Camino del Molino 17 de Diciembre de 1996
Accidente de helicóptero Camino del Molino 17 de Diciembre de 1996bomberosdefuenlabrada
 
Parasha nº 23 pekudei 9 marzo 13
Parasha nº 23 pekudei  9 marzo 13Parasha nº 23 pekudei  9 marzo 13
Parasha nº 23 pekudei 9 marzo 13Horeb Israelita
 
Swede powerpoint (1)
Swede powerpoint (1)Swede powerpoint (1)
Swede powerpoint (1)Katelynaranda
 
Output Management Solutions from CA Technologies: More Than Just Printing
Output Management Solutions from CA Technologies: More Than Just PrintingOutput Management Solutions from CA Technologies: More Than Just Printing
Output Management Solutions from CA Technologies: More Than Just PrintingCA Technologies
 
Programa del curso Social Business Management
Programa del curso Social Business ManagementPrograma del curso Social Business Management
Programa del curso Social Business Managementbestrelations
 
Redes sociales corporativas
Redes sociales corporativasRedes sociales corporativas
Redes sociales corporativasAdigital
 
PenTest Magazine Teaser - Mobile Hacking
PenTest Magazine Teaser - Mobile HackingPenTest Magazine Teaser - Mobile Hacking
PenTest Magazine Teaser - Mobile HackingAditya K Sood
 

Destaque (20)

effiziente Werbung für kleine Unternehmen
effiziente Werbung für kleine Unternehmeneffiziente Werbung für kleine Unternehmen
effiziente Werbung für kleine Unternehmen
 
Revista a! 35 - Homenaje - Humor en camiseta
Revista a! 35 - Homenaje - Humor en camisetaRevista a! 35 - Homenaje - Humor en camiseta
Revista a! 35 - Homenaje - Humor en camiseta
 
Historia del texto del nt
Historia del texto del ntHistoria del texto del nt
Historia del texto del nt
 
1616 IP Phone an der IP Office
1616 IP Phone an der IP Office1616 IP Phone an der IP Office
1616 IP Phone an der IP Office
 
dotCloud (now Docker) Paas under the_hood
dotCloud (now Docker) Paas under the_hood dotCloud (now Docker) Paas under the_hood
dotCloud (now Docker) Paas under the_hood
 
Accidente de helicóptero Camino del Molino 17 de Diciembre de 1996
Accidente de helicóptero Camino del Molino 17 de Diciembre de 1996Accidente de helicóptero Camino del Molino 17 de Diciembre de 1996
Accidente de helicóptero Camino del Molino 17 de Diciembre de 1996
 
Parasha nº 23 pekudei 9 marzo 13
Parasha nº 23 pekudei  9 marzo 13Parasha nº 23 pekudei  9 marzo 13
Parasha nº 23 pekudei 9 marzo 13
 
DEJATELLEVAR Nº 1
DEJATELLEVAR Nº 1DEJATELLEVAR Nº 1
DEJATELLEVAR Nº 1
 
Swede powerpoint (1)
Swede powerpoint (1)Swede powerpoint (1)
Swede powerpoint (1)
 
Bubt
BubtBubt
Bubt
 
MPL SMTP PP & BODY
MPL SMTP PP & BODYMPL SMTP PP & BODY
MPL SMTP PP & BODY
 
Output Management Solutions from CA Technologies: More Than Just Printing
Output Management Solutions from CA Technologies: More Than Just PrintingOutput Management Solutions from CA Technologies: More Than Just Printing
Output Management Solutions from CA Technologies: More Than Just Printing
 
Finalbooklet
FinalbookletFinalbooklet
Finalbooklet
 
Saxo conferencia
Saxo conferenciaSaxo conferencia
Saxo conferencia
 
10 razones para contratarme
10 razones para contratarme10 razones para contratarme
10 razones para contratarme
 
Deming
DemingDeming
Deming
 
Programa del curso Social Business Management
Programa del curso Social Business ManagementPrograma del curso Social Business Management
Programa del curso Social Business Management
 
Uae watergy 09_15
Uae watergy 09_15Uae watergy 09_15
Uae watergy 09_15
 
Redes sociales corporativas
Redes sociales corporativasRedes sociales corporativas
Redes sociales corporativas
 
PenTest Magazine Teaser - Mobile Hacking
PenTest Magazine Teaser - Mobile HackingPenTest Magazine Teaser - Mobile Hacking
PenTest Magazine Teaser - Mobile Hacking
 

Semelhante a Lerox db2 database dictionary for ibm system as400 i series i5 system i v05

DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3YOGESH SINGH
 
Trunk and branches for database configuration management
Trunk and branches for database configuration managementTrunk and branches for database configuration management
Trunk and branches for database configuration managementscmsupport
 
Security Multitenant
Security MultitenantSecurity Multitenant
Security MultitenantArush Jain
 
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...Maris Elsins
 
Data Analytics Meetup: Introduction to Azure Data Lake Storage
Data Analytics Meetup: Introduction to Azure Data Lake Storage Data Analytics Meetup: Introduction to Azure Data Lake Storage
Data Analytics Meetup: Introduction to Azure Data Lake Storage CCG
 
Visualizing a Database Structure with SchemaSpy
Visualizing a Database Structure with SchemaSpyVisualizing a Database Structure with SchemaSpy
Visualizing a Database Structure with SchemaSpyGuo Albert
 
Db2 Important questions to read
Db2 Important questions to readDb2 Important questions to read
Db2 Important questions to readPrasanth Dusi
 
Brief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas moslehBrief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas moslehFas (Feisal) Mosleh
 
System i - DDL vs DDS Presentation
System i - DDL vs DDS PresentationSystem i - DDL vs DDS Presentation
System i - DDL vs DDS PresentationChuck Walker
 
Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02CH JuNaid
 
Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02CH JuNaid
 
Library management
Library managementLibrary management
Library managementfarouq umar
 

Semelhante a Lerox db2 database dictionary for ibm system as400 i series i5 system i v05 (20)

DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3DEE 431 Introduction to Mysql Slide 3
DEE 431 Introduction to Mysql Slide 3
 
Sql project ..
Sql project ..Sql project ..
Sql project ..
 
Trunk and branches for database configuration management
Trunk and branches for database configuration managementTrunk and branches for database configuration management
Trunk and branches for database configuration management
 
Introduction to SQL
Introduction to SQLIntroduction to SQL
Introduction to SQL
 
Security Multitenant
Security MultitenantSecurity Multitenant
Security Multitenant
 
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
Whitepaper: Running Oracle e-Business Suite Database on Oracle Database Appli...
 
Data Analytics Meetup: Introduction to Azure Data Lake Storage
Data Analytics Meetup: Introduction to Azure Data Lake Storage Data Analytics Meetup: Introduction to Azure Data Lake Storage
Data Analytics Meetup: Introduction to Azure Data Lake Storage
 
Visualizing a Database Structure with SchemaSpy
Visualizing a Database Structure with SchemaSpyVisualizing a Database Structure with SchemaSpy
Visualizing a Database Structure with SchemaSpy
 
Db2 Important questions to read
Db2 Important questions to readDb2 Important questions to read
Db2 Important questions to read
 
Oracle Introduction
Oracle Introduction Oracle Introduction
Oracle Introduction
 
Dbmsunit v
Dbmsunit vDbmsunit v
Dbmsunit v
 
Brief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas moslehBrief introduction to NoSQL by fas mosleh
Brief introduction to NoSQL by fas mosleh
 
System i - DDL vs DDS Presentation
System i - DDL vs DDS PresentationSystem i - DDL vs DDS Presentation
System i - DDL vs DDS Presentation
 
Artigo no sql x relational
Artigo no sql x relationalArtigo no sql x relational
Artigo no sql x relational
 
AWS Databases
AWS DatabasesAWS Databases
AWS Databases
 
21
2121
21
 
Sqlite
SqliteSqlite
Sqlite
 
Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02
 
Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02Librarymanagement 140315062611-phpapp02
Librarymanagement 140315062611-phpapp02
 
Library management
Library managementLibrary management
Library management
 

Último

Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Wonjun Hwang
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesZilliz
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embeddingZilliz
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfSeasiaInfotech2
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 

Último (20)

Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
Bun (KitWorks Team Study 노별마루 발표 2024.4.22)
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
Vector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector DatabasesVector Databases 101 - An introduction to the world of Vector Databases
Vector Databases 101 - An introduction to the world of Vector Databases
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Training state-of-the-art general text embedding
Training state-of-the-art general text embeddingTraining state-of-the-art general text embedding
Training state-of-the-art general text embedding
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
The Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdfThe Future of Software Development - Devin AI Innovative Approach.pdf
The Future of Software Development - Devin AI Innovative Approach.pdf
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 

Lerox db2 database dictionary for ibm system as400 i series i5 system i v05

  • 1. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i
  • 2. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Table of Contents SUMMARY .........................................................................................................................................................................................................................................................3 CONTEXT OF THE APPLICATION .........................................................................................................................................................................................................................4 FUNCTIONALITY .................................................................................................................................................................................................................................................5 FUNCTIONAL DETAILS ........................................................................................................................................................................................................................................6 SAMPLE USE CASE 1 – IDENTIFY DIVERGENT FILE STRUCTURES .......................................................................................................................................................................10 SAMPLE USE CASE 2 – LOCATE TABLES CREATED BY SQL STATEMENTS............................................................................................................................................................11 SAMPLE USE CASE 3 – SEARCH FOR FIELD NAMES AND OBTAIN ADDITIONAL INFORMATION .........................................................................................................................13 CONTACT AND FURTHER INFORMATION .........................................................................................................................................................................................................14 Page 2 / 14
  • 3. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Summary The Lerox DB/2 Database Dictionary for System AS/400, iSeries i5, System i is a QlikView application that provides easy structural analysis of any DB/2 database on these systems. It can be used to locate data and create script snippets for the data modeling phase of QlikView application design. Target groups are database administrators and QlikView application developers that require data from DB/2 data sources for their analysis. The application consists of two parts: The first file is connected directly to a DB/2 database. It is used to load the repository, transform fields to show interconnections and save everything in a QlikView optimized file format. The second part provides an intuitive QlikView user interface for analysis. Installation only requires three steps: At first a user with sufficient reading rights to load all relevant data needs to be created on the DB/2 system. Then an ODBC connection needs to be established and added to the load script of the DB/2 Database Dictionary. Lerox has more than two decades of experience with DB/2 databases and started developing DB/2 analysis applications in QlikView in 2003. The DB/2 Database Dictionary has been useful in client installations for many years. Please contact Lerox Account Manager Markus Baumgartner at +43 676 740 7890 or markus.baumgartner@lerox.at for further details. Page 3 / 14
  • 4. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Context of the application Throughout the years, IBM solutions have been using the integrated database called DB/2 for the operating systems OS/400 and I5/OS later on. AS/400 used to be the name of the corresponding hardware for a long period of time and is still frequently used, even when referring to the newer iSeries or System i. Summary of IBM product names over the past decades Page 4 / 14
  • 5. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Functionality As most QlikView developers know, „sqltables“ is a very useful command for development. It is used to combine an array of fields from an ODBC data source in tables. Together with fields generated by the commands “sqlcolumns” and “sqltypes” these fields show structure and properties of a database. In context of AS/400 systems this information is usually not sufficient as DB/2 is not an SQL database per-se - structure and management are significantly different. Additional information regarding fields, their occurrence, access paths, etc. is required. At this point the Lerox DB/2 Database Dictionary can be used in to provide simple access to the additionally required information. The Database Dictionary itself consists of two QlikView applications. The data loader application determines and locates data in the DB/2 repository and saves the information to QlikView optimized QVD files (i5_get_DB2_Repository_into_QVD.qvw). The data loader also translates content of certain fields. The actual collection of data is determined by the ODBC connection, the overall number of tables and the libraries where data tables are saved. For large, complex systems this automated process can take up to an hour. A database user is required to connect the Database Dictionary application to the DB/2 database via ODBC. This user needs to be able to read the libraries QSYS, QSYS2 and QUSRSYS, users in the class *PGMR usually have the appropriate rights. As soon as QlikView optimized QVD files have been created by the first application of the Lerox Database Dictionary, the second application (i5_display_DB-File-Field-Structure.qvw) can be used for in depth analysis as it allows direct access to the DB/2 database repository and to additional Meta information. In addition QlikView Developers can easily run various queries on tables and fields. They can also copy selected fields to their QlikView load scripts and correspondingly rename fields to self-explaining expressions (by default the existing field text is used). Page 5 / 14
  • 6. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Functional Details Folder (Library) of tables (Files) Name of a table (file) Record format (see below for details) Owner of the table (file) Screenshot 1: Main screen of the analysis application of the database dictionary right after start Page 6 / 14
  • 7. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Details on record format Record formats are specific to the DB/2 for iBusiness. Groups can be created in database files (tables) that contain multiple fields. This allows uniting multiple files (tables) in a logical view. In the conceptual view of the database design one example may be an order head, order details and maybe an additional order free text that are joined via a common key like company or order number. Standard QlikView cannot process such logical files as there are no equivalents for them in SQL. Screenshot 2: Selection of a library (folder) and a file (table) to access additional details Page 7 / 14
  • 8. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Screenshot 3 - Detail view on structure table: This example shows a file (table) with two key fields. Screenshot 4 - Detail view on Meta information File-Attr, PF, LF, TB, ID (Specific to DB/2 on AS/400): PF [Physical File (table)] and LF [Logical File]: File D=Data, S=Source (Specific to DB/2 on AS/400): „D“ marks a file (table) that is managed by the DB/2 Database Management in all instances (usually files that contain client data). „S“ marks a file (table) that is also managed by the DB/2 Database Management but contains program code for application development. Page 8 / 14
  • 9. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Screenshot 5 – Detail view: Mapping table for field name conversion Screenshot 4: Tab for display and export of QlikView script snippets When working with QlikView self-explaining field names are very important. Field names in DB/2 systems are very technical; therefore the DB/2 Database Dictionary offers a mapping table and a script generator that translates DB/2 field names into selfexplaining names for use in the QlikView data model. Page 9 / 14
  • 10. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Sample Use Case 1 – Identify divergent file structures A search for the file “BUP” returned an associative analysis showing that this file exists in multiple libraries and that there are multiple owners for the file. Even more interesting is the fact that the files (tables) have varying structures (field structure) across libraries. In a relational database something like this should not happen. Still, in many cases such a state cannot be entirely eliminated in practice because of a necessity for different development versions, while a DB/2 repository always manages and displays all files (tables) of a system. Page 10 / 14
  • 11. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Sample Use Case 2 – Locate tables created by SQL statements DB/2 files (tables) that were created using SQL statements can easily be identified and selected using the file type box of the DB/2 database dictionary. Currently the following selections are possible: Index (SQL) Objects created via create index Logical File (DDS) Objects created via DDS and the system command CRTLF Physical File (DDS) Objects created via DDS and the System command CRTPF Remote File DDM Objects created via System Commands (CRTDDMF) Table (SQL) Objects created via SQL create table View (SQL) Objects created via SQL create view A counter next to the selection displays the total number of occurrences in a system. Data objects can be accessed directly via further selection in “library” and/or „file“. Page 11 / 14
  • 12. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i In the following example, selection of file type “View” and table CHECK_CSTS returns that this file occurs in both the QSYS2 and SYSIBM libraries. Page 12 / 14
  • 13. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Sample Use Case 3 – Search for field names and obtain additional information Another very common question regarding DB/2 databases is where a specific field name occurs. This can be easily answered with the DB/2 Database Dictionary. In this example the length of the field OP#BU needs to be altered in the database. To locate all occurrences in the database the field is selected in the DB/2 Database dictionary. The resulting associative analysis offers a lot of useful information like the total number of occurrences in files (tables) or in which libraries (folders) these tables are stored. Also data type of a table (D/S) and its owner can be easily identified. Page 13 / 14
  • 14. Lerox DB/2 Database Dictionary in QlikView for IBM System AS/400, iSeries i5, System i Contact and further Information Lerox is a well-established IT solution provider with the largest dedicated QlikView team in Austria. The team is serving customers in Austria and Germany with data analysis and QlikView since 2004. From the very beginning analysis for AS/400 systems (and predecessors) are one of the key specialties of the team. Customers who are successfully using the DB/2 Database Dictionary include: Please contact Lerox Account Manager Markus Baumgartner at +43 676 740 7890 or markus.baumgartner@lerox.at for further details. Page 14 / 14