Welcome !


What is TXT2XML ?

TXT2XML is a Rexx script that converts a text file to and from an XML file using a COBOL copybook as reference. Rexx is a scripting language created by IBM. COBOL is a programming language mainly used on big computers also called mainframes.

What is XML2COB ?

XML2COB is a complementary tool of TXT2XML. It generates a COBOL copybook using an XML file as template. You can use this COBOL copybook to convert XML files to and from text files with TXT2XML.

For which operating system ?

TXT2XML and XML2COB were, at the beginning, written for IBM MVS, OS/390 & Z/0S mainframe operating systems. But, thanks to Regina Rexx and Tiny Cobol, TXT2XML and XML2COB run on Windows and Linux platforms. TXT2XML and XML2COB shoud also run, but was never tested, on HP-UX, AIX, UNIX, OS/2, BeOS, AmigaOS, Epoc32, AtheOS, QNX, MacOS X, SkyOS, ...

Is it a batch (shell) script or a GUI tool ?

Both ! Starting with version 1.25, calling TXT2XML and XML2COB without any parameters will start, thanks to Thinlet, a Java GUI (Graphical User Interface). On IBM MVS, an ISPF is started if TXT2XML or XML2COB is invoked without any parameters

Pre-requisites

To run TXT2XML and XML2COB on non-mainframe platforms (i.e. Windows, Linux, ...), you have to install : See the documentation for more details.

How does it work ?

Are there any limitations in the conversion or generation process ?

Yes. See the documentation for more details. For example, REDEFINES clauses, two or more dimension arrays in COBOL copybooks and XML entities are not supported.