Page 1 of 1

Easy way to send PDS of source code to another user via inte

PostPosted: Wed May 18, 2022 4:34 pm
by mamustoe
Hi, can someone please provide an easy way to send a copy of a source code PDS to a recipient via the net? I don't wish to involve media like tape/CD/DVD, and am aware of the EBCDIC / ASCII issues. IEBCOPY could do an unload to a sequential file, but I'm concerned there are conversion issues when using internet (net) for the xfer.

Thanks in advance!

Re: Easy way to send PDS of source code to another user via

PostPosted: Wed May 18, 2022 4:52 pm
by sergeyken
One option is: using IEBPTPCH to PRINT or PUNCH the whole library in a printable full-text format, which can be easily transmitted with standard conversion EBCDIC<->ASCII.

The listing-like format from IEBPTPCH can be converted to a more acceptable format, with no page breaks, and no other unneeded lines - by using any available utility, like DFSORT/SYNCSORT or whatever else).

If your final destination were also mainframe, you could transfer the result of IEBCOPY unload in binary format as well.

Re: Easy way to send PDS of source code to another user via

PostPosted: Wed May 18, 2022 10:14 pm
by willy jensen
sergeyken raises a very important question, what platform is the recipient on?
If zos then do a TSO XMIT of the pds at the sender to create a transport dataset, and a TSO RECEIVE at the receiving end to build the target pds. The transmission out of and in to zos must of course be binary.

Re: Easy way to send PDS of source code to another user via

PostPosted: Wed May 18, 2022 10:38 pm
by mamustoe
Yes gents, platforms on both ends would be z/OS. I had forgotten about the TSO XMIT option until seeing it CBT.org site today. Assuming I used it to create a PS DSORG binary file on 1 host, are there caveats/concerns I should consider with respect as to how to FTP to the receiving end on the 2nd host? I don't know if it does, but am thinking the passage from 1 MVS host, via FTP, might Mess With/Alter the content if passing thru, for example, a PC based on ASCII. Any thoughts? Thanks

Re: Easy way to send PDS of source code to another user via

PostPosted: Wed May 18, 2022 10:42 pm
by willy jensen
as long as you use BINary for the FTP, you should be good.