CDO$HELP.HLB  —  CDO Commands, @ At Sign, Examples
    1.$ DEFINE CDO$INIT SYS$LOGIN:CDO$INIT.CDO
      $ SET VERIFY
      $ SET DEFAULT USER$DISK:[BOB.DICT]
      $ SHOW DEFAULT
      CDO> DIRECTORY

      In this example, the CDO$INIT.CDO initialization file sets
      your default repository directory. Oracle CDD/Repository
      automatically executes the initialization file when you invoke
      CDO from the OpenVMS directory that contains it.

    2.CDO>  @START
      CDO> SET DEFAULT USER$DISK:[BOB.DICT]
      CDO> DIRECTORY
      Directory USER$DISK:[BOB.DICT]
      CDDPLUS                          DIRECTORY
      CDO>

      The START.CDO command procedure in this example places you
      in the [BOB.DICT] directory, then lists the definitions
      in that directory. The SET VERIFY command in the previous
      example instructs CDO to display each subsequent command on
      the terminal screen before execution.

    3.CDO> @EMPLOYEES.PROCEDURE

      In this example, the @ (at sign) command executes the CDO
      commands in the EMPLOYEES.PROCEDURE command procedure.

    4.CDO>  @CDDNODE::SYS$DISK:[SMITH.REP]CHANGE.PROCEDURE

      In this example, the file specification incorporates a fully
      qualified path name and a user-supplied file type. The @ (at
      sign) command executes the CHANGE.PROCEDURE file.

    5.CDO> @START

      In this example, the file specification incorporates a file
      name and the default file type (.CDO). The @ (at sign) command
      executes the START.CDO file.

    6.$ DEFINE CDO$INIT SYS$LOGIN:CDO$INIT.CDO
      $ TYPE SYS$LOGIN:CDO$INIT.CDO
      $ SET VERIFY
      $ SET DEFAULT device:[CDDPLUS]MYDIR
      $ SHOW DEFAULT
      $ REPOSITORY OPERATOR

      In this example, when CDO is invoked, SYS$LOGIN:CDO$INIT.CDO is
      executed immediately before the CDO prompt is displayed.
Close Help