!  10-Mar-1981 Gary L. Grebus	Created new help file
!  02-Feb-1982 Gary L. Grebus	Modified for V2.00 of MTEXCH.
!  25-Oct-1982 Gary L. Grebus	Added /PRIME qualifier.  Fixed 
!				format to work w/ V3.0
1 MTEXCH
 is a Battelle written utility for processing non-VAX format magnetic 
 tapes on the VAX.  It can read and write tapes in the following formats:
 	o Fixed length records, fixed length blocks
	o RT-11 format records
	o PIP-10 format records
	o ANSI D format records
	o VB format records
 MTEXCH can be used to read and write tapes in ASCII or EBCDIC.  MTEXCH
 does not recognize tape labels; these must be read or skipped manually.
 For complete information on using MTEXCH, print or type the file
 SYS$SYSTEM:MTEXCH.DOC.

 The tape to be processed must first be mounted using a DCL MOUNT
 command of the form:

	MOUNT/FOREIGN/BLOCKS=nnn  device-name

 where nnn is the blocksize for the tape and device-name is the device
 name for the tape drive being used.

 Format:
	MTEXCH  directive	or
	MTEXCH
	  *directive
	  *directive...
	  *^Z

2 Directives
 Directives to MTEXCH can be entered on the same line as the MTEXCH
 command or on separate lines.  When the separate line form is used,
 MTEXCH prompts for each command with a "*".

 Directives to MTEXCH take one of the following forms:

	EXIT
	tape-device:/positioning-qualifier
	out-file[/qualifiers]=in-file[/qualifiers]

 EXIT terminates MTEXCH.

 The positioning-qualifiers are /REWIND and /SKIPFILE.  This form
 is used to position the tape to a particular file.

 Files are copied from in-file (source) to out-file (destination).
 Either in-file or out-file must be the tape device being used.
 In-file can contain wildcards.  Each record from an input file
 creates one record on the output file.  Each file from the 
 in-file specification creates one file on the output device.
 
3 Qualifiers
/ASCII (D)
/EBCDIC
/PRIME
 The tape file is (input) or should be (output) written using 
 the specified code.  The code PRIME is ASCII with the high order
 bit of each character set, such as produced by some PRIME computers.

/BLOCKSZ=(D=512)
 The tape block size is n bytes.  The block size is actually determined
 by the MOUNT command.  This qualifier will verify that the tape is
 actually mounted with the correct block size.  The default is 512
 bytes.

/RECLEN=(D=80)
 The file record length is n bytes.  The default is 80 bytes.

/FIXED (D)
 The records are/should be fixed length. This is the default for
 tape files.

/VARIABLE
 The records are variable length with a two byte binary length prefix.
 This is the default for disk files.

/RT11
 The tape records are in the format used for variable length records
 under the PDP-11 RT-11 operating system.

/PIP10
 The tape records are in the format generated by the PIP utility
 on a PDP-10 computer.

/ANSID
 The tape records are in the ANSI D format.  This is the format used
 by VAX for labeled tapes.

/VB
 The tape records are in the VB format.  This is a variable length
 blocks, variable length record format.  Each block and each record
 begins with a 4 byte length descriptor.

/CR
 The disk records should have the carriage return attribute.
 Default.

/FORTRAN
 The disk records should have the FORTRAN attribute.

/REWIND
 Rewind the tape to the beginning.

/SKIPFILE=[-]n
 Skip the tape forward [backward] n files.

/FLAG_RECORDS
/NOFLAG_RECORDS
 controls the generation of warning messages flagging each record
 which was truncated or otherwise not processed completely.

