Convert to MF format using MFRDW
Posted: Tue Aug 21, 2012 5:30 am
I have a z/os variable blocked file with a record consisting of a single record consisting of 01234567890 and I need to convert this to Microfocus format with a 128 byte header and a rdw for each record, keeping the file as EBCDIC in the target file. I send the file to Linux with the following command.
fromdsn -k -l mfrdw DD:IN > /iscsi_sda1/zos/bin/mfrdwcoz.txy.cvtd
I also used another utility from simotime to convert the same file to MF format, which I use it regularly and it works fine. When I compare the two file
from Dovetail and simotime, they do not match. Have I specified the fromdsn command correctly.
Here are the two files on Linux after conversion (hex mode with od -x):
Simotime conversion (correct)
0000000 3000 007c 0000 0000 3132 3038 3231 3131
0000020 3539 3333 3230 3132 3038 3231 3131 3539
0000040 3333 3230 003e 0001 0000 0000 0000 0000
0000060 0100 0000 0000 0000 7ff8 0000 0004 0000
0000100 0000 0000 0000 0000 0000 0000 0000 0100
0000120 0000 0000 0000 0000 0000 0000 0000 0000
0000140 0000 0000 0000 0000 0000 0000 5806 3e85
0000160 0000 0000 0000 0000 0000 0000 0000 0000
0000200 4000 000a f0f1 f2f3 f4f5 f6f7 f8f9 0000
0000220
fromdsn conversion (does not match above)
0000000 307e 0000 0000 0000 0000 0000 0000 0000
0000020 0000 0000 0000 0000 0000 0000 0000 0000
0000040 0000 0000 003e 0001 0000 0000 0000 0000
0000060 0100 0000 0000 0000 004c 0000 0000 0000
0000100 0000 0000 0000 0000 0000 0000 0000 0000
*
0000200 400c f0f1 f2f3 f4f5 f6f7 f8f9
fromdsn -k -l mfrdw DD:IN > /iscsi_sda1/zos/bin/mfrdwcoz.txy.cvtd
I also used another utility from simotime to convert the same file to MF format, which I use it regularly and it works fine. When I compare the two file
from Dovetail and simotime, they do not match. Have I specified the fromdsn command correctly.
Here are the two files on Linux after conversion (hex mode with od -x):
Simotime conversion (correct)
0000000 3000 007c 0000 0000 3132 3038 3231 3131
0000020 3539 3333 3230 3132 3038 3231 3131 3539
0000040 3333 3230 003e 0001 0000 0000 0000 0000
0000060 0100 0000 0000 0000 7ff8 0000 0004 0000
0000100 0000 0000 0000 0000 0000 0000 0000 0100
0000120 0000 0000 0000 0000 0000 0000 0000 0000
0000140 0000 0000 0000 0000 0000 0000 5806 3e85
0000160 0000 0000 0000 0000 0000 0000 0000 0000
0000200 4000 000a f0f1 f2f3 f4f5 f6f7 f8f9 0000
0000220
fromdsn conversion (does not match above)
0000000 307e 0000 0000 0000 0000 0000 0000 0000
0000020 0000 0000 0000 0000 0000 0000 0000 0000
0000040 0000 0000 003e 0001 0000 0000 0000 0000
0000060 0100 0000 0000 0000 004c 0000 0000 0000
0000100 0000 0000 0000 0000 0000 0000 0000 0000
*
0000200 400c f0f1 f2f3 f4f5 f6f7 f8f9