RESIZE user exits
DASD MANAGER PLUS can call an exit that is written in any language if it supports the standard calling convention.
When resizing Db2 objects, the BMCTRIG utility calls an external exit routine named ASUXRESZ. If the exit exists, BMCTRIG uses the primary quantity (PQTY) that it returns. The default source that DASD MANAGER PLUS supplies calculates the new PQTY of the data set. As written, the exit returns the REORGSPACE plus two times the secondary quantity (SQTY). DASD MANAGER PLUS no longer ships the RESIZE exit as a load module but now performs the behavior by default.
DASD MANAGER PLUS supplies the source for the exit in Assembler and C so that you can customize the formula. The following table shows the source is in HLQ.CNTL with the member names:
Member names of user exit source
Source | CNTL data set member |
---|---|
Assembler | ASUXRESZ |
C Language | ASUXRESC |
Related topics