CA Spool - File cleanup fails after SFTP transfer
search cancel

CA Spool - File cleanup fails after SFTP transfer

book

Article ID: 186264

calendar_today

Updated On:

Products

Spool

Issue/Introduction

Issue found where SFTP driver is working as expected but files in USS directory are not deleted after a successful transfer.

Environment

Release : 14.0

Component : CA Spool

Resolution

DRIVPRMn parameter SFTPSEC=RACF is required when RACF is used as the external security package. SO11900 must be previously applied

For example:


DEFNODE SFTP2,SFTP,GROUP=1,                                  
        RELEASE=NOWORK,CLASS=A,                              
        PURGE=NO,SEP=0,                                      
        ACQUIRE=WORK,TCPDRIV=SFTP                            
                                                             
NODE    SFTPAIX,SFTP2,                                       
        TCPHOST=99.999.999.99,TCPPORT=22,                    
        DRIVPRM1='PATH=/u/local/caspool/,RPATH=\home\remote',
        DRIVPRM2='PATHMODE=SIRWXU,SIRWXG,SIRWXO',            
        DRIVPRM3='FILENAME=&UID.&FNM.&JID.PDF',              
        DRIVPRM4='FTPUSER=rmtuser,SFTPSEC=RACF'              

Additional Information

The use of T and e options together result in uss files not being deleted, and the use of e without T result in stdout file not being deleted, otherwise files should be deleted.