Question

I am uploading file to mainframe and before uploading when I open it using notepad I am able to view it.

Once uploaded the administrator is complaining that he is not able to read the data in file and it appears as junk.

Is there anything else I need to do before uploading files to mainframes. I am using Chilkat component to upload the files to mainframes.

Any help greatly appreciated.

Thanks

Was it helpful?

Solution

It definitely sounds like an encoding issue. I had some files transferred from a mainframe earlier this morning that because I forgot to switch to ASCII were all rubbish.

Try switching to ASCII and transferring it, if you are using ASCII, switch to binary.

You also might check with the mainframe admin and ask him if there are any site commands you need to execute prior to sending so you set the record size and block type.

OTHER TIPS

This sounds like an encoding issue. For example, you file maybe in ASCII and your mainframe is expecting something else. Hence, junk would be displayed on the other end.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top