Previous | Contents | Index |
To verify the success of the Visual Basic sample installation, bring up the Visual Basic development environment under Microsoft Windows:
To verify the successful installation of the Forced Nonblocking tutorial (from file i16_fnb.exe), bring up the Visual Basic development environment in Microsoft Windows:
ACMSDI.BAS and FORMS.BAS were installed on your system as described in Section 6.2. |
For TP Desktop Connector Version 3.1, the client services kit is separate from the TP Desktop Connector Gateway for ACMS kit. The client services files for OpenVMS are provided as a compressed saveset that you can copy from the TPware CD mounted on your desktop platform. After copying the client services software, you decompress the file and restore the saveset.
Follow these instructions to install the client services for OpenVMS:
$ create/dir [.acmsdi] |
$ set def [.acmsdi] $ copy cd:[vmsvax]vms_client.exe [] $ run vms_client.exe . . . [Return] accept the default output filename . . . $ backup vms_client.sav/save *.*/log <> |
$ set def [.acmsdi] $ copy cd:[vmsalpha]vms_client.exe [] $ run vms_client.exe . . . [Return] accept the default output filename . . . $ backup vms_client.sav/save *.*/log <> |
$ library/delete = net_decnet acmsdi$client_objlib.olb |
$ library/insert acmsdi$client_objlib.olb net_netware.obj |
$ library/insert acmsdi$client_objlib.olb net_tcpip.obj |
After these steps, you are ready to build TP Desktop Connector
applications that use NetWare or TCP/IP as a transport. Table A-1
shows the files that are added to your desktop system during the
installation of the TP Desktop Connector client services for OpenVMS.
6.3.1 Installing the Motif Sample Client for OpenVMS
To install the Motif sample files on the OpenVMS desktop system, perform the following steps:
$ create/dir [.motif_avertz] $ set def [.motif_avertz] |
$ copy cd:[vmsvax.samples]vms_avertz.exe [] <> |
$ copy cd:[vmsalpha.samples]vms_avertz.exe [] <> |
$ run vms_avertz.exe . . . [Return] accept the default output filename . . . $ backup/restore vms_avertz.sav/save *.*/log |
$ copy m_avertz.dat sys$login:m_avertz.dat |
Table A-2 lists the files that are added to your desktop system.
6.3.2 Verifying the Motif Sample Installation on OpenVMS
Compile, link, and run the source code for the sample client program to verify your capability to build applications.
To build the sample application, follow these steps:
$ MMS |
On OpenVMS Alpha systems, the makefile expects the logical ACMSDI$VMS_ALPHA to point to the directory that contains the TP Desktop Connector client library. In addition, on OpenVMS Alpha systems, the first time that the makefile tries to create the DECwindows library, the makefile fails. When this happens, rerun MMS to continue the build.<> |
> run m_avertz/nodebug |
The m_avertz application displays the menu bar of the AVERTZ Car Reservation System. If you want the sample desktop client program to communicate with the ACMS application, follow the procedures in Section 6.3.3 to set up the sample application on the ACMS system. After you set up the ACMS system, use the Session menu to sign in to the ACMS system. After you sign in, you can use the Rental menu to run the reserve task of the AVERTZ application.
The installation procedure is now complete and verified.
6.3.3 Setting Up the Avertz ACMS Sample Application on an OpenVMS System
The command procedure VR_DA_RUNTIME_SETUP.COM sets up the sample application. You need SYSPRV privilege to run the procedure. See the file ACMSDI$VR_APPLICATION_INFO.TXT in the ACMSDI$EXAMPLES_AVERTZ directory for more information on setting up the sample.
To prepare the AVERTZ sample application on a DIGITAL OpenVMS system, do the following:
$ @ACMSDI$EXAMPLES_AVERTZ:VR_DA_RUNTIME_SETUP . . . $ |
$ ACMS/START SYSTEM $ ACMS/START APPLICATION VR_DA_APPL |
The following sections provide additional information about using the
Avertz sample application on the ACMS OpenVMS system.
6.3.3.1 Using the Avertz ACMS Sample with Rdb Version 6.0 with Multi-Version
When you execute the VR_DA_RUNTIME_SETUP.COM file to set up the sample application, this command file invokes two option files, VR_READ_SERVER.OPT and VR_UPDATE_SERVER.OPT, which reference the SYS$LIBRARY:SQL$USER library. On a system with Rdb Version 6.0 with multi-version installed, the SYS$LIBRARY:SQL$USER file is not available. Instead, the version number is appended to the file name, for instance, SYS$LIBRARY:SQL$USER60.
To work around this naming mismatch problem, you can define the logical name SQL$USER to reference the appropriate library file. For example:
$ DEFINE SQL$USER SYS$LIBRARY:SQL$USER60 |
Modify the linker options files:
Replace the line
SYS$LIBRARY:SQL$USERnn.OLB/LIBRARY |
with the following:
SYS$USER/LIBRARY |
The VR_FORM.IFDL file of the Avertz ACMS sample application can not be compiled under DECforms Version 1.4. This is because the DECforms Version 1.4 IFDL parser no longer recognizes the colon symbol (:), which the VR_FORM.IFDL file uses.
To get around this problem, put double quotation marks around the text containing the ":" symbol in the VR_FORM.IFDL file.
For example, change the following:
Copy AVERTZ_CDD_FIELD:CUSTOMER_ID from Dictionary End Copy |
To look like:
Copy "AVERTZ_CDD_FIELD:CUSTOMER_ID" from Dictionary End Copy |
The VR_DA_RUNTIME_SETUP.COM command file assigns quotas for the AVERTZ_EXC, AVERTZ_UPD, and AVERTZ_READ user names that are adequate for running the VR_DA_APPL sample application. If your system already has these user names defined, the quotas for these user names might be inadequate for VR_DA_APPL. If you are using the AVERTZ sample application, delete AVERTZ_EXC, AVERTZ_UPD, and AVERTZ_READ user names before running VR_DA_RUNTIME_SETUP.COM to ensure that you get appropriate quotas for these user names.
To ensure the success of the operations in the VR_DA_RUNTIME_SETUP.COM
command procedure, run it from the system account.
6.3.3.4 Access Control List for the Avertz ACMS Sample
The VR_DA_RUNTIME_SETUP.COM procedure adds the AVERTZ application name VR_DA_APPL to the ACMS database. The command line to do so includes the ACL qualifier and assigns the ID as /ID=SYSTEM. This might fail on your system.
To ensure that the VR_DA_RUNTIME_SETUP.COM procedure works, change the
ID=SYSTEM to ID=[UIC], where UIC is that of the account SYSTEM; for
example, ID=[1,4].
6.3.3.5 Rebuilding the Avertz ACMS Sample
Executables are provided for the sample. You do not need to rebuild the sample to run it. However, a DEC/MMS description file is provided for rebuilding the sample to incorporate any changes you make to the sample.
To modify and rebuild the sample, follow these steps:
$ @ACMSDI$EXAMPLES:VR_DA_BLD_MMS |
To perform a specific activity, specify one of the parameters in Table 6-3.
Keyword | Activity |
---|---|
BLD | Run MMS to build VR_DA_APPL |
CDD | Set up the CDD dictionary and directories for VR_DA_APPL |
DB | Create the VEHICLE_RENTALS database |
The TP Desktop Connector client services and sample application files are distributed as archive (tar(1)) files on the TPware products CD. To install the client services on a DIGITAL UNIX desktop system, follow the instructions below.
Note that the instructions recommend copying the client services library to /usr/lib/libacmsdi.a, so that you can refer to it in your link command as '-lacmsdi'. You need superuser privileges to copy into the /usr/lib directory.
You can leave the TP Desktop Connector library in the client services directory. If you do, you need to use the full path to the library in your link command, instead of using the '-lacmsdi' option.
> mkdir acmsdi > cd acmsdi |
> cp e:/dunix/du_client.tar . |
acmsdi> tar xvf du_client.tar . . . |
> su # ar d libacmsdi.a net_tcpip.o # ar r libacmsdi.a net_decnet.o # ar t libacmsdi.a . . . # ar qs libacmsdi.a |
# cp libacmsdi.a /usr/lib/libacmsdi.a . . . |
# ar qs /usr/lib/libacmsdi.a |
# [Ctrl/D] > |
To install the Motif sample files on the DIGITAL UNIX system, perform the following steps:
> mkdir avertz > cd avertz |
> cp e:\dunix\du_avertz.tar . |
> tar xvf du_avertz.tar . . . |
The sample makefile and executables for Motif on DIGITAL UNIX presume a
TCP/IP transport. If you have changed the client services library to
use DECnet, you must relink the sample application before you run it.
6.4.2 Verifying the Motif Sample Installation on DIGITAL UNIX
Compile, link, and run the source code for the sample client program to verify your capability to build applications. To build the sample application, follow these steps:
> make |
> m_avertz |
The m_avertz application displays the menu bar of the AVERTZ Car Reservation System. If you want the sample desktop client program to communicate with the ACMS application, follow the procedures in Section 6.3.3 to set up the sample application on the ACMS system. After you set up the ACMS system, use the Session menu to sign in to the ACMS system. After you sign in, you can use the Rental menu to run the reserve task of the AVERTZ application.
The installation procedure is now complete and verified.
Previous | Next | Contents | Index |