[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: HTTPAPI - WEBFORM_SetVar not big enough
I assume that the intention is to use WEBFORM_setPtr() in case the
variables exceeds 256 bytes:
D varValue S 1024A inz
WEBFORM_setPtr(pEncoder: 'varName'
: %addr(varValue): %len(%trimR(varValue)));
or (better):
D varValue S 1024A varying inz
WEBFORM_setPtr(pEncoder: 'varName'
: %addr(varValue)+2: %len(varValue));
Thomas.
Am 16.02.2011 15:41, schrieb Gerald Magnuson:
>
> I am truncating data (formatted text box) and would like to increase
> SetVar to 1024.
>
> Has anyone done this?
>
>
> Gerald Magnuson
>
> Supervisor, System i Adminstration& Development
>
> IBM Certified Specialist, i5 Administration
>
> The Knapheide Manufacturing Company
>
> Quincy, Illinois
>
> (217) 592-5291
>
>
>
>
> -----------------------------------------------------------------------
> This is the FTPAPI mailing list. To unsubscribe, please go to:
> http://www.scottklement.com/mailman/listinfo/ftpapi
> -----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------