TOC PREV NEXT INDEX DOC LIST MASTER INDEX




Context Switches

Context switches apply to commands that are executed in, and objects that reside in, a specific subsystem or view. Each subsystem and view contains a switch file —— Policy/Switches —— and that file contains switches that apply only to the enclosing context.

The switch file in a subsystem is used only to initialize the switch file in a newly created working view when no model is specified as part of view creation. The switch file in a view is used when placing objects under configuration management control, compiling and debugging units, spawning new released views, and so on.

In a switch file, switches are listed one per line and formatted as follows:

name: value

For example:

REJECT_SYNTAX_ERROR: True
BREAK_INDENT: 4
IDENTIFIER_CASE: Capitalized>

Note: Context switch names are not case-sensitive, but by convention they are written in all uppercase.

To see a table of all the context switches in the current context and their current values, use Control > Reports > Switches (Apex/Summit).

The Control > Show > Switches (Apex/Summit) command opens an Apex editor window containing the context switches for the enclosing subsystem or view. Changes to your context switches take effect immediately; subsequent Apex commands will use the new switch values.


Rational Software Corporation 
http://www.rational.com
support@rational.com
techpubs@rational.com
Copyright © 1993-2001, Rational Software Corporation. All rights reserved.
TOC PREV NEXT INDEX DOC LIST MASTER INDEX TECHNOTES APEX TIPS