How to use the PDFlib TET on MVS
=================================

Note: Only the C language binding is supported on MVS.

- place TET.XMIT to hlq.TET.LOAD
  (using the TSO RECEIVE command)
- place TET.DEFSD.XMIT to hlq.TET.DEFSD
- place the other files into the appropriate datasets;
  the directories of the distribution correspond to
  this sample dataset layout:

    Allocated as FB 80:

     hlq.TET.CNTL               << JCL
     hlq.TET.BIND.C.SRC         << .C source files
     hlq.TET.BIND.C.H           << .H source files
     hlq.TET.DEFSD              << definition sidedeck
     hlq.TET.CMAP               << dataset to hold the external CMAPS

    Allocated as MVS load module format:

     hlq.TET.LOAD               << load modules

See the following files for samples to compile/link/run the
PDFlib sample applications:

/bind/jcl/CCBIND
/bind/jcl/RUNBIND



Additional Notes: 
 
/bind/resource/cmap contains the various MVS CMAP files required by TET.  These
must be uploaded to the hlq.TET.CMAP dataset, and the 'searchpath' parameter
must be changed to point to this path.
 
Example:
 
static const char *globaloptlist =
    "searchpath={../../../resource/cmap}";
 
Will need to be changed to:
 
static const char *globaloptlist =
    "searchpath={'hlq.TET.CMAP}";  
 
Note the single quote at the beginning of the DSN.
 
RUNBIND is the sample JCL for running the TET sample applications.  Depending
on the sample you want to run, you will need to adjust the PARM to point to
either a input file to process:
 
//** Run the Dumper sample
//RUNIT    EXEC PGM=&MEMBER,
//   PARM=('FONTREPO')
 

.. or an input and an output file:
 
//** Run the Extractor sample
//RUNIT    EXEC PGM=&MEMBER,
//   PARM=('JAPANESE EXTRACTR.OUT')
 
