Tim,

First you will need to add Line Feeds to the end of line,  This can be done
a number of ways,  One is to save the file with them also you can use FTP to
add them. 

Regards, 
Herman Stocker 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf
Of Tim Brown
Sent: Wednesday, November 04, 2009 2:11 PM
To: IBM-MAIN@bama.ua.edu
Subject: xml filess to sequential


 
Can an xml file be transferred to the mainframe and still look like an xml
file in TSO ?

Whatever I transfer the file it gets wrapped.

<?xml version="1.0" standalone="yes"?>  <DATAPACKET
Version="2.0"><METADATA><FIELDS><FIELD attrname= "LOCN_ID"
fieldtype="i4"/><FIELD attrname="SERIAL_NUM" fieldtype="string"
WIDTH="12"/><FIELD attrnam e="POSITION" fieldtype="i2"/>

Would like this

<?xml version="1.0" standalone="yes"?>
 <DATAPACKET Version="2.0">
   <METADATA>
    <FIELDS>
       <FIELD attrname="SERIAL_NUM" fieldtype="string" WIDTH="12"/>

Tim Brown
Systems Specialist - Project Leader
Central Hudson Gas & Electric
284 South Ave
Poughkeepsie, NY 12601
Email: tbr...@cenhud.com <mailto:tbr...@cenhud.com>
Phone: 845-486-5643
Fax: 845-486-5921
Cell: 845-235-4255 


This message contains confidential information and is only for the intended
recipient.  If the reader of this message is not the intended recipient, or
an employee or agent responsible for delivering this message to the intended
recipient, please notify the sender immediately by replying to this note and
deleting all copies and attachments.  Thank you. 

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

- --


The sender believes that this E-mail and any attachments were free of any
virus, worm, Trojan horse, and/or malicious code when sent. This message and
its attachments could have been infected during transmission. By reading the
message and opening any attachments, the recipient accepts full
responsibility for taking protective and remedial action about viruses and
other defects. The sender's employer is not liable for any loss or damage
arising in any way from this message or its attachments.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to