SRETAIN - Retain Source Format

#### Search Results

Search

# SRETAIN - Retain Source Format

This Natural profile parameter specifies the encoding format for new and existing Natural sources when they are saved.

Possible settings | `ON` | The original code page of an existing Natural source is retained. If an existing Natural source without code page information is saved, it will not receive any code page information. When a new Natural source is created, it will be saved in the default code page format as defined with the profile parameter `CP`.
`OFF` | Natural sources will be saved in the default code page format.
`(ON,EXCEPTNEW)` | The original code page of an existing Natural source is retained. If an existing Natural source without code page information is saved, it will not receive any code page information. When a new Natural source is created, it will be saved without code page information. `(ON,EXCEPTNEW)` retains the compatibility of newly created Natural sources with existing applications that have been created with earlier Natural versions that did not provide code page support. Note: The value `(ON,EXCEPTNEW)` is supported on mainframe computers only.
Default setting | `ON` |
Dynamic specification | yes |
Specification within session | no |

Notes:

1. For the code page of a Natural source that is saved or stowed, the resulting encoding depends on the settings of the profile parameters `SRETAIN` and `CP`. See Code Page Support for Editors, System Commands and Utilities on the Mainframe in the Unicode and Code Page Support documentation.
2. See also Profile Parameters and Macros in the Unicode and Code Page Support documentation.