SOURCE—describe format of data
The SOURCE macro command instructs the editor to treat the source data as though it is in the specified format and converts it from that format 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 editor translates the data entered from the CCSID of the terminal to the specified format prior to storing the data in the file.
Syntax
The SOURCE ASCII macro command is not available when editing a z/OS® UNIX file. Instead, use the ASCII edit facility to have the data automatically translated from ASCII to the CCSID of the terminal.
- character_encoding
- The type of character encoding to be used for translating data
when displaying or receiving input from the terminal. Valid values are:
- ASCII
See Working with ASCII data for more information.
Examples
To set source mode to ASCII:
SOURCE ASCIITo
revert back to normal mode, use the RESET command:
RESET SOURCE