IBM SC34-4499-03 Personal Computer User Manual


 
Getting parts from TeamConnection
Checking out a part implies that you intend to modify it; extracting a part merely gives
you a copy of the part. Normally, when you extract a part, you do not plan to change
the current version in TeamConnection.
You must have the necessary authority to a component before you can check out or
extract parts from that component. You need
PartExtract
authority to extract a part from
TeamConnection; you need
PartCheckOut
authority to check a part out. See
“Appendix I. Authority and notification for TeamConnection actions” on page 277 for a
listing of all the TeamConnection actions and their authority requirements.
Parts are checked out to work areas. The work area is where you store updated parts
and do builds without affecting the version of the parts in the release. When a part is
checked out of the release to the specified work area, TeamConnection locks the part in
the release if you are working in serial development. If you are working in concurrent
development, the part is never locked. TeamConnection also puts a copy of the part on
your workstation. It is here where you update the part. If a read-only copy of the part
exists on your workstation, the first character of its file extension changes as follows: It
becomes a $ (dollar sign) for OS/2 and Windows platforms. It becomes a . (period)
for AIX, HP-UX, and Solaris platforms. This copy is a backup copy. If a backup copy
already exists, it is deleted. When you are finished updating the part, you check it back
in to the work area. A work area is optional when extracting a part.
The environment variables TC_BACKUP and TC_MODPERM may be set to change the
the backup and read-only options. TC_BACKUP controls whether or not backup files
are created. If this environment variable is set to off, backup files are not created.
TC_MODPERM controls whether or not the read-only attribute is set. The default for
this environment variable sets the read-only attribute on.
When you extract a part, TeamConnection copies the part to your workstation, and the
part is not locked. In other words, other users can still check out the same version of
the part and make changes to it, even in serial development mode. By default,
TeamConnection sets the extracted part to read-only access. This is done to keep you
from inadvertently changing the part on your workstation when the part in
TeamConnection is not locked. You can, however, change this in the Settings window or
when you are extracting the part. When you do this, be aware that someone else can
change the official part in TeamConnection, making your workstation copy back level.
Where TeamConnection places a checked-out or extracted part on your workstation
depends on the following:
v Your workstation’s
current working directory
v Whether you use the -relative flag on the command line or the Destination directory
field on the GUI
v Whether the TC_TOP environment variable is set
For more information about how these interact, refer to the part command examples in
the
Commands Reference
Chapter 3. The basics of using TeamConnection 33