Abandon submission can't be used for FILE_TRIGGER since it's not a job. And I think you may use ABANDON DEPENDENCIES on its successor. Like:
FILE_TRIGGER TESTJOB CONDITIONAL
...
RELEASE ADD(NEXTJOB)
ENDJOB
JOB NEXTJOB
.....
ABANDON DEPENDENCIES 23:00
...
ENDJOB
Note: the CONDITIONAL option for FILE_TRIGGER can bypass it after all other JOBs completed in the same application.
In your post, the AJ command in following JOB is not necessary since it' released ONLY after the FM completes:
JOB FC_JOB LINK PROCESS
ESP AJ FORCE_COMPLETE_TESTJOB COMPLETE APPL(TEST.%ESPAPGEN)
ENDJOB
There can be more considerations based on other jobs in the same application. And if needed, you can open a support case with us.
Hope this helps,
Lucy