This statement outputs the current values of the LMS defaults. These can be modified by means of the MODIFY-LMS-DEFAULTS statement.
SHOW-LMS-DEFAULTS |
DEFAULTS = *STD / *ALL / list-poss(2000): *ELEMENT-ATTRIBUTES / *FILE-ATTRIBUTES / *DESTROY-DATA / *WRITE-MODE / *DIALOG-CONTROL / *INFORMATION / *LAYOUT / *SORT / *OUTPUT-FORM / *DELETE-SOURCE / *PROTECTION / *MAX-ERROR-WEIGHT / *EDT-MODE / *RUN-MODE / *NEXT-ATTEMPT / *COMPARE-PARAMETERS / *TEXT-INFORMATION / *MODULE-INFORMATION / *PHASE-INFORMATION / *LLM-INFORMATION |
DEFAULTS = *STD
Outputs the default values for the following with their current settings: ELEMENT-ATTRIBUTES, FILE-ATTRIBUTES, DESTROY-DATA, WRITE-MODE, DIALOG-CONTROL, INFORMATION, LAYOUT, SORT, OUTPUT-FORM, DELETE-SOURCE and PROTECTION.
DEFAULTS = *ALL
Outputs all defaults with their current values.
DEFAULTS = *ELEMENT-ATTRIBUTES
Outputs the current values for member type, source and target version, storage form and the file attributes.
DEFAULTS = *FILE-ATTRIBUTES
The current value for the file access method is output.
DEFAULTS = *DESTROY-DATA
Whether or not data is to be overwritten is output.
DEFAULTS = *WRITE-MODE
The current value for the write mode is output.
DEFAULTS = *DIALOG-CONTROL
The current value for the dialog control is output.
DEFAULTS = *INFORMATION
Outputs the current setting for the scope of directory information to be output.
DEFAULTS = *LAYOUT
Outputs the current setting for the layout of the directory to be output.
DEFAULTS = *SORT
Outputs the current setting for the sort criterion of the directory to be output.
DEFAULTS = *OUTPUT-FORM
Outputs the current setting for the output form.
DEFAULTS = *DELETE-SOURCE
Outputs the default setting for source file deletion, i.e. whether the source file is to be deleted or kept.
DEFAULTS = *PROTECTION
Outputs the default setting for the adoption of protection attributes.
DEFAULTS = *MAX-ERROR-WAIT
Outputs the default setting for spin-off control.
DEFAULTS = *EDT-MODE
Outputs the default setting for the mode that EDT is to be called in.
DEFAULTS = *RUN-MODE
Outputs, whether in interactive mode LMS should run normally or behave as if it were running in batch mode.
DEFAULTS = *NEXT-ATTEMPT
Outputs the default setting for the control of attempts to open files, etc.
DEFAULTS = *COMPARE-PARAMETERS
Outputs the default setting for the comparison parameters.
DEFAULTS = *TEXT-INFORMATION
Outputs the default setting for the scope of information for textual members.
DEFAULTS = *MODULE-INFORMATION
Outputs the default setting for the scope of information for object modules.
DEFAULTS = *PHASE-INFORMATION
Outputs the default setting for the scope of information for phases.
DEFAULTS = *LLM-INFORMATION
Outputs the default setting for the scope of information for link and load modules.
Statement return code
(SC2) | SC1 | Maincode | Bedeutung |
0 | CMD0001 | No error | |
2 | 0 | LMS0129 | Statement aborted by user |
1 | CMD0230 | Syntax error | |
32 | LMS1002 | Internal error | |
64 | LMS1004 | Other error | |
130 | LMS0041 | System address space exhausted |
Required access rights
No access rights are necessary.
Example
//SHOW-LMS-DEFAULTS *ALL ELEMENT-ATTRIBUTES TYPE = *NONE ELEMENT-VERSION = *ALL TO-ELEM-VERSION = *BY-SOURCE STORAGE-FORM = *STD SOURCE-ATTRIBUTES = *KEEP TYPE = *ALL FILE-ATTRIBUTES ACCESS-METHOD = *ISAM DESTROY-DATA = *NO WRITE-MODE = *CREATE DIALOG-CONTROL = *NO INFORMATION = *MEDIUM LAYOUT = *VARIABLE SORT = *BY-NAME OUTPUT-FORM = *STD DELETE-SOURCE = *NO PROTECTION = *STD MAX-ERROR-WEIGHT = *SERIOUS EDT-MODE = *COMPATIBLE RUN-MODE = *STD NEXT-ATTEMPT = *NO COMPARE-PARAMETERS RECORD-PART = *ALL SPACES = *STD INFORMATION = *MEDIUM LAYOUT = *COMPATIBLE JOIN-ELEMENT-SETS = *NO TEXT-INFORMATION = *ALL MODULE-INFORMATION INFORMATION = *TXT CSECT-NAME = *ALL ADDRESS = X'00000000' BASE-ADDRESS = X'00000001' LENGTH = 2147483647 PHASE-INFORMATION = *ALL LLM-INFORMATION = *ALL
All LMS default values are output. These values are applicable immediately after the start of LMS.