I'm using the XMIT command to archive a dataset. But I can't choose the volume of the xmit file. The dataset I'm archiving is on a specific volume and I want the xmit archive on the same volume but there is no such option to acheive that.
I use this command on z/OS UNIX:
/bin/tsocmd "XMIT N1.USER DA('"DATASET.TO.ARCHIVE"') OUTDATASET('"DATASET.TO.ARCHIVE.XMIT"') NOLOG"