Enters the definition of a DEC DATATRIEVE port in the specified or implied directory of the Oracle CDD/Repository data dictionary system and creates an access control list (ACL) for the port. Format DEFINE PORT path-name [USING] record-name ;
1 – Arguments
path-name Is the given name, full dictionary path name, or relative dictionary path name of the port being defined. The path name cannot resolve to the full dictionary path name of any other object or directory in the data dictionary system. DEFINE PORT will accept both DMU and CDO style path names. record-name Is the given name, full dictionary path name, or relative dictionary path name of the record definition to be associated with the port. The dictionary path name of the record cannot resolve to the full dictionary path name of any other object or directory in the data dictionary system. DEFINE PORT will accept both DMU and CDO style path names. ; (semicolon) Ends the port definition.
2 – Example
The following example defines a port for transferring records between the YACHTS domain and an application program: DTR> DEFINE PORT YPORT USING CDD$TOP.DTR$LIB.DEMO.YACHT; DTR>