Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1489
  • Last Modified:

FTP Will strip all trailing blanks (continued)

During FTP from AS/400 to PC all trailing blanks are striped
(see also question http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=as400&qid=20174347)

For the most of our systems the problem is solved but one of the systems is still running V4R1 and..... that is not supporting the FTP LOCSITE command.

So if anybody have any sugestion.....

Regards,

Murphey
0
theo kouwenhoven
Asked:
theo kouwenhoven
  • 3
  • 2
  • 2
  • +2
1 Solution
 
olidelCommented:
Hi,

   I don't think that there is many solutions with OS/400 V4R1 in such a case. You will have to add an end character at the end of each record so you won't lose the trailing blanks but of course you have to write all programs accordingly. Maybe. the best solution is to upgrade this AS/400.

I know it doesn't help a lot but...

Bye.
0
 
theo kouwenhovenAuthor Commented:
Thanks Olidel,

Upgrading is unfortunately impossible. I have already thought about an extra end character, but that needs a lot of programming on both sites.

On this moment I send it to one of the other AS/400's and let it send for me but that ia an inferior solution.

Regards
0
 
P_S_PriceCommented:
Murphey,

Try CPYTOIMPF and then FTP the IMPF using Binary
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
theo kouwenhovenAuthor Commented:
CPYTIIMPF is not in V41....



0
 
P_S_PriceCommented:
You are right, sorry try CPYTOPCD
0
 
speedgunsCommented:
Have we tried issueing the Binary command in FTP prior to doing the Get or Put?
0
 
P_S_PriceCommented:
Speed guns, See the earlier question. The problem with BInary to a PC is that unless you preonvert the file to ASCII it becomes unreadable after the Put/Get hence my CPYTOPCD suggestion which does actually create an ASCII file.
0
 
speedgunsCommented:
Price,  Sorry,  I didn't follow the link to the other qustion.  
0
 
MoondancerCommented:
Help requested, reponses provided and still open today.  Please return to your open questions and update/finalize them.

EXPERTS PLEASE HELP ME DECIDE THE FAIR OUTCOME FOR THIS QUESTION, if it remains open another seven (7) days, since we will need to finalize it.

Thank you,
Moondancer - EE Moderator
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

  • 3
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now