DEBUG :: __init__ :: XMIT File: testpdse.xmi
DEBUG :: __init__ :: XMIT File LRECL: 80
DEBUG :: read_file :: Reading file: testpdse.xmi
DEBUG :: read_file :: Total bytes: 2720
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (84)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (84)
DEBUG :: parse_xmi :: [flag 0x20] This is (part of) a control record.
DEBUG :: parse_xmi :: Record Type: INMR01
DEBUG :: text_units :: Total record Length: 76
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: 8, Value: 'NODENAME'
DEBUG :: text_units :: Key: 0x1012, Mnemonic: 'INMFUID', Type: 'character', Description: 'Origin user ID', Text Unit number: 1, length: 4, Value: 'DAVE'
DEBUG :: text_units :: Key: 0x1001, Mnemonic: 'INMTNODE', Type: 'character', Description: 'Target node name or node number', Text Unit number: 1, length: 1, Value: 'A'
DEBUG :: text_units :: Key: 0x1002, Mnemonic: 'INMTUID', Type: 'character', Description: 'Target user ID', Text Unit number: 1, length: 1, Value: 'B'
DEBUG :: text_units :: Key: 0x1024, Mnemonic: 'INMFTIME', Type: 'character', Description: 'Origin timestamp', Text Unit number: 1, length: 14, Value: '20040309032836'
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: 148
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (109)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (109)
DEBUG :: parse_xmi :: [flag 0x20] This is (part of) a control record.
DEBUG :: parse_xmi :: Record Type: INMR02
DEBUG :: text_units :: Total record Length: 97
DEBUG :: text_units :: Key: 0x1028, Mnemonic: 'INMUTILN', Type: 'character', Description: 'Name of utility program', Text Unit number: 1, length: 7, Value: 'IEBCOPY'
DEBUG :: text_units :: Key: 0x102c, Mnemonic: 'INMSIZE', Type: 'decimal', Description: 'File size in bytes', Text Unit number: 1, length: 4, Value: '37273'
DEBUG :: text_units :: Key: 0x003c, Mnemonic: 'INMDSORG', Type: 'hex', Description: 'File organization', Text Unit number: 1, length: 2, Value: 'b'\x02\x00''
DEBUG :: text_units :: Key: 0x8012, Mnemonic: 'INMTYPE', Type: 'hex', Description: 'Data set type', Text Unit number: 1, length: 1, Value: 'b'\x80''
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: '8800'
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: 0x000c, Mnemonic: 'INMDIR', Type: 'decimal', Description: 'Number of directory blocks', Text Unit number: 1, length: 3, Value: 'b'\x90\x00''
DEBUG :: text_units :: Key: 0x0002, Mnemonic: 'INMDSNAM', Type: 'character', Description: 'Name of the file', Text Unit number: 3, length: 4, Value: 'DAVE'
DEBUG :: text_units :: Key: 0x0002, Mnemonic: 'INMDSNAM', Type: 'character', Description: 'Name of the file', Text Unit number: 3, length: 4, Value: 'DAVE.TEST'
DEBUG :: text_units :: Key: 0x0002, Mnemonic: 'INMDSNAM', Type: 'character', Description: 'Name of the file', Text Unit number: 3, length: 4, Value: 'DAVE.TEST.PDSE'
DEBUG :: text_units :: Final Loc: 97
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (71)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (71)
DEBUG :: parse_xmi :: [flag 0x20] This is (part of) a control record.
DEBUG :: parse_xmi :: Record Type: INMR02
DEBUG :: text_units :: Total record Length: 59
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: '37273'
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: '32756'
DEBUG :: text_units :: Key: 0x0030, Mnemonic: 'INMBLKSZ', Type: 'decimal', Description: 'Block size', Text Unit number: 1, length: 4, Value: '3120'
DEBUG :: text_units :: Key: 0x0049, Mnemonic: 'INMRECFM', Type: 'hex', Description: 'Record format', Text Unit number: 1, length: 2, Value: 'b'H\x02''
DEBUG :: text_units :: Final Loc: 59
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: '37273'
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. (58)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (58)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (255)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (25)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (255)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (25)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (14)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (14)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (174)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (174)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (14)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (14)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (255)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (36)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (14)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (14)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (174)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (174)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (14)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (14)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (255)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (36)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (14)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (14)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (255)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (196)
DEBUG :: parse_xmi :: [flag 0x80] First segment of original record. (14)
DEBUG :: parse_xmi :: [flag 0x40] Last segment of original record. (14)
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': 'NODENAME',
'INMFTIME': '20040309032836',
'INMFUID': 'DAVE',
'INMLRECL': 80,
'INMNUMF': 1,
'INMTNODE': 'A',
'INMTUID': 'B'},
'INMR02': {1: {'INMBLKSZ': 8800,
'INMDIR': b'\x90\x00',
'INMDSNAM': 'DAVE.TEST.PDSE',
'INMDSORG': 'PO',
'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': 37273,
'INMTYPE': b'\x80',
'INMUTILN': 'IEBCOPY',
'numfile': 1},
2: {'INMBLKSZ': 3120,
'INMDSORG': 'PS',
'INMLRECL': 32756,
'INMRECFM': {'asa': False,
'blocked': False,
'fixed': False,
'machine_code': False,
'overflow': False,
'standard_or_spanned': True,
'undefined': False,
'variable': True,
'vbs': False},
'INMSIZE': 37273,
'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': 37273}}}
Β
Comments