Here gives an example about how to use the NODENAME function.
SELECT NODENAME(CORPDATA.EMPLOYEE), PARTITION(CORPDATA.EMPLOYEE), EMPNO FROM CORPDATA.EMPLOYEE
OPNQRYF FILE((CORPDATA/EMPLOYEE)) FORMAT(FNAME) MAPFLD((NODENAME '%NODENAME(1)'))
SELECT EMPNO, NODENAME(X), NODENAME(Y) FROM CORPDATA.EMPLOYEE X, CORPDATA.DEPARTMENT Y WHERE X.DEPTNO=Y.DEPTNO
OPNQRYF FILE((CORPDATA/EMPLOYEE) (CORPDATA/DEPARTMENT)) FORMAT(FNAME) JFLD((EMPLOYEE/DEPTNO DEPARTMENT/DEPTNO *EQ)) MAPFLD((EMPNO 'EMPLOYEE/EMPNO') (NODENAME1 '%NODENAME(1)') (NODENAME2 '%NODENAME(2)'))
SELECT * FROM CORPDATA.EMPLOYEE X, CORPDATA.DEPARTMENT Y WHERE NODENAME(X)=NODENAME(Y)
OPNQRYF FILE((CORPDATA/EMPLOYEE) (CORPDATA/DEPARTMENT)) FORMAT(FNAME) JFLD((1/NODENAME1 2/NODENAME2 *EQ)) MAPFLD((NODENAME1 '%NODENAME(1)') (NODENAME2 '%NODENAME(2)'))