I recently had a fun problem. One of our accountants wanted to put brackets around negative numbers. I quickly added a compare to zero, setting on an indicator and hard-coded brackets when the indicator was on. The output looked like this:
< 1.00> < 315.00> < 1,412.00>
The accountant said that it was not what he wanted. He wanted output that looked like this:
<1.00> <315.00> <1,412.00>
He wanted floating brackets. I know how to do a floating $ sign:
O SALES J 25 '$'
But how do you do floating brackets? The solution is the same as foreign currency symbols. You put the symbol that you want to float in position 18 of the H-spec. Then you use that symbol just like the floating $ sign:
H < ... O SALES J 25 '<' O 26 '>'