# RXS_getBuffLen() Use this subprocedure to retrieve the length of 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()](https://isupport.katointegrations.com/rxs/2.x/RXS_initTplEng.md) API for this to work. This is most often used in conjunction with [RXS_getUri()](https://isupport.katointegrations.com/rxs/2.x/RXS_getUri.md) where RXS_getBuffData() is used to obtain the current data stored in the template engine. ## Subprocedure Prototype ### IBM i V5R4+ | Field | Description | |---|---| | ` D RXS_getBuffLen... D pr 10u 0` | Returns the length, in bytes, of the current composition engine buffer. |