Hi Marty,
The process is pretty simple and is probably
documented on Giovanni's easy400.net site.
You basically replace the *fini wrtsection:
callp wrtsection('*fini')
with:
eval rc =
WrtHtmlToStmf(%trimr(Stmf):CodePage)
where stmf would be the ifs path and file name you are
creating and codepage being specific to your system,
eg:
D CodePage s 10i 0 inz(819)
I don't beleive WrtHtmlToStmf can write files to the
QNTC file system. Probably takes a different api and
I have not had time to look at it.
Sorry about the formatting, hth.
Robert Dunn
--- itpweb1 <[EMAIL PROTECTED]> wrote:
>
> I have an existing application that extracts data,
> populates a PF in
> QTEMP, creates CSV file in QTEMP with CPYTOIMPF,
> does a CPYTOPCD
> to /QDLS then picks up and sends as mail attachment
> (MMAIL or
> SNDEMAILSP) to user.
>
> I want to improve the presentation using HTML
> instead of CSV/Excel.
>
> What is the best way to do this? I use CGIDEV2 for
> generating
> interactive pages but I have never wrote tried
> writing directly to IFS
> file in RPG.
>
> marty
>
>
>
>
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/wbFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Easy400Group/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/