call "MFFH_MODIFY_TRACE" using l-FCD-modifiers
01 l-FCD-modifiers 03 1-FCD-mod-enable pic x comp-x. 03 l-FCD-mod-flag pic x(4) comp-x. reserved pic x(8).
1 | Set modifier flag on |
2 | Set modifier flag off |
3 | Unset modifier - does not affect FCDs already modified |
h"1102" | Modifies the trace bit in fcd-flags-1 |
h"1808" | Modifies the OPEN/CLOSE trace bit in fcd-fs-flags |
None.
This example enables tracing for all files.
move 1 to l-FCD-mod-enable move h"1102" to l-FCD-mod-flag call "MFFH_MODIFY_TRACE" using l-FCD-modifiers.
This example disables tracing for all files.
move 2 to l-FCD-mod-enable move h"1102" to l-FCD-mod-flag call "MFFH_MODIFY_TRACE" using l-FCD-modifiers.
This example stops the tracing bit being modified from now on for all files. What was set, stays set.
move 3 to l-FCD-mod-enable move h"1102" to l-FCD-mod-flag call "MFFH_MODIFY_TRACE" using l-FCD-modifiers.
This example enables OPEN/CLOSE tracing for all files.
move 1 to l-FCD-mod-enable move h"1808" to l-FCD-mod-flag call "MFFH_MODIFY_TRACE" using l-FCD-modifiers.
Comments:
The success of the call can be checked by examining RETURN-CODE.
Once a modification is set up, it is applied to every FCD passing into the File Hander until the modification is cleared.