Please enable JavaScript to view this site.

A-Shell Development History

MX_FILEHOOK now supports ISAM-A.

UPDATE'RECORD and CREATE'RECORD hooks are handled the same as WRITE and WRITEL, respectively. Use the one of the HFE_xxx_WRITE or HFE_xxx_WRITEL event flags to enable.

The DELETE'RECORD hook is enabled by one of the two new event flags added to HOOK.DEF in ASHINC:

define HFE_PRE_ISAMA_DEL=  &h00200000  ! ISAMA pre delete'record 

define HFE_POST_ISAMA_DEL= &h00400000  ! ISAMA post delete'record

 

GET'LOCKED and GET'NEXT'LOCKED are hooked like READL, while GET and GET'NEXT (without locking) are hooked like READ. Use the HFE_xxx_READL and/or HFE_xxx_READ flags to enable.

ALLOCATE'INDEXED is hooked like ALLOCATE (HFE_xxx_ALLOCATE flags).

A new sample program, ////////ISMTSTH.BP in EXLIB:[908,50] ISMTSTH.BP, can be used to demonstrate/test the new ISAM-A hooks. Also see fnhooklog.bsi in SOSLIB[907,10] which has been updated for the new hook event flags.