att_clnt

Attache user-level commands (command-line interface)

APPLICABILITY


Product

Command Type

Attache


command


Platform

UNIX


Windows

SYNOPSIS

att_clnt [ -exit ] { {checkin | ci} [ -c·omment comment | -nc·omment ] pname...

{checkout | co} [ -c·omment comment | -nc·omment ] pname...
{uncheckout | unco} pname...
import [ -ci ] [ -c·omment comment | -nc·omment ] pname...
[ exec ] command [ arguments ...] }

DESCRIPTION

A command-line interface that makes it possible to execute any Attache command and any cleartool command supported by Attache (except lsvtree -graphical) from a command shell or from scripts. For a list of Attache commands, see the attache_command_line_interface reference page.

att_clnt.exe is a Windows program, and can be run from a DOS command line in Windows NT or Windows 95. It cannot be executed from a command line in Windows 3.x, but it can be invoked from another program.

NOTE: Do not use att_clnt scripts on Windows 95. The DOS shell in Windows 95 does not wait for a Windows program to complete. Once the program starts, another command can be executed. Therefore, a script file containing several att_clnt commands in sequence will run in parallel, rather than one at a time.

USAGE OVERVIEW

There are four commands specially recognized by att_clnt: checkin, checkout, uncheckout, and import. For each of these commands, att_clnt displays a special dialog box. In addition, for import, att_clnt excludes intermediate build files produced by Visual C++.

Using the exec argument passes the arguments following it to the Attache command interpreter with no special treatment. Therefore,

att_clnt exec checkin

is not the same as

att_clnt checkin

OPTIONS AND ARGUMENTS

EXITING THE ATTACHE INTEGRATION CLIENTDefault: att_clnt does not exit after the command execution completes, so the command results can be read from the output window. To terminate the program, click Close.

-exit

Causes att_clnt to terminate after command execution. It can be used in scripts for unattended operation.

RUNNING AN ATTACHE COMMAND FROM THE ATTACHE INTEGRATION CLIENT. Default: None.

[ exec ] command [ arguments ... ]

Passes the arguments to the Attache command interpreter. File-name arguments can have absolute or relative pathnames.
The Attache commands checkin, checkout, uncheckout, and import can be run with or without the exec argument. If used without exec, a special dialog box is displayed for each command. Used with exec, these commands work as specified in their respective reference pages. For all other commands, specifying exec has no effect.

SEE ALSO

attache, attcmd