Change Pager Command using JS (CHGPGRJS)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Change Pager Command using Job Scheduler (CHGPGRJS) command allows you to specify the command to use from your paging software to send a pager message to a recipient you specify. The command you specify here is used by the ADDJOBJS, CHGJOBJS, and SBMJOBJS commands to send pages for normal and abnormal job completion respectively. The pager recipient and pager messager values you specified for the the Notification normal (PGRRCPNORM) and Notification abnormal (PGRRCPABN) parameters become the substitution values that are used in the CHGPGRJS command.

Top

Parameters

Keyword Description Choices Notes
CMD Notification command Character value, *SAME, *SNDDSTJS, *NONE Optional, Positional 1
Top

Notification command (CMD)

Specifies the command used in the specified paging software to send a message. The command you specify here is used to send pages for normal and abnormal completions of job schedule entries.

*SAME
The current value for the parameter does not change.
*NONE
You are not using a paging software package with Advanced Job Scheduler.
*SNDDSTJS
You are to use the Send Distribution using JS (SNDDSTJS) to send notification messages using e-mail to the specified recipients. The substitution variables are used but are not specified.
character-value
Specify the command to use when you want Advanced Job Scheduler to send a pager message for normal and abnormal job completion. The two substitution variables are &RCP (recipient) and &MSGTXT (message).
Top

Examples

None
Top

Error messages

Unknown
Top