Working with spool files on the AS400 in Coldfusion

I wanted to put this code out here just to help anyone out who try's to get started with the IBM toolbox for Java.  This is still rather rough, but this CFC will allow you to connect to your iSeries, retrieve a filtered list of spool files, and download a spool file into ASCII or PDF format.  This is really not 'production ready' code,  but it does function in its limited capacity right now.  I am releasing this to solicit opinions or additions to this, and maybe even find other sections of the iSeries toolkit that someone else has addressed.  It would be cool to create a Riaforge project that has a rollup of CFC's that can interact with the AS400 to do anything! *Note: You  need to install the JTOpen classes into the coldfusion classpath and restart before this component will work.

Anyway, you can download the wrksplf.cfc file and check it out. Don't try and drop it into a production environment, just look and see if you can learn anything from it, and if you have something to contribute either email me at justice@cfcode.net, or comment here!

Digg StumbleUpon Facebook Technorati Fav newsvine reddit FARK Google Bookmarks