Show job logging parameter settings
| Component: | BS2000 | 
| Functional area: | Job processing | 
| Domain: | JOB | 
| Privileges: | STD-PROCESSING | 
Function
The SHOW-JOB-OPTIONS command supplies information on currently valid settings for job logging. The settings for LOGGING and SYSLST-LIMIT are defined by means of the SET-LOGON-PARAMETERS, ENTER-JOB or ENTER-PROCEDURE command when the job is started. All job logging settings within the job can be updated during the current job by means of the MODIFY-JOB-OPTIONS command.
The command supports structured output in S variables (see "Output in S variables").
Format
| SHOW-JOB-OPTIONS  | Alias: SHJO | 
Return codes
| (SC2) | SC1 | Maincode | Meaning | 
|---|---|---|---|
| 0 | CMD0001 | Command executed | |
| 32 | CMD0221 | System error | |
| 32 | CMD2009 | Error during generation of S variables | 
Meaning of the output fields
The output fields have the same meanings as for the corresponding operands of the SET-LOGON-PARAMETERS, ENTER-JOB, ENTER-PROCEDURE or MODIFY-JOB-OPTIONS command:
| Output field | Possible values | Default at beginning of task | 
|---|---|---|
| INFORMATION-LEVEL | MEDIUM / MINIMUM | MEDIUM | 
| OPERATOR-INTERACTION | NO / YES | NO | 
| SYSLST-LIMIT | <integer 0..999999> | specified when starting the job | 
| SYSOPT-LIMIT | only supported for reasons of compatibility | |
| LOGGING: | ||
| 
 | NO / YES | specified when starting the job | 
| 
 | NO / YES | specified when starting the job | 
Output in S variables
| Output information | Name of the S variable | T | Contents | Condition | 
|---|---|---|---|---|
| Job execution logged on hardcopy printer | var(*LIST).HARDCOPY | S | *NO | |
| Amount of information included in system messages | var(*LIST).INFO-LEV | S | *MED | |
| Job execution logged on SYSLST | var(*LIST).LIST | S | *NO | |
| Output of console messages and operator responses | var(*LIST).OPER-INTERACT | S | *NO | |
| Maximum number of records output to SYSLST | var(*LIST).SYSLST-LIM | S | *NO-LIM | |
| Output only for compatibility reasons | var(*LIST).SYSOPT-LIM | S | *NO-LIM | 
Example
Output into S variable
/exec-cmd (show-job-options),text-output=*none,structure-output=var
/show-var var,inf=*par(val=*c-literal)
VAR(*LIST).INFO-LEV = '*MED' VAR(*LIST).OPER-INTERACT = '*NO' VAR(*LIST).SYSLST-LIM = '*NO-LIM' VAR(*LIST).SYSOPT-LIM = '*NO-LIM' VAR(*LIST).LIST = '*NO' VAR(*LIST).HARDCOPY = '*NO' *END-OF-VAR
Output to SYSOUT
/show-job-opt
% % INFORMATION-LEVEL = MEDIUM OPERATOR-INTERACTION = NO % SYSLST-LIMIT = 10 SYSOPT-LIMIT = NO-LIMIT % LOGGING : LISTING = NO HARDCOPY = NO