LGLB gate, CONNECT function
Creates a log stream object and if of type MVS, a connection is made to the log stream, denoted by its name, through the MVS logger.
Input Parameters
- JOURNAL_NAME
- is the journal name associated with the log stream on this request.
- LOG_TYPE
- is the log stream type.
- STREAM_NAME
- The 26-byte log stream name to be opened
- SYSTEM_LOG
- Whether or not this journal is to be used as a system log.
Output Parameters
- REASON
- The values for the parameter are:
ABENDAKP_KICK_OFFBUFFER_FULLBUFFER_LENGTH_ERRORCONNECT_FAILUREEND_OF_CHAINSEND_OF_DATAINVALID_FORMATINVALID_FUNCTIONLOG_NOT_DEFINEDLOOPWRITE_FAILURE
- LOGBUF_TOKEN
- is the token denoting the connected log stream, which can be used as input to GL_WRITE, GL_FORCE and DISCONNECT.
- RESPONSE
- Indicates whether the domain call was successful. For more information, see RESPONSE parameter on domain interfaces.
- STRUCTURE_NAME
- Optional Parameter