one other thing...could it be that CGIDEV2 is smart enough not to look at
<!-- --> as section headers? after all the <!-- and --> are valid HTML
tags for comments...
Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
08/25/2008 01:36 PM
Florin Todor - YYZ Concord wrote:
WrtSection: Section HEADERPO not found.
WrtSection: Section DETAILPO not found.
WrtSection: Section END not found.
Hmmm... we know a little more, now. We know that it's unable to find
Interestingly, there's no error for the 'top' section -- yet, your code
clearly shows you writing the 'top' section. You say that your output
file is blank -- how would that be if you're writing the 'top' section
Do you use ClrHtmlBuf() at all, that it might be wiping out that 'top'
section before populating the IFS file?
You aren't calling GetHtml or GetHtmlIfs again after the initial time,
Do you do anything between the wrtsection('top') and the
Are there any special characters on the line before or after the <!--
$HeaderPo$ --> that might cause it to fail?