1 2 3
| SELECT TARBASE.AEABSO, TARBASF.AFDESI, TARBASE.AEDESI, FOUBASE.FONOM, STKBASE.STSTKP, TARBASE.AEAADS, TARBASE.AEJJDS, TARBASE.AEMMDS, STKBASE.STLOCA, STKBASE.STDPAA, STKBASE.STDPMM, STKBASE.STDPJJ, STKBASE.STDPAM, STKBASE.STPRMP, STKBASE.STPAMP, STKBASE.STSUCC, TARGENC.GCCODE
FROM SERVER_AS400.DBPROD.FOUBASE FOUBASE, SERVER_AS400.DBPROD.STKBASE STKBASE, SERVER_AS400.DBPROD.TARBASE TARBASE, SERVER_AS400.DBPROD.TARBASF TARBASF, SERVER_AS400.DBPROD.TARGENC TARGENC
WHERE TARBASE.AEABSO = STKBASE.STABSO AND TARBASE.AENFOU = FOUBASE.FONFOU AND TARBASE.AEABSO = TARBASF.AFABSO AND TARBASE.AEABSO = TARGENC.GCABS AND ((STKBASE.STSUCC='Comme ''PA''') OR (STKBASE.STSUCC='CH')) |
Partager