Using an IBM Internal Modem with Robot/ALERT
Before You Begin
This Help/FACTS describes how to set up an IBM internal modem to work with Robot/ALERT. Before you set up an internal modem in Robot/ALERT, you must determine the resource name associated with the communication port type you will be using. You will use this resource name, CMNxx, in Step 4 of the Setting Up The Modem procedure that follows.
To determine the resource name for the communication port, enter the following command from an iSeries command line:
WRKHDWRSC *CMN
Checking Your IOP Configuration
In V5R3, IBM moved to non-IOP cards (called IOP-less) for the Model 2993 and 2771 internal modems. To determine if your modem has an IOP, execute the WRKHDWRSC *CMN command and check if your modem—2793 or 2771—is listed under an IOP on the Work with Communication Resources panel. If there is no IOP, you have an IOP-less configuration.
- If the 2793 or 2771 is not listed under an IOP (IOP-less configuration):
- You can only use port 0 and port 1 for asynchronous point-to-point protocol (PPP) communication.
- Asynchronous non-PPP dial-up communication will not work on either port in an IOP-less configuration.
- If the 2793 or 2771 is listed under an IOP (IOP configuration):
- You can use port 0 for asynchronous PPP communication.
- You can use port 1 for asynchronous non-PPP dial-up communication.
Setting Up the Modem
Use the following procedure to set up your internal modem with Robot/ALERT:
- In Robot/ALERT, create a new modem-type communication job by selecting option 6, System Setup Menu, option 2, Maintain Communication Jobs, and pressing function key 6.
- From the Maintain Communication Jobs panel, enter option 2 to hold the new communication job.
- From a command prompt, use the following command to verify that the new line description (RBALxx) is varied off.]
- Delete the line description (RBALxx) and re-create it using the following command:
- Use the following command to verify that the controller (RBACxx) is varied off.
- Use the following command to point the controller to the re-created communication line:
- From the Maintain Communication Jobs panel, enter option 3 to release the new communication job.
When you create this job, Robot/ALERT creates a line (RBALxx), a controller (RBACxx), and a device (RBADxx). Please note their actual names.
WRKCFGSTS CFGTYPE(*LIN) CFGD(RBALxx)
CRTLINASC LIND(RBALxx) RSRCNAME(CMNxx) ONLINE(*NO) INTERFACE(*INTMODEM) CNN(*SWTPP) VRYWAIT(60) SWTCNN(*DIAL) AUTOANS(*NO) AUTODIAL(*YES) DIALCMD(*OTHER) INACTTMR(*NOMAX) TEXT(‘ALERTLINE’) AUT(*ALL)
Note: You may be able to cut and paste this command into your online session.
WRKCFGSTS CFGTYPE(*CTL) CFGD(RBACxx)
CHGCTLASC CTLD(RBACxx) SWTLINLST(RBALxx)
Modem Compatibility Considerations
Some internal modems start at a faster transmission speed. Because your vendor may be using a slower modem, it can take time to determine the correct speed to use to communicate with your vendor’s modem. In addition, some slower modems cannot handle the error correction feature that is used as a default by some internal modems.
If it is taking too long (more than 40 seconds) to connect to your vendor, do the following:
- Use the following command to end the communication job (RBACxxM):
- Display the communication job setup in Robot/ALERT by selecting option 6, System Setup Menu, option 2, Maintain Communication Jobs, and option 1 to select the communication job’s setup.
- Enter the following in the Modem Initialization String field on the Communication Job panel:
- Answer YES to the Start Communication Job prompt and send a test page.
WRKACTJOB SBS(RBTSLEEPER)
ATS37=6-C0\N0
where: S37=6 starts the modem at a slower speed; C0 turns off the data calling tone; N0 turns off the error correction feature




