Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
PRESERVE—Enable Saving of Trailing Blanks z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The PRESERVE macro command enables or disables the saving of trailing blanks in the editor. This enables you to override the setting for the field on the edit entry panel called "Preserve VB record length". SyntaxMacro command syntax .-ON--. >>-ISREDIT--PRESERVE--+-----+---------------------------------->< '-OFF-'
Assignment statement syntax >>-ISREDIT--(varname)-- = --PRESERVE--------------------------->< .-ON--. >>-ISREDIT--PRESERVE-- = --+-----+----------------------------->< '-OFF-'
DescriptionPRESERVE ON causes the editor
to save trailing blanks for variable length files. The number of blanks
saved for a particular record is determined by one of these:
PRESERVE OFF causes the editor to truncate trailing blanks. If a line is empty ISPF saves 1 blank. Use of the PRESERVE command does not prevent the editor from working on data past the specified record length. The length set and returned by the PRESERVE command is only used when the data is written and does not affect the operation of other edit functions. Return codes
ExamplesTo save the value of the PRESERVE
mode in variable &TRMODE:
To
enable the editor to remove trailing blanks when the data is saved:
|
Copyright IBM Corporation 1990, 2014
|