Skip to Main Content
Status Not in Plan
Workspace Natural for z/OS
Categories Natural (NAT)
Created by Guest
Created on Jul 15, 2021

FIND NUMBER RECORDS ...

Background:
Currently, Natural has no "generic" way to find the number of records loaded in an Adabas file. Natural must always use the name of a file-specific descriptor which is "known to be populated for every record".
e.g. FIND NUMBER EMPLOYESS WITH PERSONNEL-ID > 0

However, it would be better if there was a more generic syntax which was independent of any file-specific descriptors.
Examples:
e.g. FIND NUMBER EMPLOYEES WITH ISN > 0 /* syntax like this?
or FIND NUMBER RECORDS IN EMPLOYEES /* or like this?
DISPLAY *NUMBER
END

Enhancement Request:
Please provide a "generic syntax" for Natural to find the number of records loaded in an Adabas file.


Created on Brainstorm 12/06/2017 21:46
Brainstorm ID 5514
  • Admin
    Eli Cohen
    Reply
    |
    Sep 9, 2021

    The existing FIND command already covered this functionality by the sample that was given here.

  • +2