z/OS MVS Setting Up a Sysplex
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Deleting log streams from the LOGR policy

z/OS MVS Setting Up a Sysplex
SA23-1399-00

To delete a log stream you must delete it from the LOGR policy. To accomplish this you can use either:
  • The IXCMIAPU utility for system logger, with DELETE LOGSTREAM NAME(log_stream_name) parameters.
  • The IXGINVNT service, with the REQUEST=DELETE TYPE=LOGSTREAM parameters.
  • The SETLOGR FORCE,DELETE command with the LSN=name parameter.

If there are active connections to the log stream you are trying to delete, or failed connections that cannot be recovered, system logger will not let you delete the log stream. The requestor of the delete will be notified if there are any connectors remaining to that log stream.

You can find out if a log stream has existing connections using the DISPLAY LOGGER command or by using the LIST parameter on the IXCMIAPU utility for system logger. For example, to get information about connectors to a log stream in the SYSPRINT output, use LIST LOGSTREAM NAME(log_stream_name) DETAIL(YES) on the IXCMIAPU utility for system logger. For the LIST parameter of IXCMIAPU, see Administrative data utility.

If the log stream you wish to delete still has one or more active connectors, you can do one of the following:
  • Keep the connection, cancelling deletion of the log stream.
  • Cause the application to disconnect from the log stream or force the log stream to be disconnected using the SETLOGR command, and then delete the log stream from the LOGR policy.

If a logstream delete attempt fails using the IXCMIAPU utility, or the IXGINVNT service, and there are no longer active connections to the logstream, the SETLOGR FORCE,DELETE command may allow you to delete the logstream.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014