The pwv command lists the view tag of your current view context, or ** NONE ** if there is none. There are two kinds of view contexts, as follows:
You can establish or change your dynamic view context in three ways:
On UNIX or Linux, if you use setview and change your working directory to a view-extended pathname, you have two view contexts: your working directory view, which is used to process simple file names and relative pathnames; and your set view, which is used to process full pathnames (those that begin with a slash). On Windows, there is no notion of a set view context.
If you start a dynamic view (see startview) and then change to the view (rather than using setview ), this option returns the extended view path. This option returns nothing when issued from a set UNIX or Linux dynamic view (see setview), from a Windows dynamic view path, or from a Windows snapshot view path that has been mapped to a drive (using the subst command) that is your current drive.
The UNIX system and Linux examples in this section are written for use in csh. If you use another shell, you may need to use different quoting and escaping conventions.
The Windows examples that include wildcards or quoting are written for use in cleartool interactive mode. If you use cleartool single-command mode, you may need to change the wildcards and quoting to make your command interpreter process the command appropriately.
In cleartool single-command mode, cmd-context represents the UNIX system and Linux shells or Windows command interpreter prompt, followed by the cleartool command. In cleartool interactive mode, cmd-context represents the interactive cleartool prompt.
cmd-context pwv
Working directory view: jackson_vu
Set view: jackson_vu
% cd /view/jackson_old/usr/hw/src
cmd-context pwv
Working directory view: jackson_old
Set view: ** NONE **
cmd-context setview jackson_vu
% cd /view/jackson_old/usr/hw/src
cmd-context pwv
Working directory view: jackson_old
Set view: jackson_vu
cmd-context setview bert_dynview_v5
% cd /vobs/doc
cmd-context pwv –root %
% cd /usr/ssview/bert_v5/vobs/doc
cmd-context pwv –root/usr/ssview/bert_v5