Output task-specific default values
Component: | SDF |
Functional area: | SDF control |
Domain: | SDF |
Privileges: | STD-PROCESSING |
Function
The SHOW-INPUT-DEFAULTS command outputs all currently defined task-specific default values. Within the task, default values can be defined for commands and statements. The user can either display all default values or restrict the display to default values of commands or statements. If only defaults of commands/statements are to be displayed, the output can be restricted to specific commands or statements.
Output can be directed to either SYSOUT or SYSLST.
Task-specific default values can be deleted using the RESET-INPUT-DEFAULTS command. To identify a specific default value in the RESET-INPUT-DEFAULTS command, the output of the SHOW-INPUT-DEFAULTS command can be requested with input serial numbers (operand INPUT-SERIAL-NUMBER=*YES).
In programs with an SDF interface, SHOW-INPUT-DEFAULTS is available as a standard statement with the same functionality.
Format
SHOW-INPUT-DEFAULTS | Alias: SHID | ||||||||||||||||||||||||||||||||||||||||||||||||||
|
Operands
OBJECT = *CMD(...) / *STMT(...) / *ALL
Specifies the type of input for which the task-specific default values are to be output.
OBJECT = *CMD(...)
Only the task-specific default values of commands are output. The defaults of all or only of selected commands can be requested.
CMD = *ALL / <structured-name 1..30 with-wild 50>
Specifies whether the task-specific default values of all commands or only of selected commands are to be output.
CMD = *ALL
All task-specific default values of commands are output.
CMD = <structured-name 1..30 with-wild 50>
Name of the command whose task-specific default values are to be output. If wildcards are used, the default values of all commands which match the specified search pattern will be displayed.
OBJECT = *STMT(...)
Only the task-specific default values of statements are displayed. The user can request the default values of all or only of selected statements of a program to be output.
STMT = *ALL / <structured-name 1..30 with-wild (50)>
Specifies whether the task-specific default values of all statements or only of selected statements are to be output. In the PROGRAM operand the user can specify whether the output is to contain default values of statements of a specific program or of all programs.
STMT= *ALL
All task-specific default values of statements are output.
STMT = <structured-name 1..30 with-wild (50)>
Name of the statement whose task-specific default values are to be output. If wildcards are used, the default values of all statements which match the specified wildcard string will be output.
PROGRAM = *CURRENT / *ALL / <structured-name 1..30>
Specifies the program for whose statements specified in the STMT operand the task-specific default values are to be output.
PROGRAM = *CURRENT
Only default values of statements of the program currently defined in the SDF options are output. The program name can be set using the MODIFY-SDF-OPTIONS command (DEFAULT-PROGRAM-NAME operand).
PROGRAM = *ALL
The default values of all statements are output, regardless of the program name.
PROGRAM = <structured-name 1..30>
Program name, defined in a currently assigned syntax file.
Only default values of statements of the specified program are output.
OBJECT = *ALL
All task-specific default values, i.e. from both commands and statements, are output.
OUTPUT = *SYSOUT / *SYSLST(...)
Specifies where the information is to be output.
OUTPUT = *SYSOUT
The information is output to the system file SYSOUT.
OUTPUT = *SYSLST(...)
The information is output to the system file SYSLST.
SYSLST-NUMBER = *STD / <integer 1..99>
Specifies whether the information is to be output to the system file SYSLST or to a SYSLST file from the set SYSLST01 through SYSLST99.
The default is *STD, i.e. output is directed to the system file SYSLST.
INPUT-SERIAL-NUMBER = *NO / *YES
Specifies whether the inputs are to be shown with their input serial numbers. The default value is *NO for output without input serial numbers. The input serial number can be used in the RESET-INPUT-DEFAULTS command to delete a specific default value.
Return codes
(SC2) | SC1 | Maincode | Meaning/Guaranteed messages |
---|---|---|---|
0 | CMD0001 | Command executed without error | |
1 | 0 | CMD0001 | There is no task-specific default value matching the specifications. |
1 | 32 | CMD0500 | Syntax description in current syntax file invalid |
1 | 64 | CMD0561 | Command execution unsuccessful |
Example
See the RESET-INPUT-DEFAULTS command.