Initializing help system before first use

# Mosel instances management

The XPRDconnect function starts a Mosel instance and returns a XPRDmosel object. The method used to create this instance depends on a connection string that is interpreted in a similar way as with the connect function of the mmjobs Mosel module: three I/O drivers can be used to launch a Mosel instance. The first one, "rcmd:", executes a command in a separate process—typically this will be directly mosel or a special command to start Mosel on a remote host (e.g. the command ssh). The second driver, "xsrv:", requires the xprmsrv Mosel remote launcher to run on the target machine: the connection is established with such a server through a TCP link. The last driver, "xssh:", is similar to the previous one but establishes the connection to the server through a secure SSH tunnel. The handling of the tunnel is achieved by a separate process: by default, the xprmsrv program is used but optionally another SSH client may be selected using XPRDsetsshcmd.

XPRDbanner | Get the connection banner of a Mosel instance.
XPRDcompmod, XPRDcompmodsec | Compile a model source file.
XPRDconnect | Create a new Mosel instance.
XPRDconnected | Check whether a Mosel instance is still connected.
XPRDdisconnect | Release a Mosel instance.
XPRDgetxprd | Get the XPRD context associated to a Mosel instance.
XPRDinstid | Get the ID of a Mosel instance.
XPRDsetdefstream | Set default input/output streams.
XPRDsysinfo | Get system information about the host running a Mosel instance.

Covered Topics

- XPRDbanner
- XPRDcompmod, XPRDcompmodsec
- XPRDconnect
- XPRDconnected
- XPRDdisconnect
- XPRDgetxprd
- XPRDinstid
- XPRDsetdefstream
- XPRDsysinfo

Parent Topic Functions of the XPRD library

© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.