+ All Categories
Home > Documents > ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys...

ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys...

Date post: 31-Mar-2015
Category:
Upload: aron-burbridge
View: 230 times
Download: 0 times
Share this document with a friend
Popular Tags:
25
ADABAS to RDBMS ADABAS to RDBMS Using Using NatQuery NatQuery
Transcript
Page 1: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

ADABAS to RDBMSADABAS to RDBMSUsingUsing

NatQueryNatQuery

Page 2: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

The following session will provide a high-level overview of NatQuery’s ability to automatically extract ADABAS data from a LINUX – Red Hat platform and load this data into an SQL Server environment. For a more comprehensive review or to set up a free thirty day trial, please contact your NatWorks representative or send an e-mail to NatWorks at [email protected].

Page 3: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

Starting from NatQuery’s open desk top, our user will demonstrate the steps needed to download SAG’s example “EMPLOYEE” file (using the Read All Records selection logic option of NatQuery) into a SQL Server table on a remote server.

This process will be the same for queries using more specific selection logic against your production Files. New queries always begin by using the new query icon.

For a “walk through” of a basic query submission please refer to the slide show “Building an End-User Query”, found on the Slide Show page of our web site www.natworks-inc.com.

Page 4: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

Clicking the New Query icon allows the user to chose a File.

In our example the user has chosen the EMPLOYEE file.

The user may select one or more Fields for retrieval.

In this example the user wishes to retrieve all the fields in the File EMPLOYEES. By clicking the Add All button all the Fields will populate the Selected Fields to Retrieve frame.

Page 5: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

A relationship between EMPLOYEES and VEHICLES was previously defined to NatQuery by an Administrator. NatQuery now makes it available to the user.

However, in building an RDBMS extract NatQuery allows only one File at a time to be used. Knowing this the user will click the Continue button.

Page 6: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

Because the user wishes to extract all of the records, they will click the Read All Records option and then click the OK button.

This action will enable the Send to Server icon, which the user will click to begin the submission process.

Page 7: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

NatQuery requires a Program name and a Short Description in order to continue with the Send to Server process. With any new query, default description information is provided, but the user may change this information as needed/desired.

Filling in the Long description option will aid the user in quickly finding this query from the Open Query window.

Checking the Favorite box will be helpful if this query is used often.

Page 8: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

The user is now presented with the Send to Server Options window. From the Extract Type frame the user has chosen the RDBMS Loading option. This extract type allows specific options such as Save JCL as PC File or it may be Scheduled for repeat submissions at specific date/times intervals.

Page 9: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

Currently there are two RDBMS options for the user to chose from; SQL Server and Oracle. The DB Name options are supplied by the Administrator and the user must choose one to continue.

The extraction / loading process being described here is essentially the same for the Oracle environment as it is for the SQL Server environment.

Page 10: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

The other frames on the Send to Server window may be utilized as the informational needs of the user dictate.

Clicking OK at this time will result in several more screens having to do with the optional editing of field information and verification of the users ID and password for the submission process. Ultimately the user will advance to the RDBMS Data Modeling screen.

Page 11: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

NatQuery will select a default primary key for loading the SQL Server tables. In some cases there may be more suitable keys available or the user may want or need to use more then one primary key, or no key at all.

Page 12: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

The Data Model – Select Primary Key window allows the user up to four options. For a full description of these options please consult NatQuery Help.

Page 13: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

This partial screen shows the SQL data model of the EMPLOYEE File based on the Primary Key(s). Child table relationships are wholly visible using the slide on the left side.

The Data Model window allows the user to modify primary key names, table names, specific field options (Null/Not Null and Unique/Not Unique), and the field order and/or location for concatenated fields.

Page 14: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

Double clicking on the line that joins two tables will bring up an Edit Relationship window for those tables. This window is primarily used for referencing the two tables’ relationship.

The initial information is automatically generated, and in most cases it is not recommended to perform any modifications.

Go to End

Page 15: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

Using the Edit menu and the Integration Setup option found there, the user has many options for manipulating their extracted data results.

Page 16: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

The Query Information tab allows the user to manipulate how the data will be viewed and which reports may or may not be generated. The Debug option generates a Command report which is an Administrative review tool. Note that for sites where NatCDC is installed other options will be available.

On the tab marked Integration Setup the user may review and edit the administrative information regarding NatQuery’s interface with the SQL Server.

Page 17: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

If the user is satisfied with the Integration Setup options and the layout of the data, they can proceed to the Continue option.

Page 18: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

This presentation will skip past the next few interactive screens that NatQuery would normally present during the Send to Server submission process.

Here we see NatQuery asking the user to supply their FTP password prior to the submission to the ADABAS server.

Page 19: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

Having clicked the Check Server for Update button we see the request is Done. Notice that the Target is reported as being “SQL Server”.

By hovering the mouse over the slot information we will see a report regarding the retrieved query's’ results.

Page 20: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

After clicking Retrieve Request Output, NatQuery will prompt the user to make very important data migration choices.

Clicking Yes will have NatQuery bring the data to the users workstation before copying it to the SQL Server.

Clicking No assumes that NatQuery already has a specific SQL Loading JCL/Script written which has copied the data to the SQL server and that the data will not be needed on the users workstation. Without this JCL/Script in place NatQuery will create the tables in the RDBMS, but will be unable to load the extracted data.

Page 21: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

Prior to this automatic loading prompt, NatQuery may bring up several screens asking the user for their specific SQL and Network user IDs and passwords, depending on how the integration is to be accomplished.

Similar to other ID and Password requests NatQuery will retain the supplied information only for the duration of the users session.

Page 22: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

A series of screens will be seen as NatQuery connects and loads the extracted data into the SQL Server.

Page 23: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

When the loading activity ceases NatQuery will return the user to the Check Server window.

The user will need to log into their SQL environment to verify the information was extracted successfully.

Page 24: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

Note that the table names include EMP00001_STAGING, this is an optional inclusion and could have been dropped after the loading process. Our user chose not to include an error reporting table as a part of this data loading process.

These and other SQL loading options were available to the user during Integration Setup process in the Data Model / Integration Setup screens. See the screen.

Page 25: ADABAS to RDBMS UsingNatQuery. The following session will provide a high-level overview of NatQuerys ability to automatically extract ADABAS data from.

Simple ideas with enormous potential.

[email protected]

T. 802 485 6112

and


Recommended