(Included with RoAccess)
Validating Spreadsheet Loader
For Rochade 7.x and 6.x
With NameSpaces and Extended Naming

Rochade Spreadsheet Loader Column Options

 

General Introduction

RoLoader comes packaged two ways:

RoLoader will load data from spreadsheets, MS Access extracts, flat files and other data.  You can also create programs to migrate data from various sources to be loaded with RoLoader.

Basically:

What could be easier? 

RoLoader as a Loading Management System

Ever have the situation where you are looking at loaded data, but see a problem and want to know where that data came from?  Of course.  The next question asked is usually, "does anyone know where the data load file is?"  Here may be a problem.  Most times, data that is loaded gets lost or deleted.  Not with RoLoader.

Every file that you load stays available to you, as it is also stored in Rochade.  You can later retrieve the file, even modify it, and then reload it.  When you introduce a data load file into RoAccess, you also can specify where the data came from, what processing steps were done to it in the process, and what are the mappings to the Rochade attributes.  That is RoLoader can hold a complete history of what what was loaded, when, why with complete documentation.  If you want to analyze the load file a year later, no problem, with RoLoader!

 

To view the RoLoader Product Sheet, click here.

Most companies have a great deal of information, but they reside in a large number of different formats.  These may range from text files, word processing files,  and a variety of other databases or applications.   It is usually impractical to write a custom loader that handles all versions of all possible formats.  We were asked to provide a Spreadsheet output/input interface because even the non-technical user can handle Spreadsheets.  Below we will mention Excel, but the same applies to other Spreadsheet programs.

RoLoader, on the other hand, has a very simple input format: tab separated.  This file can be moved between many different applications. Being simple means you can create the load file from a Excel, which everyone can master in minutes.    Also, you can create programs to generate tab separated files to migrate your current application data to spreadsheet format.  You can either then load these generated tab separated files or read them first into Excel.

While being viewed in Excel,  you can sort by columns, look for misspelled words, make global changes, and in general to data cleanup and quality assurance.   Excel can also produce a number of wonderful reports that can be useful for presenting the data for your inspection before you finally decide to load the data.

Usage Details


RoLoader can load just about any type of data into a Rochade database.   The data format most people are familiar with is Spreadsheets.  Therefore, RoAccess allows you to load your spreadsheet data and gives you a lot of flexibility at the same time.

You load one ItemType at a time.  You can load the entire ItemType or just part of it.  For instance, if you data file has 500 rows, you can load all 500 rows or a subset, loading the rest later.

RoLoader has both data analysis data validation.  In addition you can test load your data without writing the specified actual Items.  It also can provide internal information, such as the actual loader statements it will be using for your inspection.

Creating your ROA_RO_LOADER Job Step

To load your data into Rochade using RoLoader, you first have to upload your data file to Rochade and store it in a special Item.  This Item of ROA_RO_LOADER can be thought of a loading "Job Step" because it contains a great deal of loading information.  This job step can be re-executed later.

The basic steps are:

 

The RoLoader Screens

RoLoader is a "Loading System", not just a loader.

First you create an Item of ItemType RoLoader to defined what the file is to be loaded.  The data file itself is also uploaded into that Item so the data file can be retrieved at a later time, if you need to re-load it or correct errors and re-load.  Below is such a screen snapshot. You then document everything you know about the data file so anyone at a later time can understand where the data came from, how it was processed, why it is being loaded, and what mappings you might have changed.

RoLoader stores all data loading files internally in Rochade so they can be extracted an re-loaded or modified at a later time.  The data file to be loaded is uploaded using RoAccess simple, automated file upload, storage and download system. Loading is usually done in steps. Suppose you will be loading 100 different files into a particular ItemType.  The Name of the loading step might contain the ItemType to be loaded plus the step number, where the steps number might be a guide to the order you want to load it.  In this case, the data file will create Item in the "APPLICATION" ItemType. 

The attribute ROA_SPREADSHEET_ITEM_TYPE says that ItemType APPLICATION is to  be loaded from this file.

The blob attribute ROA_SPREADSHEET_DATA holds the data file.

The attribute DESCRIPTION it to allow you to input as much background information as you can about this file and its history.

Note, that two attributes are being loaded from this file" PROCESS_AREA and SUPPORT_MANAGER.  There are other attributes that could be loaded, but this data source only had these few attributes.

