i have two files trying to join, In SFAM file there is a field RGLPK that joins to SFLPI. It joins fine but here is the problem we stopped using RGLPK so now the new data
is being entered into field SRLPK. So i want to join on both fields? Is this possible so i can get the old data and the new data in one file. Below I tried to put the
A R SFFMT JFILE(SFAM SFLPI)
A J JOIN(SFAM SFLPI)
A JFLD(RGLPK LLIK)
A* J JOIN(SFAM SFLPI)
A* JFLD(SRLPK LLIK)
A LLPGM
A SSS#
A LSAMS#
A RSRVYR
A RSRVMO
A RSRVDA
is being entered into field SRLPK. So i want to join on both fields? Is this possible so i can get the old data and the new data in one file. Below I tried to put the
A R SFFMT JFILE(SFAM SFLPI)
A J JOIN(SFAM SFLPI)
A JFLD(RGLPK LLIK)
A* J JOIN(SFAM SFLPI)
A* JFLD(SRLPK LLIK)
A LLPGM
A SSS#
A LSAMS#
A RSRVYR
A RSRVMO
A RSRVDA
Comment