I have table in SAS Enterprise Guide like below:
COL_DT | COL_5 | ... | COL_n
----------|--------|------|--------
10MAY2021 | 1 | ... | xxx
15DEC2021 | 0.5 | ... | xxx
09APR2020 | 12 | ... | xxx
... | ... | ... | ...
And I need to remove from above SAS table column which ends with: _DT, _ID, _CP
if columns with mentioned suffixes exist
Expected output:
COL_5 | ... | COL_n
-------|------|-------
1 | ... | xxx
0.5 | ... | xxx
12 | ... | xxx
... | ... | ...
How can I do that in SAS Enterprise Guide ?