|
<<SNIP>>
I am trying to delete A/P details where the A/P header has a last
payment date of 121213 (yesterday).
Two things:
1. Why does the IBM i not allow the same syntax as what I've found on
the Net for other platforms? Is it the i or the other platforms that
aren't standard? eg. I'm getting the error message "Keyword FROM not
expected. Valid tokens: USE SKIP WAIT WITH WHERE." for the following
statement:
DELETE D
FROM IPAPDTL D
INNER JOIN IPAPHDR H ON
H.AAVN=D.DAVN AND H.ATYP=D.DTYP AND H.AINV=D.DINV AND
H.AIDI=D.DIDI AND H.AGS$=D.DGS$
WHERE H.ADLP = 121213
2. <<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.