Welcome to the MAINVIEW Data Server. Before using MAINVIEW Data Server, there are a number of pieces of information that you will need to assemble:
On the main screen, select View→Setup. The Setup dialog is displayed. Select the Hosts Computers tab:
Right click in the screen and select "new" to define a new host server. Edit each of the first three fields to provide a name for the server, its address, and the port number. Leave Type set to Login. Repeat for all of your servers.
Select one server whose clock will be used to synchronize the "Host" time on the main panel. Click the "Clock Source" box for that server.
Click OK.
For each of the servers that is currently active you will get a log on dialog:
Enter the user ID and password for that server. If it is not a security risk, and you wish to have future log-ins automatic, check the "Remember this password" box. Click OK. Repeat for each server.
If all of the servers that you defined are active, the main panel will now have a green background (and a smiley face):
Click on the Host button to monitor the time as it is known to your server.
If there was some problem defining a server, you can check the status by using View→Status and look at any log messages by selecting View→Log. You can then return to Setup to correct any problems.
The most common use of the MAINVIEW Data Server is to record data in a database, but flat files can also be used. You will need to customize the supplied user exits to point to your data repository. The user exits are stored in the Exits folder where the product was installed.
It is convenient to use the tools of Explorer to define file type ".bsh" as a "BeanShell script" and to request that it be opened with Notepad. Select one of the existing sample scripts, depending on what type of recording you plan to do, and make a working copy of it in the same directory.
Edit the exit to conform to your requirements following the instructions in ODBC Exit topic.
Open the Setup dialog using View/Setup, and select the Recording Requests tab. All of the products and contexts found on the host servers are displayed. These definitions are maintained using the MAINVIEW CASDEF tool. Select one that contains a view whose fields you want to record. Clicking the plus sign in front of a name opens the next level below it until you finally get a list of fields.
In the left pane, click the first field that you wish to record. If you want to confirm the column name of the field, hover over it and the name pops up. Hold down the Ctrl key, and click other fields to be recorded. You can use Shift-Click to select a range of fields.
When you have selected all of the fields of interest, right-click and select "new" to create a new recording request. Edit the characteristics of the request to reflect your requirements as outlined in the Setup Topic. Your exits should display in the list of Exits using the name returned by their "id()" method.
Repeat for all of the views that you want to record.
Click Apply or OK and the MAINVIEW Data Server will begin recording your data. The activity bar at the bottom of the main panel indicates LAN activity as data is retrieved. You can monitor progress by selecting View→Requests and check for errors using View→Log.