MVtools Source Code Index
All the MVtools source code can be viewed or downloaded. You can
install mvtools on a as needed basis. To do this you must be able
to cut and paste and then create files (items)
on your MV system.
Some programs are specific to certain platforms
and can be recognised by the first two characters denoting
the platform. Eg d3 will be a d3 specific program.
The generic programs forming the core to the system
start with the letters MV.
All new programs created should include the following items
in order to access the common data block.
MVCOMMON and
MVEQUATE.
- adgetchr
Adds Mentor - Get keyboard character subroutine
- d3btrmov
D3 - Move Btree index pointer subroutine
- d3btrroo
D3 - Initialise a D3 Index for use in basic code
- d3change
D3 - String change function
- d3closef
D3 - Host file system close function
- d3cmdexe
D3 - TCL interface function
- d3cmpfil
D3/unix - Utility Compare files using Unix shell.
- d3filset
D3 - Reset D3 files brigde codes etc., after re-create.
- d3filinf
D3 File info stats request.
- d3frames
Returns D3 Diskspace details from POVF.
- d3getchr
D3 keyboard input function.
- d3logins
Process at loggon D3.
- d3lstusr
lists the pibs of users active with logon time/port number.
- d3openfl
Open unix host file for READ or WRITE on D3.
- d3readfl
Read from D3 Host file.
- d3tipsta
Start D3 phantom Process.
- d3unixqp
Set an MD/VOC entry to a unix directory.
- d3unxdir
Find host pathname for D3 unix type file.
- d3writef
Open unix host file for READ or WRITE .
- gagetchr
MVbase keyboard character input function.
- jbbtrmov
NOT CONVERTED TO Jbase.
- jbbtrroo
Initialise a JBase Btree index OpENINDEX.
- jbbtrsel
Select records from a Jbase indexed file.
- jbcmdexe
Execute a TCL statement for Jbase (WAKE).
- jbflsinf
Jbase File Information request.
- jbgetchr
JBase Key input routine.
- jbunxdir
Find host pathname for a JB file.
- mvaccess
MV - Security. Access users to menu option check.
- mvaudits
Return a value for Date/time/User etc.,
- mvbashdr
Update header info.
- mvbaspaw
Process After filing basic programs.
- mvbookit
booking out cheques and prompt to book now .
- mvbotask
Bottom line prompt returning response in ASKRETS<1>.
- mvboxtab
Display a table
- mvboxtxt
Display text in a frame.
- mvbtradd
Add a new value to an index.
- mvbtrbui
MVtools type Btree index re-build.
- mvbtrdel
Remove a value from an index.
- mvbtrini
Initialise a MVtools Btree before use.
- mvbtrmov
MVtools Index navigation.
- mvbtrpos
Find INDEXKEY string position on MVtools Btree type index.
- mvbtrupd
Updates all Bindexes for aN item update.
- mvbtrval
Convert FLSISC to a value.
- mvbugman
Fault Log Entry program.
- mvbuifld
Append field to FLD.S & FLD.F dynamica arrays.
- mvbuifnt
Build Fnt (Utility to build File Notes Item) @PREMDOR.BARNSLEY.COM.
- mvbuiscr
Build screen fields into FiELDS<> calling MVBUIFLD.
- mvbuixrf
Cross Ref' Relationships re-building from TCL.
- mvcalsub
Call a subroutine.
- mvchange
Change function.
- mvchecks
Check all MVtools functions work properly.
- mvchkdir
Check the status of the remote system directory .
- mvcmblst
Build a list of mutual items.
- mvcmdexe
Basic Interface to TCL command line .
- mvcolrow
Set FCOL,FROW,PCOL,PROW.
- mvcomact
Read or write common block from disk.
- mvcomlin
Data entry command line.
- mvcommon
Common data definition.
- mvcompfl
Compare two files building DIFFERENCE.
- mvctthlp
Show Field help in footer.
- mvcttrec
Display a record from SELDEFN , LISTITEM.
- mvcsvext
Extract a data file to .CSV file on PC.
- mvcsvwiz
Make CSV file from TXT format or Fixed length/Delim.
- mvdatcnv
Various date formats not generic to all MVplatforms.
- mvdbgbas
Called if DGB=2 at exit of every subroutine.
- mvdbpack
Pack all defined data into a single file for distributing .
- mvdctfld
Get dictionary value(S) from an item via TCL execute/capture.
- mvdctitm
Read/Write a system type dictionary using 'PICK' style record.
- mvdctsel
Insert a field selection onto the current field Common SELDEFN.
- mvdefkey
Set up the defn item from just the key.
- mvdeftrm
Set up the defn item from just the key.
- mvdelfil
Delete Items using common DELDEFN.
- mvdelwrk
Removes all temporary files & working directory contents.
- mvdemoit
Demonstration of MVtools system.
- mvdentry
Property driven Database Maintenance Screen.
- mvdepfld
SetUP SCrDEFN from FNTMAN record type defn.
- mvdictdo
Emulate the dictionary processor in basic.
- mvdobage
Return Age from Dat of Birth.
- mvdoings
Display MVDOINGS Done as Bar Chart (Fixed box pos).
- mvdosnam
Make an 8A legal NT/Dos filename from a pick item id.
- mvdspcom
Display the common block data.
- mvduplst
Returns all duplicates in a list.
- mveditor
Editor for MVtools incl. field inputs .
- mvedthlp
Editor Help.
- mvemladd
Resolve full email address from login code.
- mvemutrx
Range of file transfer commands for various emulators.
- mvequate
MVtools equated variables.
- mvescseq
Convert Escape sequences from or to string form .
- mvevaler
Evaluation expression or correlative .
- mvfaterr
Fatal program error.
- mvfilact
Processes from MVFILMAN via MVSELPRO code for datafiles etc.,.
- mvfilbas
Basic code hooked to FLSDEFN screen.
- mvfilcpy
Basic file copy.
- mvfildef
Set FLDDEFN & initialise file.
- mvfilitm
Prompt for Filename & itemid combinations.
- mvfilman
MVtools File manager (Used with functions MVFILACT) - .
- mvfilset
Rebuild file indexes & check all cross reference fields.
- mvfinish
Macro Subroutine termination.
- mvfldhlp
Display help text for the current field.
- mvfldman
Dictionary maintenance.
- mvfldsel
Insert a selection process into Current field.
- mvfldval
Basic validation for MVtools parameter Screens - FLDVLP slot.
- mvflsinf
File stats request all MVtypes.
- mvflsman
File properties maint screen.
- mvfnkman
Function key mapping defs.
- mvfnkpro
Function key process DRIVER - FKSTACK handler.
- mvfnmkey
Macro to extract key with prefix and suffix.
- mvfnmman
System parameter files definition 'FILES'.
- mvfntman
Attribute Definitions - Dictionary Setup Etc.,
- mvfntpro
Function key processes from File Notes FNTMAN.
- mvfooter
Page Footer Macro.
- mvformat
Code Format.
- mvframes
Returns the diskspace details.
- mvftmbas
Basic code defn.
- mvftmbox
Layout of generic BOX property.
- mvftmbug
Fault Log file layout of ID auto generated.
- mvftmcop
Properties for a command line interface.
- mvftmdel
Definition of items to delete from a file.
- mvftmeml
Email definition layout.
- mvftmfld
Field properties that can be set.
- mvftmfls
Proerties for a type of file.
- mvftmfnk
Function key processes table of setable properties.
- mvftmfnm
Properties for a named file.
- mvftmfnt
File layout of Filenotes (FNT) - Record Layout definition.
- mvftmftp
FTP defn .
- mvftmgen
Generate dictionaries from includes for file.
- mvftmgrp
User Group lists.
- mvftmjob
MVToolkit Schedule Jobs Definitions.
- mvftmkey
Key generation properties.
- mvftmlan
Language numbers.
- mvftmmlm
MailMerge Defns Info not contained in the actual document.
- mvftmmod
Software modules definitions.
- mvftmopt
Menu options layout.
- mvftmprg
MVToolkit Paragraphs Layout Definitions.
- mvftmprn
Printer Control Sequences.
- mvftmprt
Layout of PORTDATA array.
- mvftmptx
Layout of Pictools Btree Indexes (Actual Index nodes).
- mvftmprpg
Access Defn layout.
- mvftmsch
Layout of scheduler control record.
- mvftmscr
SCRDEFN Layout.
- mvftmsel
Selection object definition properties.
- mvftmslk
Soft Lock items.
- mvftmspc
System config item layout Maintained MVADMINB.
- mvftmstg
MVtoolkit stages array.
- mvftmtab
MVToolkit Table defns
- mvftmtes
Test System attibutes.
- mvftmtip
Terminal Independant Process Control.
- mvftmtrm
Emulation defns Stored in DYNTERM<> for locating sequences & TERMDEF().
- mvftmusr
User record template.
- mvgenbas
Skeleton paragraph code lines subroutine.
- mvgencod
Generated paragraph code lines.
- mvgenhdr
Generate code header into GENTEXT.
- mvgetchr
Very basic key input (If nothing else works) R83 & older.
- mvgetfls
Returns FLIST of all 'D'pointer files.
- mvgetloc
Set LOCRETS record locations from LOCATION.
- mvgetlst
Warn if a list doesn't exist.
- mvgetpid
Get all OS pids for a PORT.
- mvgettrm
Get Users MVtoolkit terminal code set (EMULAT).
- mvgetval
Set VALUE & DISPVAL and record location for current field FLDNO.
- mvgraphs
Display screen attributes from SCRDEFN EG text etc.,.
- mvgrpman
User Group Records maintenance screen with functions.
- mvheader
Display normal video header display macro.
- mvhstchk
Check that a remote host exists.
- mvidxsel
Multiple cross reference list search.
- mvidxupd
Xref update macro.
- mvinifil
Obtain a value from .INI format PICK file.
- mviniscr
Initialise SCREEN variable from SCRDEFN prompts FLDPRM etc.,
- mvinivar
Initialise MVcommon.
- mvinsert
Dynamic array insert using string functions.
- mvinsval
Insert Using Delimiters below Sub-Values.
- mvirdate
Returns a date & date position in a list of dates.
- mvixlook
Alternative Access Using MVKit XRF definition.
- mvjobact
Processes & Code associated with JOB defns.
- mvjobman
Scheduled JOBs maintenance screen with functions.
- mvjoilst
Merging LIST1 & LIST2 into EITHER - For Index lookups.
- mvkbbuff
Clear Keyboard Buffer according to type of MV system.
- mvkeyatt
List in KEYATTS keyboard TRM attributes.
- mvkeygen
Generates KEYs automatically storing last key used.
- mvkeyhit
Keyboard input buffer loop processes.
- mvkeyinp
General Keyboard character input setting KEYNO, CHR, ASCIINO.
- mvkeyman
Item ID (Key) generation object maint.
- mvkeyuse
Returns a short description of the KEYNO use.
- mvlockby
Describe record lock in LOCKTEXT var.
- mvlocktb
Records users against a Lock table (TESTPACK) *!.
- mvlogins
Process at loggon.
- mvlstnam
Enter a Valid Listname.
- mvlstusr
Return a list of users on the system.
- mvmaklst
Current select list into a MVed list MLIST.
- mvmanfld
Check field FLDNO has been entered.
- mvmanpst
Post processing to Maintenance screens for [MAN] programs.
- mvmenhlp
Display help text for the current menu option.
- mvmenpro
The Application Menu options presenter.
- mvmlmact
Mail Merge defns - maint options.
- mvmlmman
Mail Merge - reports.
- mvmlmout
Page displays and Prints.
- mvmodman
Module defn maint.
- mvmoptok
Check a menu option is OK to Process.
- mvmsgdsp
Error message handler.
- mvmvwbui
Build FLD.S , FLD.F redisplay vars for Cont/Dep Window.
- mvmvwcnt
Count lines in multivalued Cont/Dep window = MAX.MVROW.
- mvmvwdis
Redisplay a Cont/Dep Window set of fields.
- mvmvwfld
Cont/Dep Window lines into FLD.S<> FLD.F<>.
- mvmvwini
Initialise a Cont/Dep Window .
- mvmvwlin
Add Cont/Dep line to FiELDS.
- mvnrange
Range check for Numeric input.
- mvnxread
Basic readnext maintaining dynamic array.
- mvnxtfld
Process Input field (FLDINP)=1 for SCRDEFN.
- mvonefld
Simple Fly field input returning value.
- mvopenfl
File opening routine maintains MVT.FV() & FILES.
- mvoptact
Actions from OPTMAN screen - Create option help.
- mvoptfnd
Select a Menu Opt by Module.
- mvoptman
Maintenance screen for menu options.
- mvoptpro
Process the Option in STAGE.
- mvoptrok
Prompt user are you sure ?.
- mvoscmnd
Host OS executes (Using #IFDEFs for each OS).
- mvoshell
MVkit TCL shell stacker.
- mvoskill
Kill list of pids.
- mvovalue
Find the screen value from the field name.
- mvpakman
Data Packing definitions.
- mvprgman
Paragraph maintenance screen with functions.
- mvprimes
Find the Next higher Prime Number if INUMB not prime.
- mvproces
MVtool paragraph statement interpreter.
- mvprtman
Port Data.
- mvputval
after value entered processing Save Value etc.,
- mvqasign
Spooler Assignments/Interrogations.
- mvqueues
Get a list of UNIX printers and descriptions.
- mvreadhf
Read host system file into a dynamic array.
- mvrefres
Refresh screen achording to REFRESH.
- mvrelini
Reset the release system control record & clear volumes.
- mvrpgcmd
Builds query statements and report information.
- mvrpgcol
Recalc report width data from WORKRECORD.
- mvrpgext
Writes sequentially captured Data for extract to desktop.
- mvrpginp
RPG runtime inputs for selection criteria at runtime.
- mvrpgman
Query reports maintenance screen with functions.
- mvrpgmop
Run a Query as a subroutine.
- mvrpgpro
Query report Function key actions.
- mvrpgrun
Run a Report Generator Report.
- mvsavlst
Save-list from a dynamic array in basic.
- mvschact
Actions from SCHMAN screen - Restart scheduler etc.,
- mvschedu
MVtoolkit job scheduler.
- mvschman
Schechduler Control.
- mvschmon
Phantom - Partner to MVSCHEDU.
- mvscract
Functions related to screen Display.
- mvscrdem
Logging Demo File Maintenance screen program.
- mvscrman
Screen defn maint - With painter field & properties.
- mvscroll
Control line scrolling at TCL to prompt MORE Like | more.
- mvscrupd
All associated writes for filing records in MVDENTRY.
- mvscrwiz
MVtools Screen Creator wizard (Under development).
- mvsearch
Super search all files visible.
- mvselact
Processes and Code associated with SELDEFNs.
- mvselman
Selection definitions maintenance.
- mvselprn
Select a printer but don't yet assign.
- mvselpro
Select from a drop down menu.
- mvsendem
Host system mail server Email send.
- mvsetsys
Set-up the system for using MVtools.
- mvsettab
Included code to Set TABNO Var from FLDNO var.
- mvshtpth
Find the short DOS style filename from long name.
- mvsitlic
Include item for checking user licence.
- mvsizfil
Resize a data file to optimise performance.
- mvsortar
Sort a multi-valued list by translate to another file.
- mvspcman
SPEC control record maintenance.
- mvspjobs
XX.
- mvspoact
MVtOOls Spooler Actions.
- mvspoman
MVtools spooler control.
- mvstarts
Macro For debugger trace etc., @ start of subroutines.
- mvstatem
Generate random Tip statement.
- mvstring
General Text formatter subroutine.
- mvsubrun
MVtools tcl interface.
- mvswaper
Replace character(s) within a string with new character(s).
- mvsylist
Determine if system select list is active General MVtype.
- mvtabman
Table defn maintenance.
- mvtclrun
MVtools tcl interface.
- mvtermin
Display current emulation characteristics.
- mvtesact
Test system Actions.
- mvtesman
Database Updates tester.
- mvthumbs
Unique 'thumb print' for a program or record with userid/date.
- mvtidyit
Tidy Up the MVtools system.
- mvtipact
mvtipact.
- mvtipchk
mvtipchk.
- mvtipctl
Already a phantom - Process instructed command.
- mvtiplog
mvtiplog.
- mvtipman
mvtipman.
- mvtipone
mvtipone.
- mvtipout
mvtipout.
- mvtipslp
mvtipslp.
- mvtipsta
mvtipsta.
- mvtipsto
mvtipsto.
- mvtmdman
mvtmdman.
- mvtodesk
mvtodesk.
- mvtrmact
mvtrmact.
- mvtrmman
mvtrmman.
- mvtrmwrk
mvtrmwrk.
- mvtxprec
mvtxprec.
- mvunixqp
mvunixqp.
- mvunpack
mvunpack.
- mvunxdir
mvunxdir.
- mvusrman
mvusrman.
- mvvarsub
mvvarsub.
- mvwhoact
mvwhoact.
- mvwholog
mvwholog.
- mvwhousr
mvwhousr.
- mvxrfupd
mvxrfupd.
- mvxtract
mvxtract.
- mvyesono
mvyesono.
- qmcmdexe
qmcmdexe - Open QM Command line interface for MVtools.
- qmgetchr
qmgetchr - Open QM keyboard input.
- qminivar
qminivar - Open QM specific initialisation for MVtools.
- qmtipsta
qmtipsta - Open QM Phantom process started for MVtools.
- qmwhoami
qmwhoami - Open QM find MVtools user details for common varaibles.
- recmdexe
recmdexe.
- reflsinf
reflsinf.
- regetchr
regetchr.
- retipsta
retipsta.
- udexecut
udexecut.
- udflsinf
udflsinf.
- udframes
udframes.
- udgetchr
udgetchr.
- udhstnam
udhstnam.
- udinichr
udinichr.
- udlasthf
udlasthf.
- udoscmnd
udoscmnd.
- udtipsta
udtipsta.
- uvexecut
uvexecut.
- uvflsinf
uvflsinf.
- uvframes
uvframes.
- uvgetchr
uvgetchr.
- uvhstnam
uvhstnam.
- uvinichr
uvinichr.
- uvoscmnd
uvoscmnd.
- uxclosefl
uxclosefl.
- uxfilsys
uxfilsys.
- uxftmcol
uxftmcol.
- uxftpact
ftp actions.
- uxftptrx
Databasic controlled File transfer using ftp.
- uxgetpid
uxgetpid.
- uxopenfl
open file on unix file system.
- uxreadfl
read from file opened on unix file system.
- uxwritef
write to file opened on unix file system.