× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I'm trying code a COBOL program that generates an XML
file.

The COBOL program WRITEs to a physical file or source
file member, then I transfer the file to a PC text
file.  I've used the Client Access Express transfer
function, the copy to stream file (CPYTOSTMF) command
and the copy to PC document (CPYTOPCD) command.  In
each case, an end-of-file label is added to the text
file. The end-of-file label makes the XML file
ill-formed. (Deleting the end-of-file label with a
text editor makes the XML file well-formed.)

Can I WRITE directly to a PC text file from COBOL400?
Or can I set up a translation table that does not add
an end-of-file label to the PC text file?

Thanks for any insights.

Kelly

__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.