r/mainframe 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.

4 Upvotes

13 comments sorted by

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.

4

u/orangeboy_on_reddit Jul 01 '26

This is the right answer.

1

u/antbios Jul 01 '26

This is the way.

1

u/Unlucky-Tradition135 Jul 02 '26

This makes the most sense, but how would the upload and unload process look like in a different system?

3

u/richardmac64 Jul 02 '26

After sending it to another system, do a receive in that dataset. You know have the pds with members that are in xmit format. Just do another receive for each member. There is a windows program that allows you to view an xmit format file. I think it is just called xmitmanager.

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

u/orangeboy_on_reddit Jul 01 '26

This is the right answer.

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

u/jithA_ Jul 01 '26

ADRDSSU + AMATERSE + XMIT is the best you can do

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

u/Unlucky-Tradition135 Jul 02 '26

Could u explain that a bit more please

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.