How to select a specific number of rows in CA-IDMS/SQL