If you want to test the functionality of the AFC definitions for an output queue, you can use the option 13=Enter step by step mode:
Work with Auto Forms Control output queues AFC300D
Position to . . . . . . Outq
Type options, press Enter. 2=Change 3=Copy 4=Delete 5=Display 8=Start AFC-job 9=End AFC-job 12=Work with output queue 13=Enter step by step mode
Opt Outq Library Description Status AFC_INPUT1 APF3812 Job for sample printout *ACTIVE
|
In order to use this option the AFC job must be active.
After running this option you will get a break message in the current job and the AFC job will stop and wait for an answer, before executing each sequence line, when a spooled file arrives. The message will look like this:
Display Messages System: INTER03 Queue . . . . . : QPADEV0009 Program . . . . : *DSPMSG Library . . . : QSYS Library . . . : Severity . . . : 00 Delivery . . . : *BREAK
Type reply (if required), press Enter. AFC-job AFC_INPUT1/AFCOPER/203661 is ready to continue with seqnbr 1 from AFC-queue AFC_INPUT1. (G *ENDDBG) Reply . . . ___________________________________________________________
Bottom F3=Exit F11=Remove a message F12=Cancel F13=Remove all F16=Remove all except unanswered F24=More keys
|
You can now check the output queue and the spooled files generated so far, before you answer the message with āGā (for Go) and let the AFC job execute this single sequence line. When you tested enough and what the job to return to normal execution, you answer the message with *ENDDBG (end debug) or end and restart the AFC job.