CONVERTE: Subroutine that converts EBCDIC characters to ASCII.
At the PRINTIN screen, enter the name and location of the file to be converted. If the input is from tape, the file's sequence number may be substituted for the name and library. The LISTING screen--which controls the location of the output file--is normally suppressed; see description below to control these elements.
Very helpful for informational exchange with IBM systems or when communicating with vendors, such as in Computer Output to Microfiche (COM) applications.
If the print file is greater than 1,000 lines, the output file allocation may be too small. To control this, or to control the name or location of the output file, use a procedure to control the LISTING GETPARM.
PRINTIN Press (RETURN) to continue.COBOL source is available.FILE (blank) The name and location of the IBM LIBRARY (blank) print file to be converted. May be VOLUME (blank) ignored if the input form is TAPE and the file sequence option is used.
DEVICE TAPE Set to DISK to use a disk file for input.
FILESEQ 0001 Optional; applies only if DEVICE = TAPE.
LISTING Optional; normally hidden. Enter information and press (RETURN) to continue.
FILE (blank) The name and location of the LIBRARY (blank) Wang-format print file to be created VOLUME (blank) on disk.