Hanspe-3019 / xmitviewer

Parse, View and Extract MVS XMIT Files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

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

Using xmitviewer with ttk

You can examine the contents of xmit files with ttkgui. Run from terminal:

    python -c 'import xmitviewer;xmitviewer.Ttkgui().mainloop()'

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.

About

Parse, View and Extract MVS XMIT Files

License:GNU General Public License v3.0


Languages

Language:Python 100.0%