You could use the IGGCSI00 Java wrapper that is already in the z/OS Java SDK:
http://www-01.ibm.com/support/knowledgecenter/api/content/SSYKE2_8.0.0/com.ibm.java.zsecurity.api.80.doc/com.ibm.jzos/com/ibm/jzos/CatalogSearch.html It allows full access to IGGCSI00 functionality. Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, Jul 17, 2015 at 10:14 AM, John McKown <john.archie.mck...@gmail.com> wrote: > On Fri, Jul 17, 2015 at 9:54 AM, Kirk Wolf <k...@dovetail.com> wrote: > > > Would be very cool to have a tool that called IGGCSI00 with parameters > > like: > > > > - dsn and/or catalog filter > > - list of fields to emit > > - output format (JSON, pipe-delimited, XML) > > ( IMO pipe-delimited would be the most useful for piping into awk ) > > > > Its pretty easy to call IGGCSI00 from C / C++ / Metal C if you like that > > sort of thing. > > > > I've written a very simple C program which uses IGGCSI00. My language > options (in no particular order) are: > > HLASM - difficult to program in, but fairly performant, most shops have > HLASM. > REXX - interface is a bit difficult (to me), not very performant, beloved > of my manager. > C - fairly easy to program in, performant, getting more popular on z/OS?, > PL/I - my first love, I think it's still performant, not popular at all as > best as I can tell. > COBOL - beloved of business programmers, middle performance, wordy. > FORTRAN - the less said the better. > Java - an interesting idea, performant on an zAAP, "write everywhere, run > nowhere" according to the critics. > > I'll most likely go with C. I'm a mid-level programmer in it, and I can use > my Linux tools for editing and syntax checking. C++ would be interesting > if I were going to distribute a IGGCSI00 "class" for other C++ programmers > to use. But I'm not really very good with C++, no experience at all. > > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN