View Issue Details

IDProjectCategoryView StatusLast Update
0000244fileGeneralpublic2021-03-14 16:52
Reportermainframed767 Assigned Tochristos  
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Platform64OSLinuxOS VersionUbuntu 20.04
Product Version5.38 
Fixed in Version5.40 
Summary0000244: Detect NETDATA (z/OS and CMS XMI) files
DescriptionNETDATA (https://en.wikipedia.org/wiki/NETDATA) is a simple file format used to move files between mainframes, oftentimes referred to as XMI or XMIT. More information and test files here: http://planetmvs.com/unxmit/

NETDATA files are stored in EBCDIC. The first two bytes are a size and a flag, which varies, followed by 'INMR01' in ebcdic followed by IBM text unit INMLRECL whic is always the same:

00000002 c9 d5 d4 d9 f0 f1 00 42 00 01 00 01 50 10 11 00

It would be great if detection for this format could be added. At the moment it is just reported as "data".

Attached is a sample: seq.xmi
Steps To Reproduce1) Generate XMI file using TSO TRANSMIT: https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.2.0/com.ibm.zos.v2r2.ikjc500/transmi.htm
2) Transfer file to local machine
3) Run 'file' against the downloaded file
TagsNo tags attached.

Activities

mainframed767

2021-03-08 17:23

reporter  

seq.xmi (560 bytes)   
`�������BP��������������������������$���������/&\�������(�������,�<@BP0�I������������*�������,�<@BPIR�����@��@���@�����@����@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@R�KKKKNKKKK�KKKKNKKKK�KKKKNKKKK�KKKKNKKKK�KKKKNKKKK�KKKKNKKKK�KKKKNKKKK�KKKKNKKKK�R�����@��@���@���@����@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@������@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
seq.xmi (560 bytes)   

christos

2021-03-14 16:52

manager   ~0003568

Added a simple detection for now. We can get more elaborate and extract the fields if needed.

Issue History

Date Modified Username Field Change
2021-03-08 17:23 mainframed767 New Issue
2021-03-08 17:23 mainframed767 File Added: seq.xmi
2021-03-14 16:51 christos Assigned To => christos
2021-03-14 16:51 christos Status new => assigned
2021-03-14 16:52 christos Status assigned => resolved
2021-03-14 16:52 christos Resolution open => fixed
2021-03-14 16:52 christos Fixed in Version => 5.40
2021-03-14 16:52 christos Note Added: 0003568