Show defined file name prefix
| Component: | ACS | 
| Functional area: | File processing | 
| Domain: | FILE | 
| Privileges: | STD-PROCESSING | 
Function
With the ACS subsystem active, the SHOW-FILE-NAME-PREFIX command shows the prefix and its scope that was defined by the user with the SET-FILE-NAME-PREFIX command. The output is written to SYSOUT. 
If no prefix was defined, the value *NONE is shown.
The command supports structured output in S variables (see "Output in S variables").
Format
| SHOW-FILE-NAME-PREFIX | Alias: SHFNP | 
Return codes
| (SC2) | SC1 | Maincode | Meaning/Guaranteed messages | 
|---|---|---|---|
| 0 | CMD0001 | Command executed normally | |
| 32 | CMD2009 | Error during S variable generation | |
| 64 | OPS0001 | Not enough memory for output to S variables | |
| 128 | ACS0018 | ACS not active | |
| 130 | ACS0036 | Resource bottleneck | 
Output in S variables
| Output information | Name of the S variable | T | Contents | Condition | 
|---|---|---|---|---|
| File name prefix | var(*LIST).F-NAME-PREFIX | S | *NONE | |
| Range of the prefix definition (for files and/or job variables) | var(*LIST).RANGE | S | *NONE | 
Examples
For examples, see the SET-FILE-NAME-PREFIX command.