First, I'm not in the TCP-L group.  Second this is a general question regarding 
the behavior  of the z/OS
FTP client. Third, I do not read every IBM manual cover to cover and commit to 
memory.  In this case,
I should have done number three.

We are running z/OS 1.13.  Executing the FTP client via a batch job, as shown 
below.
What results would you expect if XYZFILE1 were empty (SMS managed data sets, so 
we would have a valid EOF),
and the remaining data sets were not?

0 bytes were transferred because the first data set in the concatenation was 
empty.  Googling this example, yielded,

Restrictions:
      .
      .
To prevent transferring data from an empty file, FTP checks whether the first 
file in a concatenation series is empty and allocates an empty data set. No 
data is transferred.




//STEPXYZ EXEC PGM=FTP,PARM='(EXIT=12'                                
//SYSTSPRT DD SYSOUT=*                                                
//SYSPRINT DD SYSOUT=*                                                
//SYSIN    DD *                                                       
    xxx.xxx.xxx.xxx                                                       
    xyz                                                         
    xyzpass                                                            
    cd xyz                       
    put //dd:input  test_data.txt    
    quit                                                              
//SYSTCPD  DD DSN=USER.TCPPARMS(TCPDATA1),DISP=SHR                    
//INPUT DD DSN=XYZFILE1,DISP=SHR                
//         DD DSN=XYZFILE2,DISP=SHR                
//         DD DSN=XYZFILE3,DISP=SHR                
//         DD DSN=XYZFILE4,DISP=SHR



_____________________________________________________________
Netscape.  Just the Net You Need.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to