General Syntax for the /print Option

The syntax lines in this section and the next section show ways to use the /print option. By default, the output is sent to the screen. To capture the output in a file, redirect it in the standard way, by adding a greater-than sign (>) to the end of the command, followed by the name of the file in which you want to capture the output.

With all the syntax lines, if the source configuration file is not in the default path — \SNAServerRoot\SYSTEM\CONFIG\COM.CFG—then for #configpath, substitute a path, preceded by #. Do not type the square brackets. After the greater-than sign (>), type the name of the command file you want to create. (For information about using the greater-than sign or other methods of redirection, see your Windows NT documentation.)

The general syntax for the /print option is:

snacfg [#configpath] [resource [location:]resourcename] /print > cmdfile.ext

For resource, substitute the second word of a snacfg command (for example, appcllu, connection, or server). For location, if needed, substitute the server or connection name that uniquely locates a resource; for resourcename, substitute the name of the resource.