Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

@LIMITS - Output line numbers and number of lines

&pagelevel(3)&pagelevel

The @LIMITS statement causes EDT to output the lowest and the highest assigned line number as well as the number of lines for the current work file.

In interactive mode, the output is written in a line to SYSOUT and in batch mode it is written to SYSLST.

Operation

Operands

F mode, L mode

@LIMITS


In the case of files opened for real processing, the number of lines 0 is always output.

Example

  4.     @PRINT
  1.0000 A
  2.0000 B
  3.0000 C
  4.     @LIMITS
  1.0000 TO    3.0000          3 LINES --------------------------------- (1)
  4.     @COPY 1-3 TO 99.01 -------------------------------------------- (2)
100.03   @LIMITS
  1.0000 TO    99.0300         6 LINES --------------------------------- (3)
100.03
(1)

The lowest and highest assigned line numbers are output together with the number of lines.

(2)Lines 1-3 are copied to the lines 99.01, 99.02 and 99.03.
(3)

The lowest and highest assigned line numbers are now 1.0000 or 99.0300. The number of lines is now 6.