skip to main content

Data Division : Data Description : VARYING clause

VARYING clause
The VARYING clause establishes counters to enable different source items to be placed in each occurrence of a repeated printable item in report writer.
The VARYING clause also establishes counters to enable a VALIDATE statement to store different occurrences of a data item in different occurrences of a destination data item, or to compare different occurrences of a data item during content or relation validation.
General format
Syntax rules
1.
2.
 
NOTE: Such a reuse refers to a completely independent data item.
 
This definition of data-name-1 may be referenced only within the current entry or a subordinate entry.
3.
General rules
1.
2.
3.
a.
b.
4.
 
NOTE: For example, this allows data-name-1 to be used as a source data item, as a subscript to a source data item or as part of the identifier in the DEFAULT clause.
5.
6.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left