SCLM services issue two types of messages:
- FLMMSGS
- SCLM uses the ddname FLMMSGS for special services messages such
as a completion status or return code message, and for error messages
associated with the specified service parameters. These messages are
usually routed to the default output device, such as your terminal.
In order to suppress or re-route these messages, allocate the FLMMSGS
ddname before invoking the SCLM service.
- Service Specific Messages
- Many of the services have parameters for handling messages.
There are three types of message parameters:
- msg_line
- Services that only write one message have a
msg_line parameter. Define a program variable
that is 80 characters to hold the contents of this message line.
This parameter only applies to services called through the FLMLNK
interface.
- $msg_array
- Some services that can produce more than one message have a
$msg_array parameter. Define program storage
as described in DDNAME parameters to store the service messages.
The $msg_array is available only from services invoked through the
FLMLNK interface.
- ddname
- Many of the services offer a ddname
parameter which you can allocate to a file that stores the messages.
Information for allocating the ddname is included in the description
for each applicable service. If you leave the ddname parameter blank,
the messages go to the default output device, for example, your
terminal.