PreviousNext
Help > Development > W-Language Functions for AS/400 > Spool functions > ASSpoolList > Example
Example


listSpool
is ASSpoolCollection

//look for all the spool files

IF NOT ASSpoolList(listSpool,"","", "","","", MyConnection)

 Error(ErrorInfo()) 

END