Joined: 18 Jul 2007 Posts: 2150 Location: At my coffee table
Take a look at the OUTFIL FIELDS parameter, It has arithmetic functions....
SyncSort for z/OS 1.3 Programmer’s Guide wrote:
The arithmetic functions of minimum and maximum (MIN and MAX) are performed before the arithmetic operators (MUL, DIV, MOD, ADD, SUB). Within the arithmetic operators, multiplication (MUL), division (DIV), and modulus (MOD) are performed before addition (ADD) and subtraction (SUB). Operations within the same precedence level are performed from left to right.