z/OS TSO/E REXX Reference
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


MIN (Minimum)

z/OS TSO/E REXX Reference
SA32-0972-00

Read syntax diagramSkip visual syntax diagram
         .-,------.      
         V        |      
>>-MIN(----number-+--)-----------------------------------------><

returns the smallest number from the list specified, formatted according to the current NUMERIC settings.

Here are some examples:
MIN(12,6,7,9)                                                     ->   6
MIN(17.3,19,17.03)                                                ->  17.03
MIN(-7,-3,-4.3)                                                   ->  -7
MIN(21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,MIN(2,1))   ->  1

Implementation maximum: You can specify up to 20 numbers, and can nest calls to MIN if more arguments are needed.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014