If you use XMIT on MVS it compresses into a RECFM FB 80 file and then you use Bin FTP to transfer the file around. The handy thing with this is that when you transfer to the other MVS system you then use RECEIVE and give it and output dataset and it will create the dataset based on the original dataset attributes (so you don't need to pre-define).
I've usually found TERSE needs you to know the output dataset attributes. Xmitmanager on windows works well, but I don't think it is maintained anymore. I thought VM used XMIT when you sent files via RSCS to and MVS machine, but it has been a while since I have used that. Let me know if you need JCL examples for XMIT and RECEIVE. They are TSO commands, but can be run as a batch TSO. Regards, Tony ----- Original Message ---- From: Rob van der Heij <[email protected]> To: [email protected] Sent: Tue, 21 December, 2010 7:51:43 PM Subject: Copyfile with PACK on MVS ? Friends, When a RECFM V file is transferred through download/upload with a PC, we need to protect the record layout. And when it's non-text you can't stick CRLF between the lines. On VM we normally have people use the PACK option of COPYFILE, which puts enough info in the file to restore the structure. What do people do on MVS? I thought a simple IEBGENER to convert to VB or whatever would do, but that does not seem to be common practice... does TERSE maybe put stuff in to retain the record structure? And does our DETERSE recover that? Thanks, Rob
