Extracts the specified items for use in LSE commands or SCA libraries. Format EXTRACT item-type item-name
1 – ADJUSTMENT
Extracts the definition of the named adjustment and formats the definition as a command. Format EXTRACT ADJUSTMENT adjustment-name
1.1 – Qualifiers
1.1.1 /LANGUAGE
/LANGUAGE[=language-name] Specifies the language associated with the adjustment being extracted. If you do not specify the /LANGUAGE qualifier, the default is the current language.
1.1.2 /NEW
Specifies that only the adjustment definitions defined during this editing session should be extracted.
1.2 – Parameter
adjustment-name Specifies the name of the adjustment you want. You may specify a wildcard.
2 – ALIAS
Extracts the definition of an alias and formats the definition as a command. Format EXTRACT ALIAS alias-name
2.1 – Qualifiers
2.1.1 /LANGUAGE
/LANGUAGE[=language-name] Specifies the language associated with the alias being extracted. If you do not specify the /LANGUAGE qualifier, the default is the current language.
2.1.2 /NEW
Specifies that only the definitions of aliases defined during this editing session should be extracted.
2.2 – Parameter
alias-name Specifies the name of the alias you want. You may specify a wildcard.
3 – KEYWORDS
Extracts the definition of the named keyword list and formats the definition as a command. Format EXTRACT KEYWORDS keyword-list-name
3.1 – Qualifier
3.1.1 /NEW
Specifies that only the definitions of keyword list names defined during this editing session should be extracted.
3.2 – Parameter
keyword-list-name Specifies the keyword list name. You can specify a wildcard.
4 – LANGUAGE
Extracts the definition of the named language and formats the definition as a command. Format EXTRACT LANGUAGE language-name
4.1 – Qualifier
4.1.1 /NEW
Specifies that only the definitions of languages defined during this editing session should be extracted.
4.2 – Parameter
language-name Specifies the name of the language you want. You may specify a wildcard.
5 – MODULE
[SCA Command] Extracts specified modules of source analysis data from an SCA library. Format EXTRACT MODULE module-name-expr[, . . . ]
5.1 – Qualifiers
5.1.1 /DECLARATION_CLASS
/DECLARATION_CLASS=declaration-class Indicates the class of the module to be copied. The following declaration classes are supported: PRIMARY-Module implementation ASSOCIATED-Module specification If you do not specify a declaration class, SCA extracts both classes, if they exist.
5.1.2 /LIBRARY
/LIBRARY=library-spec Specifies the SCA static library from which to extract the module. This library must be one of the current SCA libraries (established by a SET LIBRARY command). If you do not specify this qualifier, then SCA tries to extract the module from the primary library (the first of the current SCA libraries).
5.1.3 /LOG
/LOG /NOLOG (D) Indicates whether SCA reports the extraction of a module.
5.1.4 /OUTPUT
/OUTPUT=file-spec Specifies the file into which all modules of source analysis data will be written. The default is /OUTPUT=module-name.ANA, where the module name is the name of the file the compiler created.
5.2 – Parameter
module-name-expr[, . . . ] Specifies the modules to extract. If you specify more than one library, SCA extracts the module from the first library in which it occurs.
6 – PACKAGE
Extracts the definition of the named package and formats the definition as a command. Format EXTRACT PACKAGE package-name
6.1 – Qualifiers
6.1.1 /LANGUAGE
/LANGUAGE[=language-name] Specifies the language associated with the package being extracted. If you do not specify the /LANGUAGE qualifier, the default is the current language.
6.1.2 /NEW
Specifies that only the definitions of packages defined during this editing session should be extracted.
6.2 – Parameter
package-name Specifies the name of the package you want. You may specify a wildcard.
7 – PARAMETER
Extracts the definition of the named parameter and formats the definition as a command. Format EXTRACT PARAMETER parameter-name
7.1 – Qualifiers
7.1.1 /LANGUAGE
/LANGUAGE[=language-name] Specifies the language associated with the parameter being extracted. If you do not specify the /LANGUAGE qualifier, the default is the current language.
7.1.2 /NEW
Specifies that only the definitions of parameters defined during this editing session should be extracted.
7.2 – Parameter
parameter-name Specifies the name of the parameter you want. You may specify a wildcard.
8 – PLACEHOLDER
Extracts the definition of the named placeholder and formats the definition as a command. Format EXTRACT PLACEHOLDER placeholder-name
8.1 – Qualifiers
8.1.1 /LANGUAGE
/LANGUAGE[=language-name] Specifies the language associated with the placeholder being extracted. If you do not specify the /LANGUAGE qualifier, the default is the current language.
8.1.2 /NEW
Specifies that only the placeholder definitions defined during this editing session should be extracted.
8.2 – Parameter
placeholder-name Specifies the name of the placeholder you want. You may specify a wildcard.
9 – ROUTINE
Extracts the definition of the named routine and formats the definition as a command. Format EXTRACT ROUTINE routine-name
9.1 – Qualifiers
9.1.1 /LANGUAGE
/LANGUAGE[=language-name] Specifies the language associated with the routine being extracted. If you do not specify the /LANGUAGE qualifier, the default is the current language.
9.1.2 /NEW
Specifies that only the definitions of routines defined during this editing session should be extracted.
9.2 – Parameter
routine-name Specifies the name of the routine you want. You may specify a wildcard.
10 – TAG
Extracts the definition of the named tag and formats the definition as a command. Format EXTRACT TAG tag-name
10.1 – Qualifiers
10.1.1 /LANGUAGE
/LANGUAGE[=language-name] Specifies the language associated with the tag being extracted. If you do not specify the /LANGUAGE qualifier, the default is the current language.
10.1.2 /NEW
Specifies that only the tag definitions defined during this editing session should be extracted.
10.2 – Parameter
tag-name Specifies the name of the tag you want. You may specify a wildcard.
11 – TOKEN
Extracts the definition of the named token and formats the definition as a command. Format EXTRACT TOKEN token-name
11.1 – Qualifiers
11.1.1 /LANGUAGE
/LANGUAGE[=language-name] Specifies the language associated with the token being extracted. If you do not specify the /LANGUAGE qualifier, the default is the current language.
11.1.2 /NEW
Specifies that only the definitions of tokens defined during this editing session should be extracted.
11.2 – Parameter
token-name Specifies the name of the token you want. You may specify a wildcard.