Working with ASCII data
When you are working with an ASCII file, you can use the ASCII editing facility to translate data from and to ASCII when displaying and receiving input from the terminal.
The ASCII editing facility converts the ASCII data to the corresponding EBCDIC representation prior to displaying at the terminal. Also, when you enter data from the terminal, the data is converted from the CCSID of the terminal to ASCII before being stored in the file you are editing.
To activate the ASCII editing facility for a PDS member or data
set select 1 (ASCII) for the Data Encoding option on the edit entry
panel. Otherwise start editing the member or data set and then issue
the command SOURCE ASCII
.
- Select 1 (ASCII) for the Data Encoding option on the Edit/View entry panel.
- Specify the ASCII parameter when calling the EDIT or VIEW services.
- Specify the EA (Edit - ASCII) or VA (View - ASCII) line commands on the z/OS UNIX directory list display.
When using the ASCII editing facility with a z/OS UNIX file, ISPF ensures the file's CCSID is set to 819 when the file is saved.
The ISPF editor then treats the source data as though it is ASCII data and converts it from ASCII to the CCSID of the terminal for display purposes, although the data remains unchanged within the file. When you input or modify data at the terminal, the ISPF editor translates the data entered from the CCSID of the terminal to ASCII before storing the data in the file.
RESET SOURCE