KB Article #65688

How to send a files set or of file members set using CFT for OS/400

Problem

-- set of file
-- set of members
How to send a files set or of file members set


Resolution

Exemples
Case 1 : use a file generic name



3  files with  prefix 'TA' :                                                              
     TA1         *FILE       PF-DTA                            
     TA2         *FILE       PF-DTA                            
     TA3         *FILE       PF-DTA              



Execute : SEND PART=PARTn , IDF=IDFy , FNAME=£CFT241/TA*



Case 2 : use a file containing a list of  files / members of file
This method must be used for file members  



" List " file : FILLST includes a list of members of file MULMBRFIL  
Content of file CFT241/FILLIST (length =33) :  
CFT241/MULMBRFIL(MBR01)  
CFT241/MULMBRFIL(MBR02)  
CFT241/MULMBRFIL(MBR03)  



Execute : SEND PART=PARTn , IDF=IDFy , FNAME=£CFT241/FILLIST

   
Attention!
Execute : SEND PART=PARTn,IDF=IDFy, FNAME=£CFT241/MULMBRFIL(*) => KO
(-> send n times the same file) .