HP-UX SNAplus2 R7 LUA Programmer's Guide
Sample LUA Application
Testing the Application
lsample puname lunumber
In this example, luname is the name of the LU you configured for this application (or the name of the LU pool
or any LU within it).
In this example, puname is the name of the PU that owns the required LU, and lunumber is the LU number
(specified as a decimal number).
The application will display the message
LU active when it has successfully established a session to the host.
4. Enter data as you would normally do to log on and access host applications.
5. To switch between the LU session and the SSCP session, press the [ (left square bracket) key followed by
[Enter].
The application will display the message LU session or SSCP session to indicate the session you are
currently connected to. It also switches automatically when a BIND or UNBIND message is received.
6. When you have finished with host applications, follow any steps you would normally take to end the applications
and log off.
7. To terminate the application, press the ] (right square bracket) key followed by
[Enter].
The application will display the message Closedown followed by Terminated to indicate that it has ended
the session with the host. There may also be a “Read failed” message, with return codes that indicate that an
outstanding RUI_READ verb was canceled by the RUI_TERM verb.
153