A context file contains statements which assign values to the various attributes comprising a context. This file may also contain comment lines and blank lines. A statement is used in the context file to assign a value to a particular context attribute. A hyphen may be used in the last character position of a line to continue a statement on the following line. Several of the statements that may appear in a context file are similar to DCL commands; however, the syntax of these statements is more restrictive than that of DCL. Note that a context file is automatically generated when you save a context via the Environment Manager's graphical user interface.
1 – CMS_SET_LIBRARY
The CMS SET LIBRARY statement is used to specify the CMS library.
Format:
CMS SET LIBRARY directory[,...]
2 – DTM_SET_LIBRARY
The DTM SET LIBRARY statement is used to specify the DTM library.
Format:
DTM SET LIBRARY directory
3 – Comments
Comment lines must begin with an exclamation point.
For example:
! This is a comment line.
4 – DEASSIGN
The DEASSIGN statement is used to deassign a logical name.
Format:
DEASSIGN [qualifiers] logical-name
4.1 – Qualifiers
The optional qualifiers for the DEASSIGN command are:
/PROCESS
/JOB
/GROUP
/SYSTEM
/TABLE=name
You should not combine any of /PROCESS, /JOB, /GROUP, /SYSTEM, and
/TABLE.
5 – DEFINE
The DEFINE statement is used to define a logical name.
Format:
DEFINE [qualifiers] logical-name equivalence-string[,...]
5.1 – Qualifiers
The optional qualifiers for the DEFINE command are:
/PROCESS
/JOB
/GROUP
/SYSTEM
/TABLE=name
/TRANSLATION_ATTRIBUTES=CONCEALED
You should not combine any of /PROCESS, /JOB, /GROUP, /SYSTEM, and
/TABLE.
6 – DELETE_SYMBOL
The DELETE/SYMBOL statement is used to delete a symbol.
Format:
DELETE/SYMBOL symbol-name
7 – SCA_SET_LIBRARY
The SCA SET LIBRARY statement is used to specify the SCA library.
Format:
SCA SET LIBRARY directory[,...]
8 – SET_DEFAULT
The SET DEFAULT statement is used to specify the default directory
for the context.
Format:
SET DEFAULT directory
9 – SET_DIRECTORY
The SET_DIRECTORY statement is used to specify a directory to be used
for a particular purpose.
Format:
SET_DIRECTORY setting
where setting can be one of the following:
SOURCE directory[,...]
EXECUTABLE directory
LISTING directory
OBJECT directory
10 – SET_LINKER
The SET_LINKER statement is used to set the values of linker-specific
attributes.
Format:
SET_LINKER setting
where setting can be one of the following:
OBJECT_LIBRARY filespec
OPTIONS_FILE filespec
11 – SET_MMS
The SET_MMS statement is used to set the values of MMS-specific
attributes.
Format:
SET_MMS setting
11.1 – Parameters
Most of the SET_MMS setting options have the same syntactic forms and semantics of corresponding MMS command qualifiers.
11.1.1 – ACTION
This option has the same semantics as the MMS /ACTION qualifier.
Format:
SET_MMS [NO]ACTION
11.1.2 – BUILTIN_RULES_APPLY
This option has the same semantics as the MMS /BUILTIN_RULES_APPLY qualifier.
Format:
SET_MMS [NO]BUILTIN_RULES_APPLY
11.1.3 – CHANGED
This option has the same semantics as the MMS /CHANGED qualifier.
Format:
SET_MMS CHANGED=(source[,source...])
11.1.4 – CHECK_STATUS
This option has the same semantics as the MMS /CHECK_STATUS qualifier.
Format:
SET_MMS [NO]CHECK_STATUS
11.1.5 – CMS
This option has the same semantics as the MMS /CMS qualifier.
Format:
SET_MMS [NO]CMS
11.1.6 – DESCRIPTION
This option has the same semantics as the MMS /DESCRIPTION
qualifier.
Format:
SET_MMS DESCRIPTION[=filespec]
SET_MMS NODESCRIPTION
11.1.7 – ENABLE macro
This option enables the indicated MMS macro.
Format:
SET_MMS ENABLE_DEBUG (to enable the DEBUG macro)
SET_MMS ENABLE_LIST (to enable the LIST macro)
SET_MMS ENABLE_DIAG (to enable the DIAG macro)
11.1.8 – FORCE
This option has the same semantics as the MMS /FORCE qualifier.
Format:
SET_MMS [NO]FORCE
11.1.9 – FROM_SOURCES
This option has the same semantics as the MMS /FROM_SOURCES
qualifier.
Format:
SET_MMS FROM_SOURCES
11.1.10 – IGNORE
This option has the same semantics as the MMS /IGNORE qualifier.
Format:
SET_MMS IGNORE[={WARNING|ERROR|FATAL}]
SET_MMS NOIGNORE
11.1.11 – LIST
This option has the same semantics as the MMS /LIST qualifier.
Format:
SET_MMS LIST[=filespec]
SET_MMS NOLIST
11.1.12 – LOG
This option has the same semantics as the MMS /LOG qualifier.
Format:
SET_MMS [NO]LOG
11.1.13 – MACRO
This option has the same semantics as the MMS /MACRO qualifier.
Format:
SET_MMS MACRO=(macro[,...])
SET_MMS MACRO="macroname=expansion"
The macro argument in the MACRO=(macro[,...]) form can be in
either of the following forms:
"macroname=expansion"
macro-filespec
11.1.14 – OBJECT_LIBRARY
This option allows you to specify the object library to be used by
the MMS description file generator.
Format:
SET_MMS OBJECT_LIBRARY filespec
11.1.15 – OUTPUT
This option has the same semantics as the MMS /OUTPUT qualifier.
Format:
SET_MMS OUTPUT[=filespec]
11.1.16 – OVERRIDE
This option has the same semantics as the MMS /OVERRIDE qualifier.
Format:
SET_MMS [NO]OVERRIDE
11.1.17 – REVISE_DATE
This option has the same semantics as the MMS /REVISE_DATE
qualifier.
Format:
SET_MMS [NO]REVISE_DATE
11.1.18 – RULES
This option has the same semantics as the MMS /RULES qualifier.
Format:
SET_MMS RULES[=filespec]
SET_MMS NORULES
11.1.19 – SCA_LIBRARY
This option has the same semantics as the MMS /SCA_LIBRARY
qualifier.
Format:
SET_MMS SCA_LIBRARY[=directory]
SET_MMS NOSCA_LIBRARY
11.1.20 – SCAN_INCLUDE
This option has the same semantics as the MMS /SCAN_INCLUDE
qualifier.
Format:
SET_MMS [NO]SCAN_INCLUDE
11.1.21 – SKIP_INTERMEDIATE
This option has the same semantics as the MMS /SKIP_INTERMEDIATE
qualifier.
Format:
SET_MMS [NO]SKIP_INTERMEDIATE
11.1.22 – SWITCHES
This option has the same semantics as the MMS /SWITCHES
qualifier.
Format:
SET_MMS SWITCHES
11.1.23 – VERIFY
This option has the same semantics as the MMS /VERIFY qualifier.
Format:
SET_MMS [NO]VERIFY
12 – Symbol Assignment
A symbol assignment takes the following form:
symbol == expression