I have a batch process which will create a IFS file from physical file and FTP to iSeries IFS Directory. FTP function will fail if the FTP server on iSeries is not running. I would like to include a statement in CL to ensure FTP server is running on iSeries before placing the file in IFS directory. Is there any way I can find in CL whether FTP server on iSeries is running or not? MY CL will be on the same server where the IFS directory exists.