pdrcca2m

pdrcca2m converts ANSI carriage controls to machine carriage controls.

Syntax

pdrcca2m inputfile outputfile switches

Parameter Description Default
inputfile The name of the input file. input.lin
outputfile The name of the output file. output.lin
switches Up to three switches with no intervening spaces. A slash must precede each switch.

The first switch specifies the record format to which pdrcca2m will convert the input, as follows:

  • /F — Keep output records as they were in the input print stream.
  • /V — Strip blanks from each record in the output print stream.
/F/E
The second switch specifies how to pad records inserted into the input print stream, as follows:
  • /A — Use the ASCII hexadecimal character x'20' to pad inserted records.
  • /E — Use the EBCDIC hexadecimal character x'40' to pad inserted records.
The third switch, /T, sets pdrcca2m to issue trace information for every 1,000 records.
  • /T — Sets pdrcca2m to issue trace information for every 1,000 records.

Example

pdrcca2m test1.in test1.out /V/T

In this example, pdrcca2m is to convert ANSI carriage controls in test1.in to machine carriage controls in test1.out. pdrcca2m will remove all spaces from the end of each record and will issue trace information every 1,000 records.