APPX Software Library

Data Dictionary, Files and Event Points

How to determine IO mode (READ,WRITE,HOLD) within a FLEP

Is it possible to tell inside a FLEP whether it is being called from a READ or a READ w/ Hold? Or whether it's being called from a WRITE or REWRITE?

The --- MODE PDF should tell you this information. READ with HOLD sets MODE = CHANGE, without HOLD sets MODE = INQUIRE. On the PCF update event points it sets MODE = ADD for a WRITE and MODE = CHANGE for a REWRITE, MODE = DELETE for a DELETE.