Top
Systemwalker Operation Manager  Reference Guide
FUJITSU Software

16.3.18 Error Message Acquisition API

This section explains the error message acquisition API (Mp_GetMJESerror).

Synopsis

[Windows]

#include "f3cuapi.h"
long Mp_GetMJESerror (char *errormsg)

[UNIX]

#include "mjesapi.h"
int Mp_GetMJESerror (char *errormsg)

Description

When using the APIs provided by Job Execution Control, this API obtains the error messages of errors (up to 1000 errors) that occurred recently.

You can obtain the messages of errors that occurred within the same process. You cannot obtain them from other processes.

Parameter

errormsg

Specify the address of the area to which an error message is returned.

You must reserve 256 bytes for this area.

Return Values

Return Value

Meaning

Action

0

Normal termination.

-

Caution

When the argument is pointing to an invalid address, this function ends abnormally, and no operations will be defined.