Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Issue in SFTP a file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
yuvan

New User


Joined: 10 Jan 2006
Posts: 20
Location: India

PostPosted: Tue Feb 04, 2020 6:08 pm    Post subject: Issue in SFTP a file
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

Active Member


Joined: 29 Apr 2008
Posts: 716
Location: Maryland

PostPosted: Tue Feb 04, 2020 7:43 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add the name in the PS file and creat... dharmaraok DFSORT/ICETOOL 9 Wed Apr 01, 2020 10:43 am
No new posts Issue while fetching a column(Nullabl... VINAY PALLELA DB2 7 Tue Mar 31, 2020 9:33 pm
No new posts DFSORT Output file order query A_programmers DFSORT/ICETOOL 1 Thu Mar 26, 2020 11:59 pm
No new posts Error Creating KSDS file, REASON CODE... sandeep prajapati JCL & VSAM 8 Tue Mar 24, 2020 12:05 pm
No new posts Issue while reading a file in browse ... sivasaras TSO/ISPF 7 Sun Mar 01, 2020 12:20 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us