RPG-XML Suite 3.3x Documentation

RPG-XML Suite is a collection of service programs, commands, and subprocedures that allows RPG programmers to work with XML, offer web services on the IBM i, and consume web services on remote systems.
Not a customer yet? We'd love to hear about your needs to see if we can meet them. Contact us at isupport@krengeltech.com or visit www.rpg-xml.com.

Subprocedures

Name Description
RXS_Catch() Catch an error data structure.
RXS_CloseDom() Close a DOM parsing session.
RXS_ComposeJsonArray() Add a JSON array to a parent JSON object or array.
RXS_ComposeJsonBoolean() Add a JSON boolean data element to a parent JSON object or array.
RXS_ComposeJsonNull() Add a JSON null data element to a parent JSON object or array.
RXS_ComposeJsonNumber() Add a JSON number data element to a parent JSON object or array.
RXS_ComposeJsonObject() Add a JSON object to a parent JSON object or array.
RXS_ComposeJsonString() Add a JSON string data element to a parent JSON object or array.
RXS_ComposeSection() Write an XML template section to the composition buffer.
RXS_ComposeVariable() Replace an XML template variable with a specified value.
RXS_Convert() Perform commonly-used string conversions.
RXS_CreateJson() Begin JSON composition.
RXS_Crypt() Perform commonly-used cryptography and hashing operations.
RXS_DestroyJson() Close a JSON parsing or composition session.
RXS_GetComposeBuffer() Retrieve the current XML composition engine buffer into a variable.
RXS_GetEnvVar() Retrieve an Apache environment variable or an incoming HTTP header.
RXS_GetJobCcsid() Retrieve the CCSID of the current job.
RXS_GetJsonString() Retrieve composed JSON.
RXS_GetStdIn() Read data from standard in.
RXS_GetStmf() Read a specified stream file into a variable.
RXS_GetUrlVar() Parse a URL path or querystring for a specified name/value pair.
RXS_JobLog() Write formatted messages to the job log.
RXS_OpenDom() Open a DOM parsing session.
RXS_Parse() Parse XML data.
RXS_ParseDomToDom() Create a sub-DOM session via an XPath over a DOM session.
RXS_ParseDomToText() Retrieve a text value via an XPath over a DOM session.
RXS_ParseDomToXml() Retrieve the raw XML fragment via an XPath over a DOM session.
RXS_ParseJson() Parse JSON data.
RXS_ProcessStmf() Perform commonly-used operations on a stream file.
RXS_PutEnvVar() Set or modify a job-level environment variable.
RXS_PutStdOut() Write data to standard out.
RXS_PutStmf() Write a variable to a specified stream file.
RXS_ResetDS() Initialize an RXS 3 data structure.
RXS_StartComposeEngine() Initialize the XML composition engine.
RXS_STR() Convert a parsed XML data pointer to a character variable.
RXS_Throw() Throw an error data structure.
RXS_Transmit() Transmit HTTP requests to a remote server.
RXS_Validate() Validate XML data using XSD validation.
RXS_XPath() Easily build an XPath for use in DOM parsing.