Help/Systems SEQUEL Software PowerTech Skybot Software
Help/Systems
The World's Leader in IBM iSeries Software Solutions

Using Robot/ALERT Programs to Page in Restricted State

Robot/ALERT R05M36 provides two programs, RBA018 and RBA670, to help you automate System i processing and paging in restricted state. This Help/FACTS describes these programs and provides a code sample.

Disclaimer: This Help/FACTS is intended for programmers or others with extensive programming knowledge. The generic code sample on the following page is for illustration only and is not guaranteed to work in any specific programming environment.

Program Descriptions

This topic describes the purpose and contents of these two programs.

RBA018

You use the RBA018 program to determine whether a System i server is in restricted state. This program has one parameter, p1RSUChk, described below:

Name Size Type Possible Values
p1RSUChk 1 char 0 = not in restricted state; 1 = in restricted state

RBA670

You use the RBA670 program to monitor for messages and to page during restricted state. This program is an API that sends a page while the system is in restricted state. It has one parameter, p1Input, described below:

Name Size Type Possible Values
p1Input 1000 char See the p1Input structure description below

Parameter p1Input Structure Description

Size Start Position End Position Description
2 1 2 The data structure version (always use ‘01’)
172 3 174 Pager message text
100 175 274 An array of ten, 10-character pager names
726 275 1000 Blanks (reserved for future use)

Sample Program

The following is a generic code sample using these two programs—RBA018 and RBA670.