Installation:

You will have to edit the subget scripts and set the PUNCH variable
to match your environment. The PUNCH variable points to the directory
where the punch datasets are written.

To install the MVS support programs you run the make:

$ make

Then you install the programs and scripts:

$ make install

You may have to become root to perform the make install.


System setup:

These programs are designed to be used with Volker Bandke's MVS 3.8J
Turnkey distribution.  Changes may have to be made in your MVS system
to use these programs.

1. Modify the card reader configuration for EBCDIC operation. This will also
   allow binary operations. Change the config file entry from:

      000C 3505 hostname:3505 sockdev ascii trunc eof

   to:

      000C 3505 hostname:3505 sockdev ebcdic autopad eof

2. Modify the card punch configuration for EBCDIC operation. Change the
   config file entry from:

      000D 3525 /instdir/mvs3.8j/pch/pch00d.txt ascii

   to:

      000D 3525 /instdir/mvs3.8j/pch/pch00d.txt

3. Modify the PUNCH entry in the JES2PARM member in SYS1.JES2PARM from:

      PUNCH1         CLASS=B,NOSEP,AUTO,PAUSE,UNIT=00D,START

   to:

      PUNCH1         CLASS=B,NOSEP,AUTO,NOPAUSE,UNIT=00D,START


Operation:

There are four programs to allow you to get and put files into your MVS system.
To keep things simple there is a text and binary version of each program. The
programs are based on the tso get/put of OS/390. 

1. Text get:

   $ subget HLQ 'DATASETNAME' pathname
   
2. Binary get:

   $ subgetb HLQ 'DATASETNAME' pathname

3. Text put:

   $ subput HLQ pathname 'DATASETNAME'
   
4. Binary put:

   $ subputb HLQ pathname 'DATASETNAME'

Where:

   HLQ           - Specifies the High Level Qualifier for the job.
   'DATASETNAME' - Specifies the Data Set Name on MVS. Use the single
                   quotes to allow a member specification for a PDS.
   pathname      - Specifies the pathname on the local system.


There is a fifth program that allows you to submit jobs. The file is converted
to EBCDIC prior to sending to the reader.

   $ subjob pathname

Where:

   pathname - Specifies the JCL to be submitted. 
