Program Oshelp2

The purpose of Program Oshelp2 is to delete or remove any one designated character in the input file by specifying its ASCII character.

To execute Program Oshelp2, after the >>? prompt type

>>? RUN Oshelp2 [Enter]

Program Oshelp2 responds ENTER: 1. THE INPUT FILE NAME 2. THE OUTPUT FILE NAME 3. THE NUMERIC VALUE OF THE CHARACTER TO BE DELETED ?

where the INPUT FILE is the name of the file which contains the character to be deleted. OUTPUT FILE is the name of the file to contain the text without the deleted characters. NUMERIC VALUE TO BE DELETED is the ASCII value of the character to be deleted.

Example: To delete all carriage returns. ASCII value for a carriage return = 13 XYZ.D1 is the file containing the carriage returns to be deleted XYZ.D2 is the file that will not have the carriage returns.

Therefore, after the Program Oshelp2 ? prompt type

? XYZ.D1 XYZ.D2 13

Program Oshelp2 responds with the message

COMPLETE 102

where 102 = the number of carriage returns found.

Note: Only one character may be deleted per pass.

P-64

Program Oshelp2 - Page