Show ACS option settings
Component: | ACS |
Functional area: | File processing |
Domain: | FILE |
Privileges: | STD-PROCESSING |
Function
The SHOW-ACS-OPTIONS command writes the following information on the currently set ACS options of the task to SYSOUT:
status of the alias catalog (INACTIVE, ACTIVE or INHOLD)
list of all the AC system files and AC files that were loaded since the beginning of the task or since the alias catalog was last deleted
number of changes made to the current alias catalog with the ADD-, MODIFY- and REMOVE-ALIAS-CATALOG-ENTRY commands
current settings of all ACS options:
Message output when the alias catalog is loaded
Logging of alias substitution and prefix insertion
Permitting catalog and user IDs in the alias (fully qualified)
Permitting user IDs in the alias
Standard range of alias substitution and prefix insertion (for files and/or job variables)
The command supports structured output in S variables (see "Output in S variables").
Privileged functions
Users with the ACS-ADMINISTRATION privilege can select the SCOPE operand to request details of ACS option settings for the task which is running or of the system-global preset values:
the logging of ACS actions
the permissibility of catalog and user IDs in alias names
the pubset on which temporary SPOOL files are set up.
Format
SHOW-ACS-OPTIONS |
SCOPE = *TASK / *SYSTEM |
Operands
SCOPE =
Only for users with ACS-ADMINISTRATION privilege:
Selects whether the task-local or the system-global default settings are being requested.
SCOPE = *TASK
Preset value: only the options specified for the task currently running are to be displayed.
SCOPE = *SYSTEM
Specifies that all the system-global options should be displayed.
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | Command executed normally |
Information output
The output begins with the version of the system component ACS. The following information is then output:
Output field | Meaning |
---|---|
STATUS | Status of the alias catalog (INACTIVE, ACTIVE or IN HOLD) |
ACTIVATED ALIAS CATALOG FILE(S): | List of all AC system files and AC files which have been loaded since the start of the task or since the last time the alias catalog was deleted. |
|
|
|
|
|
|
|
|
|
|
ENTRIES ADDED/MODIFIED BY INDIVIDUAL COMMANDS: | Number of modifications to the current alias catalog made using the ADD-, MODIFY- and REMOVE-ALIAS-CATALOG-ENTRY commands. |
LOGGING: | Logging: |
|
|
|
|
SUCCESS-MSG OPTIONS: | Output of a message after successful loading: |
|
|
|
|
COMPLETE-ALIAS-NAMES | Catalog and user IDs in the alias (fully qualified)
|
ALIAS-USERID | User IDs in the alias
|
STANDARD-RANGE | Standard range for substitution of aliases and prefix insertion:
|
Examples
See the ADD-ALIAS-CATALOG-ENTRY and SET-FILE-NAME-PREFIX commands.
Output in S variable
The SCOPE operand identifies the S variables which are to be created. The possible values for SCOPE are *TASK and *SYSTEM.
Output information | Name of the S variable | T | Contents | Condition |
---|---|---|---|---|
AC file name alias | var(*LIST).ALIAS-CAT-F(*LIST).ALIAS-CAT-ID | S | 'BLANK' | SCOPE= |
AC file creation date | var(*LIST).ALIAS-CAT-F(*LIST).DATE | S | 'BLANK' | SCOPE= |
Additional information on AC file | var(*LIST).ALIAS-CAT-F(*LIST).DESCRIPTOR | S | 'BLANK' | SCOPE= |
Actual file name of AC file | var(*LIST).ALIAS-CAT-F(*LIST).F-NAME | S | 'BLANK' | SCOPE= |
Additional name for AC file | var(*LIST).ALIAS-CAT-F(*LIST).USER-INFO | S | 'BLANK' | SCOPE= |
Output of message ACS0000 each time the alias is substituted | var(*LIST).ALIAS-SUBST | S | *STD | SCOPE= |
User IDs allowed in aliases | var(*LIST).ALIAS-USER-ID | S | *ALLOW | SCOPE= |
Changing of user IDs allowed in aliases | var(*LIST).ALIAS-USER-ID-MOD | S | *ALLOW | SCOPE= |
Fully qualified aliases allowed | var(*LIST).COMPL-ALIAS-NAME | S | *ALLOW | SCOPE= |
Changing of ACS option ALIAS-USERID allowed | var(*LIST).COMPL-USER-MOD | S | *ALLOW | SCOPE= |
Number of changes to the alias catalog | var(*LIST).NUM-OF-AC-CMD | I | <integer 0...65535> | SCOPE= |
Output of message ACS0000 each time a prefix is inserted | var(*LIST).PREFIX-INS | S | *NO | SCOPE= |
Security level | var(*LIST).SEC-LEV | S | *HIGH | SCOPE= |
Pubset for spool file | var(*LIST).SPOOL-F-PUBSET | S | *STD | SCOPE= |
Alias catalog status | var(*LIST).STA | S | *ACTIVE | SCOPE= |
Range when replacing the alias or adding a prefix (for files and/or job variables) | var(*LIST).STANDARD-RANGE | S | *FILE | SCOPE= |
Message output from ACS0001 to an AC device | var(*LIST).SYS-F-MSG | S | *NO | SCOPE= |
Message output from ACS0001 to an AC file | var(*LIST).USER-F-MSG | S | *NO | SCOPE= |