Programs related to the Fictionmags Data Format

Main Programs
Support Programs
Common Routines
Notes
CvtCovers Asort Abbr_rtn Background
CvtSkel BookProgs Auth_rtn "Historic" Programs
GenAttrib ChkCovers File_rtn Useful Shareware
IdxGen Cvtlocus Gen_rtn IDXGEN Sorted Files
MagGen CvtUK Lib_rtn IDXGEN Aggregation
MagPop Fsort Pbdt_rtn IDXGEN Testing
MagParse Genprt Pseud_rtn
Mrg_sty Splitcol PSPCommandLineInfo
Validate Tstauth PSPErrorHandling
Valnames Publ_rtn
XValidate Scan_rtn
    Titl_rtn  
    Tran_rtn  

Background

A variety of programs related to the Fictionmags Data Format have been written for various purposes, some intended for "general use" and some more to meet local requirements.

The majority of the programs support the use of a Windows environment variable LOCUSDIR which can be used to specify a string of folder names (separated with semi-colons) where relevant files may be located. An example might be:

f:\books\control\;f:\books\data\;f:\books\data\afi\;f:\books\data\cfi\;f:\books\data\fmi\;f:\books\data\gfi\;f:\books\data\sfi\;f:\books\data\wfi\

Unless specified otherwise, all programs are DOS console programs that are run from the DOS command line. Where appropriate they will accept either a single file name or a control file containing a list of file names (preceded by an @) as in:

validate mags.asf
validate @00000.sfi

Control files can be nested (up to a nesting level of 10) and can also contain comments and control flags, as follow:

The programs themselves fall into the following xx categories:

There are also a couple of shareware programs that assist the above programs in various ways.

Note that extensive use is made of shared sets of routines that attempt to isolate core functionality to avoid re-inventing the wheel and to simplify(!) the main programs.


Main Programs

These are the main programs that are used for maintaining the Big List and the indexes:

The way in which these programs are used in practice can be found in the section on the Indexing Process.

Note that MagPop and MagGen work as a pair and are both written in Visual C++ using a Microsoft Access database as intermediary. The plan is to rewrite these as a single C program using sorted lists when time allows. MagParse is also currently written in Visual C++.


Support Programs

These programs are used regularly by Phil S-P when maintaining the indexes, but have not historically been used by anybody else and hence may have environment-dependent constraints


"Historic" Programs

There are a handful of programs that were used to create and maintain bibliography files. They are mainly written in C (with a VC++ shell):

There are also a number of other programs which, at one time or another, have proved useful but which are probably now obsolete:


Useful Shareware

The following Shareware programs are recommended for use with the above programs:


Common Routines

The above programs to one degree or another make use of the following groups of routines: