Greetings,
Using FTP, I am transferring an unloaded PDS (created with IEBCOPY) from one IBM z/OS mainframe to another IBM z/OS mainframe. After the transfer, the receiving mainframe version data format is different from the original although LRECL, BLKSIZE, and RECFM are the same. On the origin host, the file can be successfully loaded to a PDS. On the receiving host no records are loaded and the message returned is:
IEB178I NOT AN IEBCOPY UNLOADED DATA SET - 1ST PHYSICAL RECORD NOT 64 BYTES LONG
File-aid examination confirms this.
Details:
IEBCOPY flat-file: Lrecl=27936, Blksize=27940,Recfm=VS
FTP Batch exection JCL (LOGIN PDS infor has been renamed for security reasons):
//FTP EXEC PGM=FTP,PARM='-r tls (EXIT=4 TIMEOUT 600'
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD DSN=xxx.xxx.xxx(FTPLOGIN),DISP=SHR
// DD *
BIN
SITE RDW LR=27936 BLKSIZE=27940 REC=VS TR PRI=20 SEC=10
PUT 'TEST.EISQA.JCLLIB.UNLOAD'
STATUS
QUIT
I have also used ASCII instaed of BIN and without the RDW keyword, with no change in results....
Thanks for any advice you can provide....
Joe