Short:        Submit jobs to a Hercules reader
Author:       James M. Morrison
Uploader:     polluks+aminet sdf org (Stefan Haubenthal)
Type:         disk/misc
Version:      0.3
Requires:     Hercules
Architecture: ppc-morphos

rdrprep
Copyright 2001-2002, James M. Morrison
Version: 0.3 
Built:   May 26 202523:00:45

This program prepares an ASCII file for submission to a Hercules virtual
card reader.  It reads the input file, and provides a mechanism to include
other (ASCII or EBCDIC) files.  Files are included by specifying an 'include' 
statement (beginning in column 1) whose format is:
	::C [path]filename
where:
	:: 		are the include escape characters
	C 		either E (EBCDIC) or A (ASCII) for the included file's
			character set.  The case of E or A is not significant.
	[path]filename 	specifies the filename and optional path of the file
			to be included.

The main input file (specified on the command line) is assumed to be in
ASCII.  ASCII files are assumed to be of variable line lengths, EBCDIC
files are assumed to be of fixed length.  All input lines are translated
to EBCDIC (if necessary), and blank padded or truncated to 80 characters
(subject to the trunc option).  Include statements are only recognized 
in ASCII input files.


Syntax: rdrprep [options...] input [output]

 input     input filename
 output    output filename (default reader.jcl)

Options:
--help/-h		this help message
--version      prints version and build date
--verbose      be verbose
--debug        print debug information
--no-truncate  disable truncating after 80 records
--print        print output in ASCII
--lrecl/-l     custom record length (default 561891834)