Most of the basic programs will work perfectly after compiling but one or two of them are sensitive to the type of system and the way this system behaves.
The following programs should be tested to see that they work properly on the particular flavour of multi-valued database that you have:
mvcmdexe Captures text from TCL commands
mvdctfld Captures field values using the query processor
You may have to alter the code in the keyboard input routine XXGETCHR where XX is the database type code.
You may have to make a copy of mvgetchr The D3 character input routine, if you have to create a new MultiValued Database Type
You may have to alter the code in the TCL interface program XXCMDEXE where XX is the database type code or create a copy of this program based on mvcmdexe the d3 tcl command executing subroutine, if you are setting up an entirely new MVtype
If there isn’t a program XXCMDEXE for your MVtype then be carefull in creating a new one as this is an area that varies across different platforms The order of the modifiers CAPTURING , SETTING RTNLIST etc., vary from platform to platform.
Check you terminal emulators are set up correctly for terminals running MVtools. Each important key will be checked for detection. Use this menu to setup terminals and check that various MVtools functions are working OK. Start by setting up your terminals using the option from this menu called “Set Term Characters”. This will tell MVtools about the keyboard mappings used by your terminals or PC connections to the system. Test these using the option “Keyboard Mapping” and “Keyboard Test” to see if the important keys can be detected by the software.
you need to run through these keychecks from beginning to end with EVERY key detected, otherwise a key may conflict with a key recorded earlier. A key can only be identified if it is unique in the MVtools terminal definitions record for your terminal emulator. So if changes to the keyboard mapping were recorded while running through MVCHECKS then you must start again and check once more that every key can now be detected.
After loading a free terminal emulator onto a PC run through MVCHECKS from TCL to see if each important key used in MVtools can be detected and assigned a unique MVtools KEYNO. DEFAULT terminal or New Definition When this utility is run it will prompt the user for a terminal emulator from the possibilities on file. There should always be at least one terminal definition for a DEFAULT terminal emulator. This default emulator is provided for the most basic emulators and so if you are attempting so set up a more suffisticated emulator package then you may want to create a completely new emulator definition.
When you are happy with your keyboard mapping you should be able to test it using a browse command. At TCL type BROWSE filename where Filename is any file on your system containing items (records). You should see a selection screen which you can navigate with the arrow keys and quit using Escape. The browse command will also accept conditions such as BROWSE MD = “S]”. To achieve the best results from your terminal emulation software you will need to experiment with the settings within the emulation software it’s self and the settings on the MVtools server end using TRMMAN & MVCHECKS.
Next check that the keys work properly in a file maintenance screen For example from TCL SPCMAN or RPGMAN