ESF937 File nnnn on printer FTPxxxx - FTP client error for command FAPI_SCMD pass RC=11
search cancel

ESF937 File nnnn on printer FTPxxxx - FTP client error for command FAPI_SCMD pass RC=11

book

Article ID: 414000

calendar_today

Updated On:

Products

OM Spool

Issue/Introduction

Errors trying to send files to a FTP server:

ESF937  File   nnnn on printer FTPxxxx  - FTP client error for command FAPI_SCMD pass RC=11                      
ESF937  File   nnnn on printer FTPxxxx  - FCAI_ReturnCode=0 FCAI_ReasonCode=0x00000000                           
ESF967  File   nnnn on printer FTPxxxx  User login refused                     

Environment

Spool 

Cause

The errors indicate that either the userid or the password are invalid or expired

Resolution

Check with the FTP server administrator what are the correct userid and password and update the Spool node definition accordingly:

NODE    SAMPFTP1,FTP,GROUP=1,  Sample z/OS FTP printer
        DRIVPRM1='DSNAME=temp-data-set-name',
        DRIVPRM2='FTPUSER=remote-userid,FTPPASS=remote-password'
        DRIVPRM3='FILENAME=remote-data-set-name',
        TCPHOST=ccccccccccc    TCP/IP FTP server host