Dynamic pivot

Closest I've got to showing only PRES/PRESIDENT columns is to include where clause embedding substutition string such as job = '&P39_CEO.', but returns ora-01403 in this demo, works in 4.2
report error:
ORA-00904: "D"."PRES": invalid identifier

xml pivot

Job ANALYSTANALYST SCLERKCLERK1ManagerPRESIDENTSALESMANpruebatest
10 010100110
20 003013100
30 001000100
40 100010000
  000000001
1 - 5
As described here by fac586 (Paul MacMillan)