Link process is not issuing commands
The predecessor which reset the global variable value, and the value affects the IF logic on APPL level.
1. Remove the LINK PROCESS and put it in another event which will be triggered by its predecessor.
2. Add IF logic for the VGET, this way the variable value won't be retrieved when its predecessor is submitted:
IF ESPCUFULLNAME NE 'VGET.LINK' THEN DO
VGET CUTOFF TABLE(CUTOFF)
ENDDO
3. Put the IF logic on APPL level under "IF ESP_APPL_GEN". See example below. This will improve performance, as the IF logic won't run at process phase:
IF ESP_APPL_GEN THEN DO