Show entries in SDF parameter file
Component: | SDF |
Functional area: | SDF control |
Domain: | SDF |
Privileges: | TSOS |
Routing code: | @ |
Function
The SHOW-SDF-PARAMETERS command provides information on the entries of an SDF parameter file. The names of the system syntax files and all PROFILE-ID allocations to a group syntax file are displayed. There is also an option for including the names of the system-wide LOGON or LOGOFF procedures (call and include procedures).
The command supports structured output in S variables (see "Output in S variables").
Format
SHOW-SDF-PARAMETERS | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Operands
SCOPE =
Defines the scope of the information requested.
SCOPE = *TEMPORARY
The syntax files which were activated during the current session and/or the system-wide LOGON or LOGOFF procedures are output.
SCOPE = *NEXT-SESSION(...)
The syntax files and/or the system-wide LOGON or LOGOFF procedures stored in an SDF parameter file are output.
PARAMETER-FILE-NAME =
Specifies the SDF parameter file in which the requested information is stored.
PARAMETER-FILE-NAME = *CURRENT
The required information is stored in the current SDF parameter file, which was used when the session was started.
PARAMETER-FILE-NAME = <filename 1..54>
The fully qualified name of the SDF parameter file in which the requested information is stored. If alias names are being used, the name displayed for the SDF parameter file can be taken as being the result of a file name replacement carried out by ACS. Only if no alias name was declared for the SDF parameter file will the fully qualified, real, name of the SDF file be stored and output.
SYNTAX-FILE-TYPE =
Specifies the name(s) of the syntax files to be displayed.
SYNTAX-FILE-TYPE = *ALL
The output is to show the names of the basic system syntax file, of the subsystem syntax files (in conjunction with the names of the subsystems), and the names of the group syntax files (with their associated PROFILE-IDs).
SYNTAX-FILE-TYPE = *SYSTEM
The name of the basic system syntax file is to be output.
SYNTAX-FILE-TYPE = *SUBSYSTEM(...)
The names of the subsystem syntax files are to be output.
SUBSYSTEM-NAME =
Specifies the subsystems for which the syntax files are to be selected.
SUBSYSTEM-NAME = *ALL
The names of all the system syntax files which are assigned to a subsystem are to be output.
SUBSYSTEM-NAME = <structured-name 1..8 with-wild(24)>
The syntax files of the specified subsystems are to be displayed.
SYNTAX-FILE-TYPE = *GROUP(...)
The names of the group syntax files are to be output.
PROFILE-ID =
Uses the PROFILE-ID to determine the names of the group syntax files which are to be displayed.
PROFILE-ID = *ALL
The names of all group syntax files (in conjunction with the associated PROFILE-IDs) are to be output.
PROFILE-ID = <structured-name 1..30>
Specifies the PROFILE-IDs whose assigned group syntax files are to be displayed by name.
SYNTAX-FILE-TYPE = *NONE
No syntax file names will be displayed.
SYSTEM-LOGON-PROC = *YES / *NO
Specifies whether to display the name of the system-wide LOGON call procedure (invoked with the CALL-PROCEDURE command).
SYSTEM-LOGON-INCL = *YES / *NO
Specifies whether to display the name of the system-wide LOGON include procedure (invoked with the INCLUDE-PROCEDURE command).
SYSTEM-LOGOFF-PROC = *YES / *NO
Specifies whether to display the name of the system-wide LOGOFF call procedure (invoked with the CALL-PROCEDURE command).
SYSTEM-LOGOFF-INCL = *YES / *NO
Specifies whether to display the name of the system-wide LOGOFF include procedure (invoked with the INCLUDE-PROCEDURE command).
Return codes
(SC2) | SC1 | Maincode | Meaning/Guaranteed messages |
---|---|---|---|
0 | CMD0001 | No errors | |
1 | 32 | CMD0500 | Erroneous syntax description in the current syntax file |
1 | 64 | CMD0601 | Command is reserved for systems support |
1 | 64 | CMD0680 | Error in SDF parameter file |
Output in S variables
All the operands of the command (SCOPE, SYNTAX-FILE-TYPE, SYSTEM-LOGOFF-INCL, SYSTEM-LOGOFF-PROC, SYSTEM-LOGON-INCL and SYSTEM-LOGON-PROC) support structured output in S variables. As a rule, all the S variables are generated.
Exceptions
The exceptions to this rule are the S variables marked a), b) or c) in the “Condition” column:
These S variables are not generated if SYNTAX-FILE-TYPE=*NONE is specified in the command.
This S variable is not generated if no corresponding LOGON- or LOGOFF procedure was specified in the command (e.g. SYSTEM-LOGON-PROC=*NONE).
Output information | Name of the S variable | T | Contents | Condition |
---|---|---|---|---|
Scope of the active syntax files. | var(*LIST).SCOPE | S | *TEMP | |
Syntax file name | var(*LIST).SF(*LIST).F-NAME | S | <filename 1..54> | a) |
The SDF file hierarchy is retained (the system syntax file is used for syntax analysis) | var(*LIST).SF(*LIST).HIERARCHY | S | '' | a) |
Subsystem name with SF(*LIST).TYPE =*SUBSYS. | var(*LIST).SF(*LIST).NAME | S | '' | a) |
Profile ID of the group syntax file. | var(*LIST).SF(*LIST).PROF-ID | S | '' | a) |
Subsystem status. The value of the S variable is'' in the following cases: ACTIVE status is always displayed for subsystems that are not activated by DSSM, with the following two exceptions: | var(*LIST).SF(*LIST).STATE | S | '' | a) |
Syntax file type | var(*LIST).SF(*LIST).TYPE | S | *GROUP | a) |
Syntax file version | var(*LIST).SF(*LIST).VERSION | S | <text 1..12> | a) |
Name of the system-wide LOGOFF procedure (called with INCLUDE-PROCEDURE) | var(*LIST).SYS-LOGOFF-INCL | S | *STD | b) |
Name of the system-wide LOGOFF procedure (called with CALL-PROCEDURE) | var(*LIST).SYS-LOGOFF-PROC | S | *STD | b) |
Name of the system-wide LOGON procedure (called with INCLUDE-PROCEDURE) | var(*LIST).SYS-LOGON-INCL | S | '' | b) |
Name of the system-wide LOGON procedure (called with CALL-PROCEDURE) | var(*LIST).SYS-LOGON-PROC | S | '' | b) |
Examples
/declare-var var-name=var(type=*structure),multiple-elem=*list
/exec-cmd cmd=(show-sdf-parameters syntax-file-type=*sys),
text-output=*none,structure-output=var
/show-var var,inf=*par(val=*c-literal)
VAR(*LIST).SCOPE = '*TEMP' VAR(*LIST).SF(*LIST).NAME = 'BS2000' VAR(*LIST).SF(*LIST).TYPE = '*SYS' VAR(*LIST).SF(*LIST).VERSION = '20' VAR(*LIST).SF(*LIST).F-NAME = ':SQGB:$TSOS.SYSSDF.SDF.048' VAR(*LIST).SF(*LIST).STATE = '' VAR(*LIST).SF(*LIST).PROF-ID = '' VAR(*LIST).SF(*LIST).HIERARCHY = '' *END-OF-VAR VAR(*LIST).SYS-LOGON-PROC = '$TSOS.SYS.SDF.LOGON.SYSPROC' VAR(*LIST).SYS-LOGON-INCL = '$TSOS.SYS.SDF.LOGON.SYSINCL' VAR(*LIST).SYS-LOGOFF-PROC = '$TSOS.SYS.SDF.LOGOFF.SYSPROC' VAR(*LIST).SYS-LOGOFF-INCL = '$TSOS.SYS.SDF.LOGOFF.SYSINCL' *END-OF-VAR
/exec-cmd cmd=(show-sdf-parameters syntax-file-type=*none),
text-output=*none,structure-output=var
/show-var var,inf=*par(val=*c-literal)
VAR(*LIST).SCOPE = '*TEMP' VAR(*LIST).SYS-LOGON-PROC = '$TSOS.SYS.SDF.LOGON.SYSPROC' VAR(*LIST).SYS-LOGON-INCL = '$TSOS.SYS.SDF.LOGON.SYSINCL' VAR(*LIST).SYS-LOGOFF-PROC = '$TSOS.SYS.SDF.LOGOFF.SYSPROC' VAR(*LIST).SYS-LOGOFF-INCL = '$TSOS.SYS.SDF.LOGOFF.SYSINCL' *END-OF-VAR