Please advice how to find out maximum and minimum values in particular filed using rpg/400.