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.
Values for the parameter are:
  • MVS
  • SMF
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.
Values for the parameter are:
  • NO
  • YES

Output Parameters

REASON
The values for the parameter are:
  • ABEND
  • AKP_KICK_OFF
  • BUFFER_FULL
  • BUFFER_LENGTH_ERROR
  • CONNECT_FAILURE
  • END_OF_CHAINS
  • END_OF_DATA
  • INVALID_FORMAT
  • INVALID_FUNCTION
  • LOG_NOT_DEFINED
  • LOOP
  • WRITE_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
is the 16 byte name of the coupling facility structure of the log stream.