The pager format functionality can be used to amend the layout of messages or the subject line of escalated items. The following sections outline a simple escalation configuration to show how the pager format can be incorporated. Details of the variables that can be used are included at the end.
See below for an example of an inquiry message and note the message details:
This particular message has been configured to run an escalation procedure:
This escalation procedure will page a single user:
This escalation user has been configured to receive notifications via email, but notice the use of the Pager Format entry in this example:
This Pager Format name contains four variables to provide the system name, the message text, the message time, and the message date.
You can also add information to go inside the body of the email. In this Pager Format email body we have added the following statements:
On system &SYST the following message (&MSGID) was received on message
The message was issued at &MTIME on &MDATE.
The message was generated by job &JNBR/&JOBN/&USER.
The program issuing the message was &SPGM.
See below for an example of the email received. Note the subject line and email body contain the relevant details:
See below for how QRemote Control shows the new format in use, both on the SMS message and the email:
Format String Default
&SYST: &MSG at &MTIME on &MDATE
Pager Format String
The pager message will be formatted according to the entry made in this field.
The variables in the following table are valid within this command.
||Message file library
||Message queue library
In addition, you can specify &Vn or &Qn where "n" is a message variable from the message description.
The %SST built-in-function is also supported for &MSGDTA, &V1-26, and &Q1-26. For example, %SST(&MSGDTA 11 10) would pick out a substring from the message data.