Topic "Option Transfer Binary"

Author Message
rickwenger
[View user's profile]

Joined: 2013-10-29
Posts: 2
Location: augusta
Hi, I'm downloading a file from a mainframe and referencing the Option Transfer Binary because I want the characters to stay in the same format. One of the files that gets downloaded is a control file. We run a SAS program using the control file numbers to insure that the number of records downloaded matches that of the control file. In our SAS program we reference the files downloaded with the recfm, lrecl and the encoding=ebcdic037. I am not a SAS person, more of a sql server dba, so I'm not sure where we are going wrong here with the bite translation.

Thanks in advance!
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
And what is the problem?
_________________
Martin Prikryl
angcamso

Guest


I'm using binary mode transfer to dowload big files from IBM Host, and the result has numbers in computational-3 format (two digits for byte a last half byte for sign) translated to ascii and so is wrong

What is the reason?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
angcamso wrote:
I'm using binary mode transfer to dowload big files from IBM Host, and the result has numbers in computational-3 format (two digits for byte a last half byte for sign) translated to ascii and so is wrong

And what is original format on the server?
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License