A prerequisite for the AFC jobs is, that a data queue is connected to the monitored output queue. The data queue is placed in the same library as the monitored output queue. If this data queue gets damaged or is deleted by someone, then you will need to recreate the data queue as below.
If the data queue is damaged, then you will need to delete the old data queue and then create a new. After the procedure you will need to hold and release any spooled file before the AFC job will react to the pending spooled file. You delete the damaged data queue with the command: DLTDTAQ DTAQ(<lib>/<dataqueue>), and then you need to recreate the data queue like below.
You can create the required data queue by selecting option 2=Change for the monitored output queue on the AFC output queue setup and press Enter twice.