Listing statistics for the current editor session

To list statistics for the current editor session, use the RECSTATS primary command.

The RECSTATS primary command shows (in a pop-up panel):
  • The number of physical records read while loading
  • The number of physical records selected
  • The number of record elements in the current editor session
  • For an Edit session, the number of pending inserts and changes
  • The total data bytes
  • The average record element length
  • The minimum record element length encountered
  • The maximum record element length encountered
When a template has been used, the RECSTATS primary command also shows:
  • The number of layouts
  • The number of record elements selected
  • The number of record elements not selected
  • The number of record elements not selected due to the record data not meeting selection criteria
  • The number of record elements not selected due to the record length being outside any layout length
  • A list of layout names and the number of record elements belonging to each layout
Note: Information on record elements not selected is not available if the Include only selected records option is selected and this is an in-storage or sampling editor session.

Similarly, for an editor session using a segmented template with selection criteria, information for records and their segments that were not selected is not available.

Example of statistics listed with the RECSTATS command shows an example of statistics listed by the RECSTATS command for a editor session when a template has been used.
Figure 1. Example of statistics listed with the RECSTATS command
  Process   Options   Help
 ───────────────────────────────────────────────────────────────────────────────
 View             FMN.V14R1M0.SFMNSAM1(FMNCDATA)                 Rec 0 of 40
                                    Record 0         Col 1          Format CHAR
 ┌─────────────────────────── File Manager Messages ───────────────────────────┐
 │                                                                             │
 │                                                                             │
 │ File Manager View (in-storage)                                              │
 │ Dataset: FMN.HOGN.KSDS.TEST                                                 │
 │ Template: FMN.RFM0569.PDSE(HOGAN)                                           │
 │ Physical records read while loading: 100                                    │
 │ Physical records selected          : 2                                      │
 │                                                                             │
 │ Number of record elements    :  50                                          │
 │   inserts pending            :  0                                           │
 │   changes pending            :  0                                           │
 │   deletes pending            :  0                                           │
 │ Total data bytes             :  4014                                        │
 │ Average record element length:  80                                          │
 │ Minimum record element length:  12                                          │
 │ Maximum record element length:  298                                         │
 │                                                                             │
 │ Template related information                                                │
 │ Number of layouts            :  28                                          │
 │ Record elements selected     :  50                                          │
 │ Record elements not selected :  0                                           │
 │   due to record element data not meeting selection criteria:  0             │
 │   due to record element length outside any layout length   :  0             │
 │ List of layout names and count of record elements per layout                │
 │ M-KEY-GROUP                                                              2  │
 │ M-ACCOUNT-CODING-STRUCTURE                                               2  │
 │ M-ORIGINAL-ACT-INFO                                                      2  │
 │ M-CLOSED-ACT-INFO                                                        0  │
 │ Command ===>                                                   Scroll PAGE  │
 │  F1=Help        F2=Split       F3=Exit        F4=CRetriev    F7=Backward    │
 │  F8=Forward     F9=Swap       F10=Actions    F12=Cancel                     │
 └─────────────────────────────────────────────────────────────────────────────┘

Related topics