You guys seem to be the only ones that have figured out the same problem we are having. Our solution can not have a Linux or Windows solution, but rather we need either a Java or RPG solution. So I just hope you guys can get me started.
Two of us have been working on an archive retrieval solution, and we have managed to retrieve Raw SCS data from an archive (amoung other formats). The data is read to a buffer in an RPG program. Typically, this data is written to a file on the IFS, and a Java program is then reading it and streaming it to a browser for viewing. This works great for AFP, Spooled Files, etc..., but the SCS data just gives us garbage.
I've noticed that the tn5250 has something called scs2ascii, scs2pdf, etc. So someone has figured out how to translate raw SCS data into other formats. How could we get started doing this? IBM support has not been helpful at all. In Java, I've tried reading it in and then writing it to an OUTQ using the SpooledFileOutputStream class, but all I get is garbage. My buddy has tried several API's via RPG with no success.
Is there a Java or RPG port of scs2*? If not, how would someone get started writing this conversion from scratch in Java or RPG? How big of a project would this be? Is there a better way to do this?
Thanks for any help!
_______________________________________________ This is the Linux 5250 Development Project (LINUX5250) mailing list To post a message email: [EMAIL PROTECTED] To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/linux5250 or email: [EMAIL PROTECTED] Before posting, please take a moment to review the archives at http://archive.midrange.com/linux5250.