IBM AS/400e Computer Hardware User Manual


 
(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.
You do 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:
You can find the default connection
scripts contained in Table 9. The members are in file QATOCPPSCR.
SLIP Connection Scripts-Examples
The connection scripts in Table 9 are examples for the following:
v Dialing out from AS/400 to a remote host.
v Dialing 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 QATOCPPSCR in some connection script library.
Table 9. 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
Chapter 4. Configuring Point-to-Point TCP/IP (PPP and SLIP) 121