[xquery-talk] XQuery Platform Support

Steven Smith reldev at aol.com
Tue Oct 21 12:59:21 PDT 2003


Minimally, you could call a Java program from COBOL by going through an 
intermediate layer written in C that leverages JNI to talk to Java.

Michael Kay wrote on 10/21/2003, 11:55 AM:

 > > What would be my options on the mainframe side for
 > > 1) converting a COBOL copybook type feed to a XML feed
 >
 > Well, you need to parse the COBOL. This means you need a language that's
 > reasonably good at regular expression handling. Perl and Python are
 > common choices; XSLT 2.0 has good capabilities in this area, but XSLT
 > 1.0 and XQuery 1.0 aren't really suitable. I've no idea what's available
 > on IBM mainframes.
 >
 > > 2) what type of program could execute an XQuery expression on
 > > the mainframe ... Java ?  Can a COBOL program invoke a Java program ?
 >
 > Many XQuery processors that run on the mainframe are likely to be Java
 > programs. Java does offer cross-language support, but the question of
 > how to call Java from COBOL on an IBM mainframe is just a little bit
 > off-centre for this list!
 >
 > Michael Kay
 >
 > _______________________________________________
 > talk at xquery.com
 > http://www.x-query.com/mailman/listinfo/talk
 >




More information about the talk mailing list