The below is the requirement.
I have multiple queues as below and i want to retrieve only specific output queues . These specific queue represent each day e.g
MON1,TUE1,WED1,THU1,FRI1 .These output queues are placed in random order and are in 'RDY' status in the queue.
Every day when the spool file comes into a specific queue , it should be copied into a physical file.
For Eg. On Monday, once the spool file SPOOLF1 is present in the output queue MON1, it should be immediately written to the physical file even if it is empty.There are many other spool files present in MON1, however, the copy should be performed only to the specific file SPOOLF1 for MON1.
On similar lines, once the spool file SPOOLF1 comes to TUE1 queue , it should immediately be copied to another physical file and so on and so forth for queues WED1,THU1 and FRI1.
Work with all output queues:
After selecting output queue TUE1, i am in the below screen:
Work with output queue:
File User User Data Sts
SPOOLX user1 ud1 RDY
SPOOLY user1 ud2 RDY
SPOOLZ user1 ud3 RDY
SPOOLF1 user1 ud4 RDY --> This file needs to be copied to a physical file
SPOOLQ user1 ud5 RDY
SPOOLR user1 ud6 RDY
SPOOLS user1 ud7 RDY
Would really appreciate if someone can help me out with this, Thanks in advance for the help !