File Transfer

Com-plete supports 2 methods of file up/downloading from/to PCs:


UEDIT

READ from / SAVE to Library 'PC' in UEDIT. This method (applicable to SOURCE and OBJECT files) requires ENTIRE CONNECTION to be active on the PC. SOURCE files are converted to ASCII on download and to EBCDIC on upload. Object modules are encrypted on download. These files are unusable in ASCII format but may be sent to a different site via diskette or email. On upload it is decrypted; the original file is restored. A checksum ensures data integrity.

IND$FILE (z/OS only).

This method requires IBM's file transfer program IND$FILE for TSO and corresponding support on the PC (terminal emulator). In order to make IND$FILE executable under Com-plete, proceed as follows:

Link-edit module COM$FILE (supplied in the LOAD distribution data set) with IBM's IND$FILE program for TSO. Use the following sample JOB:

//COMLINK  JOB  ...
//COMLKD PROC N=,RENT=,NCAL=NCAL                              
//LKED      EXEC   PGM=HEWL,                                                   
//  PARM='LET,&NCAL,&RENT,AMODE=24,RMODE=24'                        
//SYSPRINT DD SYSOUT=*                                                       
//COMPLIB  DD DSN=COM.LOAD,DISP=SHR                           
//LINKLIB  DD DSN=SYS1.LINKLIB,DISP=SHR                                      
//SYSUT1   DD UNIT=SYSDA,SPACE=(CYL,(1,1))                                  
//SYSLMOD  DD DSN=COM.USER.LOAD(&N),DISP=SHR                    
//SYSLIN   DD DDNAME=SYSIN                                                   
//     PEND                                                                   
//IND$FILE EXEC COMLKD,N=IND$FILE,RENT=NORENT            
 INCLUDE COMPLIB(COM$FILE)                                                   
 INCLUDE LINKLIB(IND$FILE)                                                   
 ENTRY COM$FILE
/*

Catalogue IND$FILE using ULIB, specify the options RG=80K and PV. IND$FILE may not release the thread for the duration of the file transfer, therefore it may make sense to allocate a separate thread group and a separate task group for it in order to avaoid delays for other users.

Note:
IND$FILE may be called only from the COM-PASS menu.

For details on IND$FILE usage refer to your emulator documentation (file transfer).