Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
NUMBER—Generate Sequence Numbers z/OS ISPF Edit and Edit Macros SC19-3621-00 |
|
The NUMBER primary command sets number mode, which controls the numbering of lines in the current data. Syntax(1) .-+-STD---+-----. .-ON-. | '-COBOL-' | >>-+-NUMBER-+--+-+----+--+---------------+--+---------+-+------>< +-NUMB---+ | +-STD COBOL-----+ '-DISPLAY-' | '-NUM----' | +-NOSTD---------+ | | +-NOCOBOL-------+ | | '-NOSTD NOCOBOL-' | '-OFF------------------------------------' Notes:
DescriptionAttention: If number
mode is off, make sure the first 6 columns of your data set are blank
before turning COBOL number mode on. Otherwise, the data in these
columns is replaced by sequence numbers. If that happens and if edit
recovery or SETUNDO is on, you can use the UNDO command to recover
the data. You can also use CANCEL at any time to end the edit session
without saving the data.
When number mode is on, NUMBER verifies that all lines have valid numbers in ascending sequence. It renumbers any lines that are either unnumbered or out of sequence, but it does not otherwise change existing numbers. In number mode, the editor automatically generates sequence numbers in the data for new lines created when data is copied or inserted. The editor also automatically renumbers the data when it is saved if autonum mode is in effect. If the number overlays the shift-in (SI) or shift-out (SO) characters, the double-byte characters appear incorrectly and results are unpredictable. ExamplesTo number data in the standard
sequence field, enter this command:
To
number data in both the standard and COBOL fields and include sequence
numbers in the display, enter this command:
|
Copyright IBM Corporation 1990, 2014
|