& (USERID) (PASSWORD)
(IPADDR) is your IP address.
(IPGATE) is the Gateway IP address.
ication now.
* End of IBM Global Network Client Script Example
Notice that this example differs from the supplied DIALIGN connection script in
Table9 on page 121. This is because a connection script needs to contain only
sufficient text to allowAS/400 to locate and interpret the keywords and keyword
responses between the two hosts. Youmust carefully ensure that enough text
remains to maintain send/receive synchronization. The single word password and
the last partial line ication now. demonstrate this concept.
If you cannot obtain a connection dialog for the server any other way, do the
following:
1. Establish an interactive connection using a PC and copy down the dialog.
2. Use the dialog to create your client connection script.

Creating SLIP Server (Dial-In) Connection Scripts-Example

The following example is a server connection script for AS/400 toAS/400 SLIP
connections:
1. * Server connection script example
2. (PROMPT)
3. & ENTER ACCOUNT/PASSWORD==>
4. (USERID)/(PASSWORD)
5. & YOUR IPADDRESS IS (IPADDR)
6. & (WAIT)’2’
7. & YOUR GATEWAYIP ADDRESS IS (IPGATE)
8. & BEGIN TCP/IP COMMUNICATION NOW
9. * End of Server connection script example
After the modem answers and connects, AS/400 reads the connection script. Each
line in the connection script causes AS/400 to send or receive data as follows:
1. Comment line.
2. Waits for any input from the client before beginning dialog.
3. Sends the prompt for account and password.
4. Waits for the user ID and password from the client.
5. Sends the IP address to be used by the client.
6. Waits 2 seconds before proceeding.
7. Sends the IP address of the server host to the client.
8. Sends confirmation of the client-to-server connection.
9. Comment line.
Connection Script Considerations for PPP
For PPP on an AS/400, you can use connection dialog scripts to perform the
following functions:
vExchange sign-on and password information to authorize an AS/400 to connect
to a remote host or ISP
124 OS/400 TCP/IPConfiguration and Reference V4R4