Changes the open status of a user journal.
Appendix F,
CVDAs recognized by the translator.
Descrição:
SET JOURNALNUM allows you to specify whether a named user journal is to be opened for output or closed, or
(for an open journal only) whether the underlying operating system files are to be switched.
Opções:
JOURNALNUM(data-value)
- Specifies, as a 16-bit binary value in the range 1 through 99, the number that identifies the journal as defined
in the Journal Definitions (JD).
OPENSTATUS(cvda)
- Specifies whether the journal is to be opened for output, the journal is to be closed, or the underlying operating system
files are to be switched.
- The CVDA values are:
- OPENOUTPUT
- Causes the specified journal to be opened for output.
- CLOSED
- Causes the specified journal to be closed. The invoking task does not retain exclusive control after setting the
journal closed.
- ADVANCE
- Causes a switch of the underlying operating system files.
- The journal must be open.
Conditions
ILLOGIC
- Occurs if ADVANCE is specified for a journal that is not open.
- Ação pré-definida: Terminates the task abnormally.
INVREQ
- Occurs if OPENSTATUS has a CVDA value that is not valid.
- Ação pré-definida: Terminates the task abnormally.
IOERR
- Occurs if an operating system file-related error occurs during the operation.
- Ação pré-definida: Terminates the task abnormally.
JIDERR
- Occurs if the named journal cannot be found in the JD.
- Ação pré-definida: Terminates the task abnormally.
NOTAUTH
- Occurs if a resource security check has failed on JOURNALNUM(data-value).
- Ação pré-definida: Terminates the task abnormally.
Informações relacionadas:
© Copyright IBM Corp.