115 pts.
 Working with SPOOL file (WebFacing)
Good day, My company uses IBM Rational 7.5 which has webfacing built in. We are looking to convert 5250 screens to browser based. Having an issue with displaying SPOOL file in HTML. Did anyone do this? I have a spool file created in CL using CRTPRTF command. How can I display this file as HTML? Also, is there such thing as a "flat file" in iSeries? I know in OS390 we could use flat file and format it anyway you want. I used Physical file with CRTPF and in my COBOL program did WRITE SAVE-RECORD AFTER ADVANCING 1 LINE. It turns out you cannot do it for a file assigned to DATABASE. Is there alternative ? This is the error I got. "1736 MSGID: LNC1408 SEVERITY: 30 SEQNBR: 145002 Message . . . . : AFTER ADVANCING incompatible with device assigned to 'SAVE-FILE'. Phrase or statement ignored. Thank you !!!

Software/Hardware used:
ASKED: April 15, 2009  4:10 PM
UPDATED: April 16, 2009  7:11 AM

Answer Wiki:
Hi, One way could be copying the spool file to PF and then copy it to a folder on the root as an html file and link to it. There are alternate ways as well such as sharewares or third party softwares and utilites which can be used. Find link for one such utility which uses CGI to view the spool files: http://www.mcpressonline.com/tips-techniques/printing/techtip-work-with-cgi-spooled-files-wrkcgisplf.html
Last Wiki Answer Submitted:  April 16, 2009  7:11 am  by  Dreamz1974   515 pts.
All Answer Wiki Contributors:  Dreamz1974   515 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _