This subprocedure writes the named section to the compose engine buffer.

Note: This procedure will throw an error if it has been called without the composition engine being initialized via RXS_StartComposeEngine().

Subprocedure Prototype

D RXS_ComposeSection...
D                 PR                  Extproc('RXS_ComposeSection')
D  pSection                     50A   Varying Const

The name of the section to be written to the template engine buffer.

Example Code

*-------------------------------------------------------------- * This example demonstrates calling RXS_ComposeSection() to write the template * section 'content'. This section would be defined in the XML template EXAMPLE * like so: * ::content * <element>...</element> *-------------------------------------------------------------- H DFTACTGRP(*NO) BNDDIR('RXSBND') ACTGRP(*CALLER) /copy QRPGLECPY,RXSCB /copy QRPGLETPL,EXAMPLE /free RXS_ComposeSection( content ); *INLR = *ON; /end-free