Note: Usage options

The KEEP_COUNT command is used to keep count of field(s) changes in another field.

Note: RDMLX Fields cannot be used with this command.

The KEEP_COUNT command is only valid within SELECT or SELECTLIST command loops, because the processing logic used is implicitly linked to the SELECT / SELECTLIST loop logic.

Normally the KEEP_COUNT command is entered directly after the SELECT or SELECTLIST command. However there are specific exceptions to this. Refer to the examples section for more details.

Also See

7.82.1 KEEP_COUNT Parameters

7.82.3 KEEP_COUNT Example

7.82.2 KEEP_COUNT Comments / Warnings




  KEEP_COUNT --- OF_FIELD ---- list of field names ------------->

                             | expandable group expression |

                             ------ -- 50 max - -----------


                 IN_FIELD ---- field name ---------------------->





                 BY_FIELD ---- *SELECTED -----------------------|

                               list of field names

                              | expandable group expression |

                               ---------  20 max ----------