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.

  1. adgetchr Adds Mentor - Get keyboard character subroutine
  2. d3btrmov D3 - Move Btree index pointer subroutine
  3. d3btrroo D3 - Initialise a D3 Index for use in basic code
  4. d3change D3 - String change function
  5. d3closef D3 - Host file system close function
  6. d3cmdexe D3 - TCL interface function
  7. d3cmpfil D3/unix - Utility Compare files using Unix shell.
  8. d3filset D3 - Reset D3 files brigde codes etc., after re-create.
  9. d3filinf D3 File info stats request.
  10. d3frames Returns D3 Diskspace details from POVF.
  11. d3getchr D3 keyboard input function.
  12. d3logins Process at loggon D3.
  13. d3lstusr lists the pibs of users active with logon time/port number.
  14. d3openfl Open unix host file for READ or WRITE on D3.
  15. d3readfl Read from D3 Host file.
  16. d3tipsta Start D3 phantom Process.
  17. d3unixqp Set an MD/VOC entry to a unix directory.
  18. d3unxdir Find host pathname for D3 unix type file.
  19. d3writef Open unix host file for READ or WRITE .
  20. gagetchr MVbase keyboard character input function.
  21. jbbtrmov NOT CONVERTED TO Jbase.
  22. jbbtrroo Initialise a JBase Btree index OpENINDEX.
  23. jbbtrsel Select records from a Jbase indexed file.
  24. jbcmdexe Execute a TCL statement for Jbase (WAKE).
  25. jbflsinf Jbase File Information request.
  26. jbgetchr JBase Key input routine.
  27. jbunxdir Find host pathname for a JB file.
  28. mvaccess MV - Security. Access users to menu option check.
  29. mvaudits Return a value for Date/time/User etc.,
  30. mvbashdr Update header info.
  31. mvbaspaw Process After filing basic programs.
  32. mvbookit booking out cheques and prompt to book now .
  33. mvbotask Bottom line prompt returning response in ASKRETS<1>.
  34. mvboxtab Display a table
  35. mvboxtxt Display text in a frame.
  36. mvbtradd Add a new value to an index.
  37. mvbtrbui MVtools type Btree index re-build.
  38. mvbtrdel Remove a value from an index.
  39. mvbtrini Initialise a MVtools Btree before use.
  40. mvbtrmov MVtools Index navigation.
  41. mvbtrpos Find INDEXKEY string position on MVtools Btree type index.
  42. mvbtrupd Updates all Bindexes for aN item update.
  43. mvbtrval Convert FLSISC to a value.
  44. mvbugman Fault Log Entry program.
  45. mvbuifld Append field to FLD.S & FLD.F dynamica arrays.
  46. mvbuifnt Build Fnt (Utility to build File Notes Item) @PREMDOR.BARNSLEY.COM.
  47. mvbuiscr Build screen fields into FiELDS<> calling MVBUIFLD.
  48. mvbuixrf Cross Ref' Relationships re-building from TCL.
  49. mvcalsub Call a subroutine.
  50. mvchange Change function.
  51. mvchecks Check all MVtools functions work properly.
  52. mvchkdir Check the status of the remote system directory .
  53. mvcmblst Build a list of mutual items.
  54. mvcmdexe Basic Interface to TCL command line .
  55. mvcolrow Set FCOL,FROW,PCOL,PROW.
  56. mvcomact Read or write common block from disk.
  57. mvcomlin Data entry command line.
  58. mvcommon Common data definition.
  59. mvcompfl Compare two files building DIFFERENCE.
  60. mvctthlp Show Field help in footer.
  61. mvcttrec Display a record from SELDEFN , LISTITEM.
  62. mvcsvext Extract a data file to .CSV file on PC.
  63. mvcsvwiz Make CSV file from TXT format or Fixed length/Delim.
  64. mvdatcnv Various date formats not generic to all MVplatforms.
  65. mvdbgbas Called if DGB=2 at exit of every subroutine.
  66. mvdbpack Pack all defined data into a single file for distributing .
  67. mvdctfld Get dictionary value(S) from an item via TCL execute/capture.
  68. mvdctitm Read/Write a system type dictionary using 'PICK' style record.
  69. mvdctsel Insert a field selection onto the current field Common SELDEFN.
  70. mvdefkey Set up the defn item from just the key.
  71. mvdeftrm Set up the defn item from just the key.
  72. mvdelfil Delete Items using common DELDEFN.
  73. mvdelwrk Removes all temporary files & working directory contents.
  74. mvdemoit Demonstration of MVtools system.
  75. mvdentry Property driven Database Maintenance Screen.
  76. mvdepfld SetUP SCrDEFN from FNTMAN record type defn.
  77. mvdictdo Emulate the dictionary processor in basic.
  78. mvdobage Return Age from Dat of Birth.
  79. mvdoings Display MVDOINGS Done as Bar Chart (Fixed box pos).
  80. mvdosnam Make an 8A legal NT/Dos filename from a pick item id.
  81. mvdspcom Display the common block data.
  82. mvduplst Returns all duplicates in a list.
  83. mveditor Editor for MVtools incl. field inputs .
  84. mvedthlp Editor Help.
  85. mvemladd Resolve full email address from login code.
  86. mvemutrx Range of file transfer commands for various emulators.
  87. mvequate MVtools equated variables.
  88. mvescseq Convert Escape sequences from or to string form .
  89. mvevaler Evaluation expression or correlative .
  90. mvfaterr Fatal program error.
  91. mvfilact Processes from MVFILMAN via MVSELPRO code for datafiles etc.,.
  92. mvfilbas Basic code hooked to FLSDEFN screen.
  93. mvfilcpy Basic file copy.
  94. mvfildef Set FLDDEFN & initialise file.
  95. mvfilitm Prompt for Filename & itemid combinations.
  96. mvfilman MVtools File manager (Used with functions MVFILACT) - .
  97. mvfilset Rebuild file indexes & check all cross reference fields.
  98. mvfinish Macro Subroutine termination.
  99. mvfldhlp Display help text for the current field.
  100. mvfldman Dictionary maintenance.
  101. mvfldsel Insert a selection process into Current field.
  102. mvfldval Basic validation for MVtools parameter Screens - FLDVLP slot.
  103. mvflsinf File stats request all MVtypes.
  104. mvflsman File properties maint screen.
  105. mvfnkman Function key mapping defs.
  106. mvfnkpro Function key process DRIVER - FKSTACK handler.
  107. mvfnmkey Macro to extract key with prefix and suffix.
  108. mvfnmman System parameter files definition 'FILES'.
  109. mvfntman Attribute Definitions - Dictionary Setup Etc.,
  110. mvfntpro Function key processes from File Notes FNTMAN.
  111. mvfooter Page Footer Macro.
  112. mvformat Code Format.
  113. mvframes Returns the diskspace details.
  114. mvftmbas Basic code defn.
  115. mvftmbox Layout of generic BOX property.
  116. mvftmbug Fault Log file layout of ID auto generated.
  117. mvftmcop Properties for a command line interface.
  118. mvftmdel Definition of items to delete from a file.
  119. mvftmeml Email definition layout.
  120. mvftmfld Field properties that can be set.
  121. mvftmfls Proerties for a type of file.
  122. mvftmfnk Function key processes table of setable properties.
  123. mvftmfnm Properties for a named file.
  124. mvftmfnt File layout of Filenotes (FNT) - Record Layout definition.
  125. mvftmftp FTP defn .
  126. mvftmgen Generate dictionaries from includes for file.
  127. mvftmgrp User Group lists.
  128. mvftmjob MVToolkit Schedule Jobs Definitions.
  129. mvftmkey Key generation properties.
  130. mvftmlan Language numbers.
  131. mvftmmlm MailMerge Defns Info not contained in the actual document.
  132. mvftmmod Software modules definitions.
  133. mvftmopt Menu options layout.
  134. mvftmprg MVToolkit Paragraphs Layout Definitions.
  135. mvftmprn Printer Control Sequences.
  136. mvftmprt Layout of PORTDATA array.
  137. mvftmptx Layout of Pictools Btree Indexes (Actual Index nodes).
  138. mvftmprpg Access Defn layout.
  139. mvftmsch Layout of scheduler control record.
  140. mvftmscr SCRDEFN Layout.
  141. mvftmsel Selection object definition properties.
  142. mvftmslk Soft Lock items.
  143. mvftmspc System config item layout Maintained MVADMINB.
  144. mvftmstg MVtoolkit stages array.
  145. mvftmtab MVToolkit Table defns
  146. mvftmtes Test System attibutes.
  147. mvftmtip Terminal Independant Process Control.
  148. mvftmtrm Emulation defns Stored in DYNTERM<> for locating sequences & TERMDEF().
  149. mvftmusr User record template.
  150. mvgenbas Skeleton paragraph code lines subroutine.
  151. mvgencod Generated paragraph code lines.
  152. mvgenhdr Generate code header into GENTEXT.
  153. mvgetchr Very basic key input (If nothing else works) R83 & older.
  154. mvgetfls Returns FLIST of all 'D'pointer files.
  155. mvgetloc Set LOCRETS record locations from LOCATION.
  156. mvgetlst Warn if a list doesn't exist.
  157. mvgetpid Get all OS pids for a PORT.
  158. mvgettrm Get Users MVtoolkit terminal code set (EMULAT).
  159. mvgetval Set VALUE & DISPVAL and record location for current field FLDNO.
  160. mvgraphs Display screen attributes from SCRDEFN EG text etc.,.
  161. mvgrpman User Group Records maintenance screen with functions.
  162. mvheader Display normal video header display macro.
  163. mvhstchk Check that a remote host exists.
  164. mvidxsel Multiple cross reference list search.
  165. mvidxupd Xref update macro.
  166. mvinifil Obtain a value from .INI format PICK file.
  167. mviniscr Initialise SCREEN variable from SCRDEFN prompts FLDPRM etc.,
  168. mvinivar Initialise MVcommon.
  169. mvinsert Dynamic array insert using string functions.
  170. mvinsval Insert Using Delimiters below Sub-Values.
  171. mvirdate Returns a date & date position in a list of dates.
  172. mvixlook Alternative Access Using MVKit XRF definition.
  173. mvjobact Processes & Code associated with JOB defns.
  174. mvjobman Scheduled JOBs maintenance screen with functions.
  175. mvjoilst Merging LIST1 & LIST2 into EITHER - For Index lookups.
  176. mvkbbuff Clear Keyboard Buffer according to type of MV system.
  177. mvkeyatt List in KEYATTS keyboard TRM attributes.
  178. mvkeygen Generates KEYs automatically storing last key used.
  179. mvkeyhit Keyboard input buffer loop processes.
  180. mvkeyinp General Keyboard character input setting KEYNO, CHR, ASCIINO.
  181. mvkeyman Item ID (Key) generation object maint.
  182. mvkeyuse Returns a short description of the KEYNO use.
  183. mvlockby Describe record lock in LOCKTEXT var.
  184. mvlocktb Records users against a Lock table (TESTPACK) *!.
  185. mvlogins Process at loggon.
  186. mvlstnam Enter a Valid Listname.
  187. mvlstusr Return a list of users on the system.
  188. mvmaklst Current select list into a MVed list MLIST.
  189. mvmanfld Check field FLDNO has been entered.
  190. mvmanpst Post processing to Maintenance screens for [MAN] programs.
  191. mvmenhlp Display help text for the current menu option.
  192. mvmenpro The Application Menu options presenter.
  193. mvmlmact Mail Merge defns - maint options.
  194. mvmlmman Mail Merge - reports.
  195. mvmlmout Page displays and Prints.
  196. mvmodman Module defn maint.
  197. mvmoptok Check a menu option is OK to Process.
  198. mvmsgdsp Error message handler.
  199. mvmvwbui Build FLD.S , FLD.F redisplay vars for Cont/Dep Window.
  200. mvmvwcnt Count lines in multivalued Cont/Dep window = MAX.MVROW.
  201. mvmvwdis Redisplay a Cont/Dep Window set of fields.
  202. mvmvwfld Cont/Dep Window lines into FLD.S<> FLD.F<>.
  203. mvmvwini Initialise a Cont/Dep Window .
  204. mvmvwlin Add Cont/Dep line to FiELDS.
  205. mvnrange Range check for Numeric input.
  206. mvnxread Basic readnext maintaining dynamic array.
  207. mvnxtfld Process Input field (FLDINP)=1 for SCRDEFN.
  208. mvonefld Simple Fly field input returning value.
  209. mvopenfl File opening routine maintains MVT.FV() & FILES.
  210. mvoptact Actions from OPTMAN screen - Create option help.
  211. mvoptfnd Select a Menu Opt by Module.
  212. mvoptman Maintenance screen for menu options.
  213. mvoptpro Process the Option in STAGE.
  214. mvoptrok Prompt user are you sure ?.
  215. mvoscmnd Host OS executes (Using #IFDEFs for each OS).
  216. mvoshell MVkit TCL shell stacker.
  217. mvoskill Kill list of pids.
  218. mvovalue Find the screen value from the field name.
  219. mvpakman Data Packing definitions.
  220. mvprgman Paragraph maintenance screen with functions.
  221. mvprimes Find the Next higher Prime Number if INUMB not prime.
  222. mvproces MVtool paragraph statement interpreter.
  223. mvprtman Port Data.
  224. mvputval after value entered processing Save Value etc.,
  225. mvqasign Spooler Assignments/Interrogations.
  226. mvqueues Get a list of UNIX printers and descriptions.
  227. mvreadhf Read host system file into a dynamic array.
  228. mvrefres Refresh screen achording to REFRESH.
  229. mvrelini Reset the release system control record & clear volumes.
  230. mvrpgcmd Builds query statements and report information.
  231. mvrpgcol Recalc report width data from WORKRECORD.
  232. mvrpgext Writes sequentially captured Data for extract to desktop.
  233. mvrpginp RPG runtime inputs for selection criteria at runtime.
  234. mvrpgman Query reports maintenance screen with functions.
  235. mvrpgmop Run a Query as a subroutine.
  236. mvrpgpro Query report Function key actions.
  237. mvrpgrun Run a Report Generator Report.
  238. mvsavlst Save-list from a dynamic array in basic.
  239. mvschact Actions from SCHMAN screen - Restart scheduler etc.,
  240. mvschedu MVtoolkit job scheduler.
  241. mvschman Schechduler Control.
  242. mvschmon Phantom - Partner to MVSCHEDU.
  243. mvscract Functions related to screen Display.
  244. mvscrdem Logging Demo File Maintenance screen program.
  245. mvscrman Screen defn maint - With painter field & properties.
  246. mvscroll Control line scrolling at TCL to prompt MORE Like | more.
  247. mvscrupd All associated writes for filing records in MVDENTRY.
  248. mvscrwiz MVtools Screen Creator wizard (Under development).
  249. mvsearch Super search all files visible.
  250. mvselact Processes and Code associated with SELDEFNs.
  251. mvselman Selection definitions maintenance.
  252. mvselprn Select a printer but don't yet assign.
  253. mvselpro Select from a drop down menu.
  254. mvsendem Host system mail server Email send.
  255. mvsetsys Set-up the system for using MVtools.
  256. mvsettab Included code to Set TABNO Var from FLDNO var.
  257. mvshtpth Find the short DOS style filename from long name.
  258. mvsitlic Include item for checking user licence.
  259. mvsizfil Resize a data file to optimise performance.
  260. mvsortar Sort a multi-valued list by translate to another file.
  261. mvspcman SPEC control record maintenance.
  262. mvspjobs XX.
  263. mvspoact MVtOOls Spooler Actions.
  264. mvspoman MVtools spooler control.
  265. mvstarts Macro For debugger trace etc., @ start of subroutines.
  266. mvstatem Generate random Tip statement.
  267. mvstring General Text formatter subroutine.
  268. mvsubrun MVtools tcl interface.
  269. mvswaper Replace character(s) within a string with new character(s).
  270. mvsylist Determine if system select list is active General MVtype.
  271. mvtabman Table defn maintenance.
  272. mvtclrun MVtools tcl interface.
  273. mvtermin Display current emulation characteristics.
  274. mvtesact Test system Actions.
  275. mvtesman Database Updates tester.
  276. mvthumbs Unique 'thumb print' for a program or record with userid/date.
  277. mvtidyit Tidy Up the MVtools system.
  278. mvtipact mvtipact.
  279. mvtipchk mvtipchk.
  280. mvtipctl Already a phantom - Process instructed command.
  281. mvtiplog mvtiplog.
  282. mvtipman mvtipman.
  283. mvtipone mvtipone.
  284. mvtipout mvtipout.
  285. mvtipslp mvtipslp.
  286. mvtipsta mvtipsta.
  287. mvtipsto mvtipsto.
  288. mvtmdman mvtmdman.
  289. mvtodesk mvtodesk.
  290. mvtrmact mvtrmact.
  291. mvtrmman mvtrmman.
  292. mvtrmwrk mvtrmwrk.
  293. mvtxprec mvtxprec.
  294. mvunixqp mvunixqp.
  295. mvunpack mvunpack.
  296. mvunxdir mvunxdir.
  297. mvusrman mvusrman.
  298. mvvarsub mvvarsub.
  299. mvwhoact mvwhoact.
  300. mvwholog mvwholog.
  301. mvwhousr mvwhousr.
  302. mvxrfupd mvxrfupd.
  303. mvxtract mvxtract.
  304. mvyesono mvyesono.
  305. qmcmdexe qmcmdexe - Open QM Command line interface for MVtools.
  306. qmgetchr qmgetchr - Open QM keyboard input.
  307. qminivar qminivar - Open QM specific initialisation for MVtools.
  308. qmtipsta qmtipsta - Open QM Phantom process started for MVtools.
  309. qmwhoami qmwhoami - Open QM find MVtools user details for common varaibles.
  310. recmdexe recmdexe.
  311. reflsinf reflsinf.
  312. regetchr regetchr.
  313. retipsta retipsta.
  314. udexecut udexecut.
  315. udflsinf udflsinf.
  316. udframes udframes.
  317. udgetchr udgetchr.
  318. udhstnam udhstnam.
  319. udinichr udinichr.
  320. udlasthf udlasthf.
  321. udoscmnd udoscmnd.
  322. udtipsta udtipsta.
  323. uvexecut uvexecut.
  324. uvflsinf uvflsinf.
  325. uvframes uvframes.
  326. uvgetchr uvgetchr.
  327. uvhstnam uvhstnam.
  328. uvinichr uvinichr.
  329. uvoscmnd uvoscmnd.
  330. uxclosefl uxclosefl.
  331. uxfilsys uxfilsys.
  332. uxftmcol uxftmcol.
  333. uxftpact ftp actions.
  334. uxftptrx Databasic controlled File transfer using ftp.
  335. uxgetpid uxgetpid.
  336. uxopenfl open file on unix file system.
  337. uxreadfl read from file opened on unix file system.
  338. uxwritef write to file opened on unix file system.