Cobol Copybooks?

Robert C. Lyons boblyons at unidex.com
Mon Jun 7 18:54:12 BST 1999


Steven J. Owens wrote:
	"...it'd be really nifty to have a generic system to generate XML
	DTDs from the copybooks, and then parse the data into XML-tagged
	format."

Steven,

XML Convert can probably convert your legacy data into XML.
XML Convert is a Java application that converts flat files into XML. 
It uses XFlat schemas to parse and validate the flat files, and 
to produce the XML output. XFlat is an XML language for defining 
flat file schemas. XML Convert supports a wide variety of flat file formats, 
including CSV, fixed length records and fields, multiple record types, 
groups of records, nested groups, etc.

You can download XML Convert 1.0 for free at http://www.unidex.com/.

By the way, XML Convert can not convert a COBOL copybook into a DTD.

However, Metagenix (http://www.metagenix.com/) claims to have 
products that will parse cobol copy books and extract the metadata. 
I doubt that their products can convert a cobol copy book into a DTD;
however, perhaps you could write a simple script to 
convert the Metagenix output into a DTD (or into an XFlat schema :-).

Hope this helps.

Bob

------
Bob Lyons
EC Consultant
Unidex Inc.
1-732-975-9877
boblyons at unidex.com
http://www.unidex.com/


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list