Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

MODIFY-OUTPUT-MODE

This statement defines the output destination of administration statements.

Function

The MODIFY-OUTPUT-MODE statement defines the output destination for all the following administration statements

MODIFY-OUTPUT-MODE

OUTPUT = *STD / *SHOW-FILE / *MAIL

Operands

OUTPUT= *STD

In interactive mode all outputs are directed to SYSOUT, in batch mode to SYSLST.

OUTPUT= *SHOW-FILE
Output information of an administration statement (e.g. of a SHOW statement) is written to the temporary file “#SESADM.tsn.RESULT” and output using the BS2000 command SHOW-FILE. This provides you with user-friendly navigation functions, e.g. scrolling.

In the case of OUTPUT=*SHOW-FILE messages are also always directed to SYSOUT when interactive mode is used, and always to SYSLST in batch mode.

This parameter is effective only when SESADM is called in interactive mode.

OUTPUT= *MAIL

Output information of administration statements (e.g. of a SHOW- or ROLLBACK-TRANSACTION statement) is written to the temporary file “#SESADM. tsn.RESULT-F”. It is sent by email to the address which is entered in the MAIL parameter file (see "Sending important information of the DBH session by email") when the next MODIFY-OUTPUT-MODE statement is issued or when the DBH program terminates. The MAIL parameter file must have been assigned with the link name SESMAIL when the DBH started.

“SESADM” is entered under “Subject:”. The sender is the sender address entered in the MAIL parameter file under “SENDER=”. The temporary file is attached to the email.

Messages or information of the DBH are not output to SYSLST or SYSOUT when OUTPUT=*MAIL.

After MODIFY-OUTPUT-MODE OUTPUT=*MAIL has been entered for the first time, the MAIL parameters for this SESADM can no longer be changed. SESADM must be restarted to do this.