Message services

i5/OS™ PASE signals and ILE signals are independent, so it is not possible to directly call a handler for one signal type by raising the other type of signal.

You can use the i5/OS PASE Qp2SignalPase() API to post corresponding i5/OS PASE signals for any ILE signal that you receive. The QP2SHELL() program and the i5/OS PASE fork() function always set up handlers to map every ILE signal to a corresponding i5/OS PASE signal.

The system automatically converts any i5/OS exception message sent to the program message queue of a call running the Qp2RunPase, Qp2CallPase, or Qp2CallPase2 API to a corresponding i5/OS PASE signal. An i5/OS PASE application can therefore handle any i5/OS exception by handling the i5/OS PASE signal that the system converts it to.

i5/OS PASE provides the following runtime functions that give you direct control over i5/OS message handling:

See runtime functions for details on these functions.

i5/OS message support

i5/OS provides message support in a variety of contexts:

Related information
Qp2SignalPase()--Post an i5/OS PASE Signal
Runtime functions for use by i5/OS PASE programs
Work with active jobs (WRKACTJOB)
Work management
i5/OS PASE signal handling