Chapter 6. Tips and techniques 143
If it is not easy to create the file again, then you can view it by using an OS/400 command,
such as Edit File (EDTF), or copy the file to a file with an ASCII CCSID using a command like
this example:
CPY OBJ(ebcdic-file-name) TOOBJ(ascii-file-name)
TOCCSID(819) DTAFMT(*TXT)
Here
ebcdic-file-name
is the name of the file that you cannot read on the PC and
ascii-file-name
is a new name that does not yet exist. You may need to fully qualify both
names (unless you used the cd command first). If the file is text in EBCDIC, you should be
able to read the new file using a PC editor.
For more information about the touch and setccsid commands, see 6.2.2, “The touch and
setccsid commands” on page 149.
6.1.5 The cd command ...