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

Issue in SFTP a file


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
yuvan

New User


Joined: 10 Jan 2006
Posts: 23
Location: India

PostPosted: Tue Feb 04, 2020 6:08 pm
Reply with quote

Hi ,

We have a file from Linux , when we FTP the file from Linux to mainframe . able to do it successfully .

File length 341 - An hex character at 332 X'0D'

In FTP method records are properly aligned in mainframe ,though have a hex a character.


But the same file using SFTP method , the records after 332 ,i.e from 333 moved to next record . For each record we have to records in mainframe after using the SFTP method in Linux .



Do we need settings required .
Back to top
View user's profile Send private message
sergeyken
Warnings : 2

Senior Member


Joined: 29 Apr 2008
Posts: 1030

PostPosted: Tue Feb 04, 2020 7:43 pm
Reply with quote

In BINARY transfer mode the byte X'0D' is transferred as it is.

In TEXT transfer mode the byte X'0D' is considered as "end of line", and causes new record to be created at this point.
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 -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts rexx pgm to create multiple ps file IBM Tools 7
No new posts Remove commas from specific positions... DFSORT/ICETOOL 10
No new posts IMS SEGMENT READ ISSUE IMS DB/DC 0
No new posts Uploading from desktop, a CSV file, s... DB2 2
No new posts SYNCSORT/ICETOOL JOINKEYS SORT Statem... DFSORT/ICETOOL 13
Search our Forums:

Back to Top