/sys$common/syshlp/DECNET_MIGRATE.HLB  —  CONVERT
 Convert NCP commands to the closest equivalent NCL commands.  You may
 convert either a DCL command file containing embedded NCP commands, an
 NCP command file, or a single NCP command entered at the terminal.

     CONVERT DCL_FILE command-file-name [TO new-command-file-name]
     CONVERT NCP_FILE command-file-name [TO new-command-file-name]
     CONVERT COMMAND "ncp-command-string"

 These commands are provided to help facilitate training in NCL, and will
 not provide a complete command conversion facility.

1  –  DCL_FILE

 This will convert a DCL command file containing embedded NCP commands to
 a DCL command file containing equivalent NCL commands.  Embedded NCP
 commands must be of the following form to be converted:

     $ NCP <command-line>      or      $ RUN <dev/dirs>NCP
                                       <command-line>
                                       <command-line>
                                       <command-line>
                                       $

 The conversion will generally not be complete, due to the differecnces
 between NCP and NCL.  Some additional editing will be required before
 the NCL commands may be used.

 The source NCP commands will be preserved in the target file as comment
 lines, to help provide a reference for determining how NCP commands were
 converted to NCL.

 Example:  CONVERT DCL_FILE DECNET_SETUP.COM

2  –  NCP_FILE

 This will convert a command file containing only commands to NCP to a
 command file containing equivalent commands to NCL.  Commands must be
 of the following form to be converted:

     <command-line>
     <command-line>
     <command-line>

 The commands should appear as they would if they were typed directly
 to the "NCP>" prompt.

 The conversion will generally not be complete, due to the differences
 between NCP and NCL.  Some additional editing will be required before
 the NCL commands may be used.

 The source NCP commands will be preserved in the target file as comment
 lines, to help provide a reference for determining how NCP commands were
 converted to NCL.

 Example:  CONVERT NCP_FILE CIRCUITS.COM

3  –  TO

 This optional parameter can be used to supply the name of the output file
 to create, when converting a command file.

 If this parameter is not specified, the output file will have the same name
 as the input file.

 Example:  CONVERT DCL_FILE DECNET_SETUP.COM TO DECNET_SETUP_NCL.COM

4  –  COMMAND

 This will convert a single NCP command to the equivalent NCL command.

 The resulting command will generally not be directly usable, due to the
 differences between NCP and NCL, but it will help provide a guide to
 how the NCL command should be constructed.

 The command should appear as it would if it were typed directly to
 the "NCP>" prompt.

 Example:  CONVERT COMMAND "SHOW EXEC CHARACTERISTICS"
Close Help