TSO / MVS上传问题 [英] TSO/MVS Uploading problem
问题描述
我将Windows操作系统上的ebcdic文件(从ascii转换而来)上传到Mainframe。我的问题是,当我上传后检查文件时,我看到很多新的线条。
当我试图用十六进制转储来检查它时,我发现当大型机看到一个x'15'时,它将它转换为一个换行符。在文件中打包小数,所以十六进制可以包含让我说一个x'001500001c',但是当我上传它时,大型机误认为它是一个新行。任何人都可以帮我解决这个问题吗?
I'm uploading an ebcdic file(converted from ascii) from Windows OS to Mainframe. My problem is that when I checked the file after uploading it, I see alot of new lines. When I tried to check it with its hex dump I discovered that when mainframe sees a x'15' it translates it into a newline. In the file there are packed decimals so the hex could contain let say a x'001500001c' but when I upload it, mainframe mistook it as a new line. Can anyone help me with this problem?
推荐答案
你应该把你的FTP客户端)到二进制(图像类型)模式,而不是ascii / EBCDIC,如果你发送的文件已经在EBCDIC我相信。
You should put your FTP client (or library if the upload is done by your code) into binary (IMAGE TYPE) mode instead of ascii/EBCDIC if you are sending a file already in EBCDIC i believe.
这篇关于TSO / MVS上传问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!