(WAIT) 'xx'
where xx is the delay value in seconds. This keyword works the same on both
input and output lines, and is useful for controlling the rate and timing of the
dialog.
Youdo not need to include all of the connection dialog in the connection script. For
input lines containing a keyword, it is good practice to include some text preceding
the keyword to help AS/400 system locate the expected keyword input.Also, as
previously described, it may be necessary to shorten input match text in order to
obtain a match when connecting to systems that do not send end-of-line characters
at the end of a line.

Location of Default Connection Scripts:

Youcan find the default connection
scripts contained in Table9. The members are in file QATOCPPSCR.
SLIP Connection Scripts-Examples
The connection scripts in Table9 are examples for the following:
vDialing out from AS/400 to a remote host.
vDialing in to AS/400 from a remote host.
Each member has a different purpose, stated in the comment. Each script is placed
in its own member in file QATOCPPSCRin some connection script library.
Table9. SLIP Client Connection Scripts-Examples
Client (Dial-Out) Examples Server (Dial-In) Examples
Member DIAL400 in File QATOCPPSCR
*******************************************************
* CLIENT CONNECTION SCRIPT EXAMPLE
* FOR AS/400 WITH LOGIN AND PASSWORD PROMPT
*******************************************************
& (PROMPT)
login:
& (USERID)
password:
& (PASSWORD)
* END OF CLIENT CONNECTION SCRIPT EXAMPLE
Member ANS400 in File QATOCPPSCR
*******************************************************
* SERVER CONNECTION SCRIPT EXAMPLE
* FOR AS/400 WITH LOGIN AND PASSWORD PROMPT
*******************************************************
(PROMPT)
& login:
(USERID)
& password:
(PASSWORD)
* END OF SERVER CONNECTION SCRIPT EXAMPLE
Member DIAL400I in File QATOCPPSCR
*******************************************************
* CLIENT CONNECTION SCRIPT EXAMPLE
* FOR AS/400 WITH DYNAMIC IP ADDRESS
*******************************************************
& (PROMPT)
login:
& (USERID)
password:
& (PASSWORD)
YOUR IP ADDRESS IS (IPADDR) MY IP ADDRESS IS (IPGATE)
* END OF CLIENT CONNECTION SCRIPT EXAMPLE
Member ANS400I in File QATOCPPSCR
*******************************************************
* SERVER CONNECTION SCRIPT EXAMPLE
* FOR AS/400 WITH DYNAMIC IP ADDRESS
*******************************************************
(PROMPT)
& login:
(USERID)
& password:
(PASSWORD)
& YOUR IP ADDRESS IS (IPADDR) MY IP ADDRESS IS (IPGATE)
* END OF SERVER CONNECTION SCRIPT EXAMPLE
Chapter4. Configuring Point-to-Point TCP/IP (PPP and SLIP) 121