Below is the same Item in "Edit Mode".

Once you create this "Load Step", you can proceed to run RoLoader by clicking the RoLoader button at the top of the screen.

Below are three parts to RoLoader screen: Summary Information, Loader Controls, Column Loading Options.  Afterwards is a more detailed description.   They are presented first so you can get an overall understanding by first looking at them.  Then they will be discussed individually in more detail.
 
Summary Statistics: 
Rochade Spreadsheet Loader Summary Information

Column/Attribute information:

Rochade Spreadsheet Loader Column Options

Execution Time Options:

Rochade Spreadsheet Loader Controls

RoLoader accepts data in basically columns that are tab separated, just the way you can write out spreadsheets.  You can load:

You also have several levels of validation that are available to assure quality data.

 You are given a number of options to give you the flexibility you need to load the first time for new Items (that do not currently exist), or for loads after Items already exist, where you are either replacing or adding to the content of the current attributes.

RoLoader was developed to directly load spreadsheet data, or any data that is basically in columns separated by a tab or comma.  So the data can be created by SQL database queries, Access queries and even word processors.

It improves data quality because it helps make sure the data you are loaded is correct by a number of validations you can specify.

For instance, it can enforce validations, like:

Some of its loading options are: It is extremely smart.  When it creates the column loading/validation options, only the ones that are appropriate to that type of column and its extended metadata presented. It reads your data file, and does some preliminary checking before displaying the summary information.

The extended metadata is how RoAccess can declare attributes Integers, with display PIC's like I4, and validation ranges, like between 10 and 25, specify which values an attribute can have, and which link qualifiers that are allowable..
 

Column Loading Options


This screen was generated automatically presenting only the options that are appropriate based on your RIM, Item Type declarations and RoAccess extended metadata.

Columns

Execution Options

The following screen appears at the bottom of RoLoader: You might first want to check out and validate your data.  They you might want to load just a few lines of data to see how it looks.  Then you can load all or any portion of the data.

Some files can be quite large.  Being able to validate and load sections of the file is a real convenience.

The Delete these Items option can help when you might have accidentally loaded bad data in a large number of Items and you want to just delete them all and start from scratch.  This is a real life-saver.

Diagnostic Options

These are not necessary for the normal usage of RoLoader.  They are provided for those who want a detailed understanding and display of exactly RoLoader is doing or who is trying to understand a problem.

BLOBS and Documents

RoLoader can mass upload files and documents into BINARY attributes (blobs).  There are two pieces of information needed:
  • The directory on the WEB server where the document and files are stored.  You specify this once in the "Execution Options" section labeled Document/File Directory.
  • The data in the spreadsheet cell contains the name of the file (located in that directory) plus an optional comment.  If the file is an image, such as a .jpg or .gif, then the comment can also contain the AUTODISPLAY directive just
  • Just as with Text and Value attributes, the spreadsheet data cell contains the information in two formats:
  • filename
  • filename|comment
  • Examples:
      MeetingNotes.doc
      MeetingNotes.doc|Progress meeting on March 5,2000
      BuildingFront.gif
      MarySmith.gif|Employee Mary E. Smith AUTODISPLAY

    The filename does not have any path portion.  Just the base file name.  The comment, which is separated by from the file name by a | vertical bar, is the same as if you were uploading the file directly into RoAccess using the Blob Upload Screen.

    Note: when you upload a single file via RoLoader, the file is sent from your PC to the WEB server.  However, when bulk loading files via RoLoader, these files, which could be thousands, must be already on the WEB server.  If you are using a shared or NFS mounted drive, the files could be already available. Otherwise, you should copy or ftp the files to a temporary directory on the WEB server.  After being loaded into Rochade, they can be deleted.

    Data File Format

    The simplest data file is a single column where the first line is ITEM_NAME.  This file will only list the ItemNames.  You can create these Items or Delete these Items with this simple file.  In this case, even though there are no columns for attributes to be loaded, RoLoader will automatically create a DEFINITION entry, and the "Load Default Value if Null" option will be selected.  The default DEFINITION is the timestamp and user name you would see if you created the Item by hand.  

    Special Processing Options

    If the second line has the format:

        #OPTION=ALL_LINK_ITS

    Then RoLoader will allow link attributes to point to ItemTypes that are not in the Subject Area into which you are loading.  Normally Rochade only allows links to ItemTypes in that Subject Area.