Multiple choice technology platforms and products

What is the CL command to retrieve current number of recors in a physical file?

  1. RTVMBRD

  2. CNTPFREC

  3. RTVPFREC

  4. CNTMBRD

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

RTVMBRD (Retrieve Member Description) is the CL command used to retrieve information about a file member, including the current number of records. The command retrieves metadata into CL variables. CNTPFREC and RTVPFREC are not valid IBM i commands.