Distributed Relational Database Architecture › CA 2E Implementation of DRDA › Steps to Implement DRDA
Steps to Implement DRDA
There are two new steps that are required to implement DRDA:
- For data modeling:
- Set a flag on a CA 2E file to indicate that it is distributed (refer to the Using Shipped DRDA Values section in this chapter).
- Set the Distributed File I/O control function option for the function to either S (CA 2E) or U (User) control. Set this option from Edit Function Options, using the Distributed File I/O Control field.
- If you specified S (CA 2E) control for the function, enter the file locations in the Distributed File Configuration Table. This entry associates the file with the name of the application server and, optionally, the collection name in which it is located, allowing a different configuration at each location on which the application is implemented.
Creation (compilation) of the program is via an extended form of CRTSQLxxx (where xxx = HLL language). Use the YGENRDB model value as the RDB in the CRTSQLxxx command.
Running CRTSQLxxx results in:
- An application program, which resides on the application requester.
- An SQL package, which resides on the application server and contains the SQL statements for accessing the AS database.