Method 1 is the most efficient since it minimizes communications
line traffic. You can log on to your local computer, establish a
communications link, initiate a remote session, and run QUERY on
the remote system. This method is illustrated in
Figure C-1 "Using Method 1". A user whose user
name is USERL and whose account is ACCTL logs on to the local system. The user
then establishes a communications link with the remote system SYSR, known as
the parameter dsdevice in DS or envid in NS.
A REMOTE HELLO command establishes a session on the remote system with user
identification MEMBER.PAYROLL. The user runs QUERY on the remote system
accessing a data base named DBR.
Figure C-1 Using Method 1