SEGCNT
Can only be used in criteria for a segmented template.
Returns the number of previous occurrences of the segment identified by the parameter, field_name. The default value of 0 is returned if used with non-segmented processing.
- field_name
- Must be a valid 01 name in the template being used.
For example, if SEG-A occurs the number of times specified in the header field SEG-NUM-A, the RID criteria shown in Figure 2 can be used to identify SEG-A.