Originally posted by FrankDutch:
I think Susannah's solution only works if you print only USD or only not USD.
In a mixed report it will not work.
I think what you want is
col5 col1 col2 col3 col4
USD 123 xxx aaa
222 aaa bbb
EUR 250 300 axc ccx
GBP 100 180 cxs xxs
If this is what you want then
DEFINE FILE xxx
COL3X/D12S=IF COL5 EQ 'USD' THEN 0 ELSE COL3;
END
TABLE FILE xxx
PRINT
COL1
COL2X
COL3
COL4
BY COL5
END