Expert Answer Center > Experts On Demand > View Answer
EMAIL THIS
Experts on Demand
  EXPERTS ON DEMAND HOME     POSE A QUESTION     VIEW ANSWERS     BROWSE BY TOPIC        RSS FEEDS  
I want to transfer an XML file from Windows NT to a z/OS. The problem is that the file on the z/OS after FTP shows one very long record. How can I see the XML file on z/OS like I see it in an XML viewer? QUESTION POSED ON: 24 FEB 2006
QUESTION ANSWERED BY: Ed Tittel By nature, XML files are plain, pure ASCII. I don't know enough about z/OS to understand what FTP did to your file, but it sounds like extra carriage returns and linefeeds or other meta characters may be introduced in the FTP process. The first thing you should try is to put the file inside some kind of compression package (ZIP, tar or whatever), then transfer that file and decompress it inside z/OS to restore it to its original form. That should bypass any errors that the FTP of the raw ASCII file may be introducing. Of course, you need to find a compression technology that you can use on the Windows side to compress and on z/OS to decompress. Again, because I don't know z/OS, I'm not a good source of information on that score. But since from what I read on Wikipedia, z/OS supports Unix APIs and applications, so finding something that can handle tar or gzip will address your issues. My colleague speculates that perhaps an ASCII-EBCDIC incompatibility issue may be at work here, so you might want to look into that if my suggestion doesn't work.

Beyond that, I'd recommend you take your problems to a z/OS expert and tell him you've got an ASCII/XML file you can't open. Somebody who understands the receiving end better than I do can probably offer more help and ideas.

HomeExperts on DemandIT Expert Webcast SeriesExpert KnowledgebaseSite Index
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts