Because of the ability to forward large blocks of text as RPC parameters, it is now possible for CIS to interact with IBM mainframes using XJS/390. XJS/390 scripts (Javascript-like syntax) can be stored within Adaptive Server Enterprise tables (or files accessible via proxy tables), and forwarded to the mainframe using an RPC. The syntax of the script is analyzed and executed by XJS/390 facilities, and result sets are generated according to the procedural logic of the script.
In this way, several new features are enabled:
It is now possible for database events within Adaptive Server Enterprise to result in the generation of an MQ Series message. Since XJS/390 Mscript supports the generation of messages, an RPC can be sent to the mainframe to request that such a message be generated in response to a triggered event within the database. This can be thought of as SEEB-like functionality, without the use of Replication Server.
CIS users now have access to VSAM, IMS and MQ Series data without the need to install third party middleware such as InfoHub.
Note that version 2.0 or later of XJS/390 is required for handling scripts as RPC parameters. Please refer to the XJS/390 specification for details.