QUERY/V Reference Manual: HP 3000 MPE/iX Computer Systems > Appendix C ACCESSING A REMOTE DATA BASEMETHOD 3: USING A DATA-BASE-ACCESS FILE |
|
The third method uses a data-base-access file to define the remote data base. When using the DEFINE or DATA-BASE= command, you enter the name of a data-base-access file rather than a data base name. Refer to the IMAGE Reference Manual for information on creating a data-base-access file. In this method, QUERY automatically issues a REMOTE BYE and closes the DSLINE when you enter the QUERY EXIT command. Figure C-3 “Using Method 3” illustrates Method 3 using DS. The user logs on to the local system, runs QUERY and specifies a data-base-access file name with the DATA-BASE= command. The data-base-access file contains the name of a remote data base and the commands to establish a communications link and remote session to access the data base DBR that resides on the remote system. Record 1 of the data-base-access file specifies the remote system on which the data base resides and the device class of the disc (DISCA) on which it resides. Record 2 specifies the Distributed Systems (DS line) and Record 3 indicates the remote username and account name which is to be used to establish a remote session for USERL.ACCTL.
|