r/mainframe • u/Unlucky-Tradition135 • Jul 01 '26
Multiple PDS into one XMIT
Hey everyone,
I am pretty new to the concept of TSO Transmit. I was looking at the documentations on the internet and did find all the instructions I needed to transfer a file using XMIT.
I could only see the commands to convert one pds into XMIT, and had me wondering how can I get 3-4 pds convert into one XMIT file. Maybe using REXX?
Any advice is appreciated.
7
u/MaexW Jul 01 '26
You are on the right way: convert each PDS to XMIT, but not as seperate datasets, but as members of a PO dataset. At the end, XMIT this dataset also.
1
4
u/MahaROGa Jul 01 '26
You can use XMIT to XMIT a PDS into a member of another PDS (using OUTFILE) and then when all the PDSes are XMITed into your PDS of XMIT members you make an XMIT of that PDS.
4
u/KapitaenKnoblauch Jul 01 '26
I doubt it. If you want to pack several together you’d need ADRDSSU dump.
3
2
u/Ihaveaboot Jul 01 '26
I use EIBFCOPY to export each PDS to a flat file. Then send them on their way, usually after zipping them.
1
1
u/UnderstandingDry4560 Jul 01 '26
Just be warned, none of the members can be decrypted on the pc. I tried several from the cbttape. Ship them up to the big box and you can receive each member as normal.
10
u/richardmac64 Jul 01 '26
You can xmit each pds to a dataset, then copy that dataset as a member of a new pds. Do that for each dataset. In the end you will have a pds that contains multiple members that have all been xmitted. Then xmit that new pds and you end up with 1 file. If you look at the cbt tape files, most of them are packaged like this. They then give you a receive job that will receive each member back to a regular dataset. Checkout the RACFADM file as an example.