Create index for dlDocumentDate
The Table Input function performs a Max value on the dlDocumentDate of the target table. We recommend that an index is created over the table to improve this lookup:
CREATE INDEX idx_<tablenm>_dlDocumentDate ON <tablenm>
(dlDocumentDate)
For example:
CREATE INDEX idx_CSYCAL_dlDocumentDate ON CSYCAL (dlDocumentDate)