KB Article #70917

VSAM - Sending files from z/os to z/os using CFT monitor

Problem

-- How to send VSAM files from z/os to z/os using CFT monitor


Resolution

* Many options of a VSAM file will not be exchanged along a PeSIT transfer due to the limitation of file description handled by the protocol. Therefore, using ADRDSSU to exchange VSAM type files between 2 CFT monitor must be considered.
It works also for PDS file type.
Using ADRDSSU for a transfer needs special explained bellow:



CFTSEND/CFTRECV syntax must be:

CFTSEND    ID       = ADRDSSU,                              
           FTYPE    =  1 ,                                  
           FNAME    = '#IMSYS.DPICDS.TRANSFER_'  ,              
           WFNAME   =  a work, file  ,    
 &
CFTRECV    ID       = ADRDSSU   ,                                
           FTYPE    =  1 ,                                    
/*         MACTION  =  REPLACE  ,     For PDS only, action on members */                          
           FNAME    = '%%'   ,                                
           WFNAME   = temporay.work.file  ,        
           USERID   = to be specified when needed,                                
       
Where:
FTYPE = 1 will force ADRDSSU call
Fname will be followed by 1 2 or 3 "_"
On the receiving side, the file(s) will be stored with the SAME file name if fname= '%%', or the FIRST QUALIFIER will be changed if fname ='%%QUALIFIER'
(Please read CFT for Z/OS operations guide for more information)