Assuming you are using CGIDEV2 Version 2004-09-02 17:40:18   or later, CGIDEV2's HTML output buffer can grow up to about 2 terabytes.

See "Externally described HTML subprocedures - maximums" in the CGIDEV2 readme, http://www-922.ibm.com/cgidev2h/readme.htm#funcHTMLMax

I'm pretty sure that a file of that size can be written into the IFS.


Mel Rothman, CGIDEV2 Author
Mel Rothman, Inc.

itpweb1 wrote:

Amazing, I got it working in 15 minutes and got can show examples
before noon!  This stuff never ceases to amaze me.

Looks like it loads it all in memory before writing to file.
How big can a file get without blowing something up?

Also can I append to existing file?

marty

check out my latest examples and work with Blackberry
http://as400.liberty-i.net/CgiDevExt/index.html




--- In [email protected], Robert Dunn
<[EMAIL PROTECTED]> wrote:
>
> Elbert,
>
> Thanks for the tip and, more importantly, saving me
> the debugging time to figure this out for myself. 
>
> Robert Dunn
> --- Elbert Cook <[EMAIL PROTECTED]> wrote:
>
> > WrtHtmlStmf can be used with QNTC.
> >
> > However if the filename already exist WrtHtmlStmf
> > will
> > bomb because the QNTC file system doesn't support
> > the
> > LINK api used by WrtHtmlStmf.
> >
> > Change the line of code in WrtHtmlStmf to use
> > Qp0lRenameUnlink and everything works fine.
> >
> > >
> > > 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.
> >



SPONSORED LINKS
How to format a computer hard drive Cobol programmer Iseries 400
How to format a computer


YAHOO! GROUPS LINKS




Reply via email to