Working with SPOOL file (WebFacing)
115 pts.
0
Q:
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 !!!
ASKED: Apr 15 2009  4:11 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
515 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
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 Answered: Apr 16 2009  7:11 AM GMT by Dreamz1974   515 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0