RXS_getBuffData
From Wiki
|
| User Guide |
Contents |
Description
Use this subprocedure to retrieve the data that has buffered in the Template Engine. Note that RXS_VAR should have been specified for the pOutType parameter on the call to RXS_initTplEng API for this to work. This is most often used in conjunction with RXS_getUri and passed for the pReqData parameter.
Prototype
D RXS_getBuffData... D pr like(RXS_XmlData) D pFlushBuff n const options(*nopass) D pOffset 10u 0 const options(*nopass)
Parameters
- Return Parameter
- A 65535 VARYING field will be returned that contains the data from the template engine buffer.
- pFlushBuff
- Determine whether or not to flush the buffer after the template data is returned. This value should most often be *ON.
- pOffset
- Used to tell the template engine where to start retrieving data in the template engine buffer. Unless necessity dictates it be used do not pass this parameter (note the *NOPASS). Use RXS_getBuffLen to determine if there is more than 65535 bytes of data currently buffered in the template engine.
Return value
None.
Notes / Examples
None.
