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: 782
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: 782
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 PS file parameter JCL & VSAM 4
No new posts FD Section to Create FB or Vb File Dy... COBOL Programming 1
No new posts Count Records with a crietaria in a f... DFSORT/ICETOOL 5
No new posts Creating a VB file PL/I & Assembler 10
No new posts Replace a string in a VB file and cop... DFSORT/ICETOOL 2
Search our Forums:

Back to Top