/xmitviewer

Parse, View and Extract MVS XMIT Files

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

xmitviewer

Parse, View and Extract MVS XMIT Files

Prereqs

  1. You know what xmit file means, check TSO Transmitting data sets.
  2. One or more xmit files, you can download a few on ctbtape.org
  3. Python3 and pip to install the xmitviewer package with
     pip install -e . 

Using xmitviewer

From the python shell

import xmitviewer
pds = xmitviewer.Xmitfile(<pth>).get_pds()
# explore the pds
# ...
# or
pds.export_all()

Extract all Members

python -m xmitviewer -e <path to xmit-file>

Using xmitviewer with ttk

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. Display of directory 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): Display of member 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.