If you use the DSPLNK command for the IFS path, you can specify OUTPUT(*PRINT) which will generate a listing of all the files in the folder.
If you copy the spool file (QSYSPRT) to a database file, your CL program can then read through the listing to determine whether or not the file has arrived.
I've used this method on many an occasion.
All the best
Last Wiki Answer Submitted: May 10, 2005 4:31 am by astradyne370 pts.