Previous Topic: Special Case - hcoNext Topic: Return Code Examples


Special Case - hexecp

Hexecp enables the invocation of remote programs. It can be run either in synchronous mode or asynchronous mode. The remote program may or may not return a return code. The return codes are modified as follows:

Asynchronous Mode

0 indicates the remote program was found and invoked. 1, 3, and 4 are returned as in the common cases.

Synchronous Mode

If the remote program is found and invoked then its return code is returned as the hexecp return code.

1, 3, and 4 are returned as in the common cases if the remote program is not invoked.

2 is returned if the remote program is invoked but does not return a code of its own.