DEBUG :: __init__ :: XMIT File: seq.xmi
DEBUG :: __init__ :: XMIT File LRECL: 80
DEBUG :: read_file :: Reading file: seq.xmi
DEBUG :: read_file :: Total bytes: 560
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (96)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (96)
DEBUG :: parse_xmi :: [flag 0x20] This is (part of) a control record.
DEBUG :: parse_xmi :: Record Type: INMR01
DEBUG :: text_units :: Total record Length: 88
DEBUG :: text_units :: Key: 0x0042, Mnemonic: 'INMLRECL', Type: 'decimal', Description: 'Logical record length', Text Unit number: 1, length: 1, Value: '80'
DEBUG :: text_units :: Key: 0x1011, Mnemonic: 'INMFNODE', Type: 'character', Description: 'Origin node name or node number', Text Unit number: 1, length: 7, Value: 'FROMNOD'
DEBUG :: text_units :: Key: 0x1012, Mnemonic: 'INMFUID', Type: 'character', Description: 'Origin user ID', Text Unit number: 1, length: 7, Value: 'FROMUSR'
DEBUG :: text_units :: Key: 0x1001, Mnemonic: 'INMTNODE', Type: 'character', Description: 'Target node name or node number', Text Unit number: 1, length: 6, Value: 'TONODE'
DEBUG :: text_units :: Key: 0x1002, Mnemonic: 'INMTUID', Type: 'character', Description: 'Target user ID', Text Unit number: 1, length: 6, Value: 'TOUSER'
DEBUG :: text_units :: Key: 0x1024, Mnemonic: 'INMFTIME', Type: 'character', Description: 'Origin timestamp', Text Unit number: 1, length: 14, Value: '19990109224017'
DEBUG :: text_units :: Key: 0x102f, Mnemonic: 'INMNUMF', Type: 'decimal', Description: 'Number of files transmitted', Text Unit number: 1, length: 1, Value: '1'
DEBUG :: text_units :: Final Loc: 172
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (92)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (92)
DEBUG :: parse_xmi :: [flag 0x20] This is (part of) a control record.
DEBUG :: parse_xmi :: Record Type: INMR02
DEBUG :: text_units :: Total record Length: 80
DEBUG :: text_units :: Key: 0x1028, Mnemonic: 'INMUTILN', Type: 'character', Description: 'Name of utility program', Text Unit number: 1, length: 7, Value: 'INMCOPY'
DEBUG :: text_units :: Key: 0x102c, Mnemonic: 'INMSIZE', Type: 'decimal', Description: 'File size in bytes', Text Unit number: 1, length: 4, Value: '58786'
DEBUG :: text_units :: Key: 0x003c, Mnemonic: 'INMDSORG', Type: 'hex', Description: 'File organization', Text Unit number: 1, length: 2, Value: 'b'@\x00''
DEBUG :: text_units :: Key: 0x0042, Mnemonic: 'INMLRECL', Type: 'decimal', Description: 'Logical record length', Text Unit number: 1, length: 4, Value: '80'
DEBUG :: text_units :: Key: 0x0030, Mnemonic: 'INMBLKSZ', Type: 'decimal', Description: 'Block size', Text Unit number: 1, length: 4, Value: '6320'
DEBUG :: text_units :: Key: 0x0049, Mnemonic: 'INMRECFM', Type: 'hex', Description: 'Record format', Text Unit number: 1, length: 2, Value: 'b'\x90\x00''
DEBUG :: text_units :: Key: 0x0002, Mnemonic: 'INMDSNAM', Type: 'character', Description: 'Name of the file', Text Unit number: 3, length: 7, Value: 'FROMUSR'
DEBUG :: text_units :: Key: 0x0002, Mnemonic: 'INMDSNAM', Type: 'character', Description: 'Name of the file', Text Unit number: 3, length: 1, Value: 'FROMUSR.A'
DEBUG :: text_units :: Key: 0x0002, Mnemonic: 'INMDSNAM', Type: 'character', Description: 'Name of the file', Text Unit number: 3, length: 3, Value: 'FROMUSR.A.SEQ'
DEBUG :: text_units :: Final Loc: 80
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (42)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (42)
DEBUG :: parse_xmi :: [flag 0x20] This is (part of) a control record.
DEBUG :: parse_xmi :: Record Type: INMR03
DEBUG :: text_units :: Total record Length: 34
DEBUG :: text_units :: Key: 0x102c, Mnemonic: 'INMSIZE', Type: 'decimal', Description: 'File size in bytes', Text Unit number: 1, length: 4, Value: '58786'
DEBUG :: text_units :: Key: 0x003c, Mnemonic: 'INMDSORG', Type: 'hex', Description: 'File organization', Text Unit number: 1, length: 2, Value: 'b'@\x00''
DEBUG :: text_units :: Key: 0x0042, Mnemonic: 'INMLRECL', Type: 'decimal', Description: 'Logical record length', Text Unit number: 1, length: 2, Value: '80'
DEBUG :: text_units :: Key: 0x0049, Mnemonic: 'INMRECFM', Type: 'hex', Description: 'Record format', Text Unit number: 1, length: 2, Value: 'b'\x00\x01''
DEBUG :: text_units :: Final Loc: 34
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (82)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (82)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (82)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (82)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (82)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (82)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (8)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (8)
DEBUG :: parse_xmi :: [flag 0x20] This is (part of) a control record.
DEBUG :: parse_xmi :: Record Type: INMR06
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (64)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (64)
../recv.py
{'INMR01': {'INMFNODE': 'FROMNOD',
'INMFTIME': '19990109224017',
'INMFUID': 'FROMUSR',
'INMLRECL': 80,
'INMNUMF': 1,
'INMTNODE': 'TONODE',
'INMTUID': 'TOUSER'},
'INMR02': {1: {'INMBLKSZ': 6320,
'INMDSNAM': 'FROMUSR.A.SEQ',
'INMDSORG': 'PS',
'INMLRECL': 80,
'INMRECFM': {'asa': False,
'blocked': True,
'fixed': True,
'machine_code': False,
'overflow': False,
'standard_or_spanned': False,
'undefined': False,
'variable': False,
'vbs': False},
'INMSIZE': 58786,
'INMUTILN': 'INMCOPY',
'numfile': 1}},
'INMR03': {1: {'INMDSORG': 'PS',
'INMLRECL': 80,
'INMRECFM': {'asa': False,
'blocked': False,
'fixed': False,
'machine_code': False,
'overflow': False,
'standard_or_spanned': False,
'undefined': False,
'variable': False,
'vbs': True},
'INMSIZE': 58786}}}
Comments