www.krengeltech.com

RXS_wrtSection

From Wiki

User Guide

Contents

Description

Call this subprocedure to write out a section (e.g. ::envelope_begin.) The most common use will be to call RXS_wrtSection after one or many calls have been made to RXS_updVar. Make sure to specify the flush parameter before your program ends to ensure all data has been processed in the buffer and sent to either standard out or an IFS stream file.

Prototype

     D RXS_wrtSection...
     D                 pr
     D  pSections                  1024a   value varying
     D  pFlush                         n   options(*nopass) value

Parameters

pSections
Specify one or many sections to write. When specifying more than one section, separate them with a space.
pFlush
Flush everything that has been written to either standard out or an IFS File. The destination will depend on what was specified on the pOutType parameter for subprocedure RXS_initTplEng. Note that if RXS_VAR was specified for pOutType on RXS_initTplEng, the flush will have no effect here. Instead when RXS_getBuffData is called *ON should be specified to flush the buffer.

Return value

None.

Notes / Examples

None.