Unable to edit ConfigFile.cfg for Web Viewer 14.0 it is unreadable

book

Article ID: 192159

calendar_today

Updated On:

Products

CA Output Management Web Viewer

Issue/Introduction

When trying to edit the ConfigFile.cfg file to configure Web Viewer., it is not in readable format.

Cause

Some text files are stored on USS in ASCII. If you attempt to open the file as EBCDIC, it may appear to be binary.
The ASCII requirement is due to Java, which only runs in ASCII. USS (OMVS) can run code that is ASCII and EBCDIC.
OEDIT and ISHELL are for EBCDIC and cannot be used to edit ASCII files.

Environment

Release : 14.0

Component : Web Viewer

DVWEB

Resolution

Editing the ConfigFile.cfg  in ASCII

You can edit a file in ASCII mode using one of the following methods:

  1. Use a third-party utility that allows direct editing of ASCII files from USS.

  2. Edit the ASCII file locally with a text editor:
    a. Download the file to your computer using FTP in binary mode, so that the encoding is not changed during the transfer.
    b. Edit the file on your computer with a text editor.
    c. Upload the file back in binary using FTP.

  3. Edit the ASCII file with the ISPF UI Tool within USS:                                                                                                                                                                                                          

a. Select UTILITIES from the ISPF primary option menu. The Utility Selection Panel opens.
b. Select Udlist. The z/OS UNIX Directory List Utility opens.
c. Type the pathname, then use normal USS commands to step down the path to the required directory.
d. Make yourself a superuser and enter the EA command on the appropriate file. The file is in a readable form, and you can update it.