Contents - Index


 

Use EditResequence to replace current session text by sequence numbers at a defined column range on all lines.

 

EditResequence may also be entered as EditRes[equence], Res[equence], or Renum[ber].

 

Optional Operands

 

BASE specifies the starting sequence number.

 

 Default: the INCR value.

 

INCR specifies the increment amount, that is, the difference between the numbers on two successive lines.

 

 Default: 100.

 

The column range for the sequence numbers must have been previously specified through the SEQ operand of the FileDefine, FileAlter, or SessionAlter command.  It cannot be wider than 8 characters.  Certain lines are not overlaid with sequence numbers.  Any line beginning with a right parenthesis ), the BIM-EDIT TRAP character, is bypassed.  Also, any line beginning with /INCL is bypassed.  The text on all lines to be updated must be blank or numeric in the column range.  If it finds non-numeric data, the only action of EditResequence is to position the session to the line that contains the non-numeric data.  Lines that are updated by EditResequence will be written to the file's audit trail (if file auditing is active) but will not have their date stamps updated.

 

Return Codes

 

OK Successful.

 

Examples

 

Assuming that SEQ=1-6, assign sequence numbers, starting at 10000 and incrementing by 1000:

 

   => res 10000,1000