Program Oshelp1

The purpose of Program Oshelp1 is to change any one character in the input file to its ASCII equivalent character in the output file.

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

>>? RUN OSHELP1 [Enter]

Program Oshelp1 responds ENTER: 1. THE INPUT FILE NAME 2. THE OUTPUT FILE NAME 3. THE NUMERIC VALUE OF THE CHARACTER TO BE TRANSLATED 4. THE NEW NUMERIC VALUE OF THE CHARACTER ?

where the INPUT FILE is the name of the file which contains the characters to be changed. OUTPUT FILE is the name of the file to contain the characters as changed. NUMERIC VALUE TO BE TRANSLATED is the ASCII value of the character to be changed. NEW NUMERIC VALUE is the new value of the character.

Example: To change a J to a carriage return. ASCII value for J = 74 ASCII value for cr = 13 The J to be changed is in XYZ.D1 The J changed to a cr is to be put in XYZ.D2

Therefore, after the Program Oshelp1 ? prompt type

? XYZ.D1 XYZ.D2 74 13

Program Oshelp1 responds

COMPLETE 2

where 2 = the number of J's found.

Note: Only one character may be changed per pass.

P-63

Program Oshelp1 - Page