× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



José Luis Calvo wrote:

I test the use of  the SpooledFile object (from jt400) with a customized
WSCST  (for generate the minimun printer control characters) and with
PrintObjectPageInputStream i read  the data page to page, interpreting then
the control characters and generating an HTML page.

It was a test, but it run Ok. For complex spool files may be you need and
WSCST more complex too.

----- Original Message -----
From: "TitanRebel" <TitanRebel@xxxxxxxxxxx>
To: <java400-l@xxxxxxxxxxxx>
Sent: Thursday, February 27, 2003 8:49 PM
Subject: SCS conversion???




I found this list via Google while searching for an answer to a problem.
 I'm looking forward to reading the trafic.

I hope someone can help me, or point me in a good direction.  Two of us
have been working on an archive retrieval solution, and we have managed
to retrieve Raw SCS data from an archive.  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.

Can anyone tell me how to convert this data to a readable/viewable
format?  I've tried reading it in, and then writing it to an OUTQ using
the SpooledFileOutputStream class, but all I get is garbage.

Thanks for any help!

P.S.  Actually, it would be even better to convert the file before
writing it to the IFS, so any insite into converting the raw data via
RPG would be great also!

_______________________________________________
This is the Java Programming on and around the iSeries / AS400 (JAVA400-L)


mailing list


To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/java400-l.




_______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/java400-l or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.




Unfortunately I don't have the SCS data in a Spooled File format (in an OUTQ). It is data in a buffer of an RPG program.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.