z/OS Language Environment Customization
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


TEST | NOTEST

z/OS Language Environment Customization
SA38-0685-00

TEST specifies the conditions under which a debug tool (such as the Debug Tool supplied with z/OS) assumes control when the user application is being initialized. Parameters of the TEST and NOTEST run-time options are merged as one set of parameters.

Non-CICS default
NOTEST=((ALL,*,PROMPT,INSPPREF),OVR)
CICS® default
NOTEST=((ALL,*,PROMPT,INSPPREF),OVR)
Amode 64 default
NOTEST=((ALL,*,PROMPT,INSPPREF),OVR)
Read syntax diagramSkip visual syntax diagram
Syntax

   .-NOTEST-.           .-ALL---.     .-*-------------.      
>>-+-TEST---+--=--(--(--+-ERROR-+--,--+-commands_file-+--,------>
                        '-NONE--'                            

   .-PROMPT---.     .-INSPPREF--------.        .-OVR----.      
>--+-NOPROMPT-+--,--+-preference_file-+--)--,--+-NONOVR-+--)---><
   +-*--------+     '-*---------------'                        
   +-;--------+                                                
   '-command--'                                                

ALL
Specifies that any of the following causes the debug tool to gain control even without a defined AT OCCURRENCE for a particular condition or AT TERMINATION:
  • The ATTENTION function
  • Any Language Environment condition of severity 1 or above
  • Application termination
ERROR
Specifies that only one of the following causes the debug tool to gain control without a defined AT OCCURRENCE for a particular condition or AT TERMINATION:
  • The ATTENTION function
  • Any Language Environment-defined error condition of severity 2 or higher
  • Application termination
NONE
Specifies that no condition causes the debug tool to gain control without a defined AT OCCURRENCE for a particular condition or AT TERMINATION.
commands_file
A valid ddname, data set name (MVS™), or file name (CMS), specifying the primary commands file for this run. If you do not specify this parameter all requests for commands go to the user terminal.

You can enclose commands_file in single or double quotation marks to distinguish it from the rest of the TEST | NOTEST suboption list. It can have a maximum length of 80 characters. If the data set name provided could be interpreted as a ddname, it must be preceded by a slash (/). The slash and data set name must be enclosed in quotation marks.

A primary commands file is required when running in a batch environment.

* (asterisk — in place of commands_file)
Specifies that no commands_file is supplied. The terminal, if available, is used as the source of the debug tool commands.
PROMPT
Specifies that the debug tool is invoked at Language Environment initialization.
NOPROMPT
Specifies that the debug tool is not invoked at Language Environment initialization.
* (asterisk — in place of PROMPT/NOPROMPT)
Specifies that the debug tool is not invoked at Language Environment initialization; equivalent to NOPROMPT.
; (semicolon — in place of PROMPT/NOPROMPT)
Specifies that the debug tool is invoked at Language Environment initialization; equivalent to PROMPT.
command
A character string that specifies a valid debug tool command. The command list can be enclosed in single or double quotation marks to distinguish it from the rest of the TEST parameter list; it cannot contain DBCS characters. Quotation marks are needed whenever the command list contains embedded blanks, commas, semicolons, or parentheses. The list can have a maximum of 250 characters.
preference_file
A valid ddname, data set name (MVS), or file name (CMS), specifying the preference file to be used. A preference file is a type of commands file that you can use to specify settings for your debugging environment. It is analogous to creating a profile for a text editor, or initializing an S/370 terminal session.

You can enclose preference_file in single or double quotation marks to distinguish it from the rest of the TEST parameter list. It can have a maximum of 80 characters.

If a specified data set name could be interpreted as a ddname, it must be preceded by a slash (/). The slash and data set name must be enclosed in quotation marks.

The IBM-supplied default setting for preference_file is INSPPREF.

* (asterisk — in place of preference_file)
Specifies that no preference_file is supplied.
OVR
Specifies that the option can be overridden.
NONOVR
Specifies that the option cannot be overridden.

z/OS® UNIX considerations

Language Environment honors the initial command string before the main routine runs on the initial thread.

The test level (ALL, ERROR, NONE) applies to the enclave.

Language Environment honors the preference file when the debug tool is initialized, regardless of which thread first requests the debug tool services.

Usage notes

  • You can specify parameters on the NOTEST option. If NOTEST is in effect when the application gains control, it is interpreted as TEST(NONE,,*,). If Debug Tool is initialized using a CALL CEETEST or equivalent, the initial test level, the initial commands_file, and the initial preference_file are taken from the NOTEST runtime setting.

Performance considerations

To improve performance, use this option only while debugging.

For more information

See Debug Tool publications for details and examples of the TEST run-time option as it relates to Debug Tool.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014