Parse, View and Extract MVS XMIT Files
- You know what xmit file means, check TSO Transmitting data sets.
- One or more xmit files, you can download a few on ctbtape.org
- Python3 and pip to install the xmitviewer package with
pip install -e .
import xmitviewer
pds = xmitviewer.Xmitfile(<pth>).get_pds()
# explore the pds
# ...
# or
pds.export_all()
python -m xmitviewer -e <path to xmit-file>
You can examine the contents of xmit files with ttkgui. Run from terminal:
python -m xmitviewer
and open nice xmit file via button Choose File. Button Exp. all will export all members after choosing an output directory.
Select one of the members in the directory view. xmitviewer examines member's content to determine whether it is EBCDIC text or binary data (e.g. pdf file or xmit file): xmitviewer tries to guess a suitable code page to correctly display the content of EBCDIC text member. Export Member will export the EBCDIC text to UTF-8 file.