IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How do I SFTP a ADRDSSU file from mainframe to mainframe


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Fred Spath

New User


Joined: 01 Mar 2022
Posts: 3
Location: USA

PostPosted: Tue Mar 01, 2022 9:40 pm
Reply with quote

Hi! I am trying to use coz SFTP to transfer an ADRDSSU file from mainframe to mainframe. When using FTP i specified the option EBCDIC to accomplish this. Is there a way to use SFTP to do this?
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Tue Mar 01, 2022 11:55 pm
Reply with quote

Try: lzopts mode=binary

This transmits the file byte for byte with no translation

Additionally, the Co:Z documentation is available for all to see.

https://dovetail.com/docs/sftp/client.html
Back to top
View user's profile Send private message
Fred Spath

New User


Joined: 01 Mar 2022
Posts: 3
Location: USA

PostPosted: Wed Mar 02, 2022 12:19 am
Reply with quote

This is what we are trying:
zopts "mode=binary,blksize=27998"
lzopts "mode=binary,blksize=27998"

We can not restore the sftp'd file.

Thanks
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Wed Mar 02, 2022 2:16 am
Reply with quote

Does the Co:z output show if your options were picked up successfully?

Did you use any of the tracing options available?

Can't help much here with the limited information provided icon_sad.gif
Back to top
View user's profile Send private message
Fred Spath

New User


Joined: 01 Mar 2022
Posts: 3
Location: USA

PostPosted: Wed Mar 02, 2022 2:29 am
Reply with quote

Thanks for the information and feedback.

What ended up working was to use DSPUT rather than PUT and the source dataset had to reside on DASD (as opposed to TAPE).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top