IXGDELET — Deleting log data from a log stream

Description

Use the IXGDELET macro to delete log blocks from a log stream.

For information about using the system logger services and the system logger inventory, see z/OS MVS Programming: Assembler Services Guide, which includes information about related macros IXGCONN, IXGBRWSE, IXGWRITE, IXGINVNT, and IXGQUERY.

Environment

The requirements for the caller are:

Environmental factor Requirement
Minimum authorization: Problem state with any PSW key. The caller must be supervisor state with any system (0-7) PSW key to either invoke the service in SRB mode or use the MODE=SYNCEXIT keyword.
Dispatchable unit mode: Task or SRB
Cross memory mode: PASN=HASN, any SASN
AMODE: 31-bit Start of changeor 64-bitEnd of change
ASC mode: Primary or access register (AR)
Interrupt status: Enabled for I/O and external interrupts.
Locks: No locks held.
Control parameter:
All control parameters must be in the primary address space with the following exceptions:
  • The ECB should be addressable from the home address space.
  • All storage areas specified must be in the same storage key as the caller.

Programming requirements

  • The current primary address space must be the same primary address space used at the time your program issued the IXGCONN request.
  • The parameter list for this service must be addressable in the caller's primary address space.
  • The calling program must be connected to the log stream with write authority through the IXGCONN service.
  • Include the IXGCON mapping macro in your program. This macro provides a list of equate symbols for the system logger services.
  • Include mapping macro IXGANSAA in your program. This macro shows the format of the answer area output returned for each system logger service in the ANSAREA parameter.
  • If there are multiple connections to a log stream, each connected application must serialize delete requests so that a delete of log blocks does not occur, for example, in the middle of another application's browse session.
  • When coding the MODE=SYNCECB and ECB parameters, you must ensure that:
    • The virtual storage area specified for the ECB resides on a full word boundary.
    • You initialize the ECB field to zero.
    • The ECB resides in either the common or home address space storage at the time the IXGDELET request is issued.
    • The storage used for output parameters, such as ANSAREA and OBLOCKID, are accessible by both the IXGDELET invoker and the ECB waiter.
  • When coding the MODE=SYNCEXIT parameter, you must ensure that the storage used for output parameters, such as ANSAREA and OBLOCKID, are accessible by both the IXGDELET invoker and the completion exit routine.

Restrictions

  • All storage areas specified in this service must be in the same storage key as the caller's storage key and must exist in the caller's primary address space.
  • There is more than one version of this macro available. The parameters you can use depend on the version you specify on the PLISTVER parameter. See the description of the PLISTVER parameter for more information.

Input register information

Before issuing the IXGDELET macro, the caller does not have to place any information into any register unless using it in register notation for a particular parameter, or using it as a base register.

Output register information

When control returns to the caller, the GPRs contain:
Register
Contents
0
Reason code, if register 15 contains a non-zero return code
1
Used as a work register by the system
2-13
Unchanged
14
Used as a work register by the system
15
Return code
When control returns to the caller, the ARs contain:
Register
Contents
0-1
Used as a work register by the system
2-13
Unchanged
14-15
Used as a work register by the system

Some callers depend on register contents remaining the same before and after issuing a service. If the system changes the contents of registers on which the caller depends, the caller must save them before issuing the service, and restore them after the system returns control.

Performance implications

None.

Syntax

The standard form of the IXGDELET macro is written as follows:

Syntax Description
   
   name name: symbol. Begin name in column 1.
   
One or more blanks must precede IXGDELET.
   
IXGDELET  
   
One or more blanks must follow IXGDELET.
   
,STREAMTOKEN=streamtoken streamtoken: RS-type address or register (2) - (12).
   
,BLOCKS=ALL  
,BLOCKS=RANGE  
   
   ,BLOCKID=blockid blockid: RS-type address or register (2) - (12).
   
,ANSAREA=ansarea ansarea: RS-type address or register (2) - (12).
   
,ANSLEN=anslen anslen: RS-type address or register (2) - (12).
   
   ,FORCE=NO Default: FORCE=NO
   ,FORCE=YES  
   
   ,FORCEINFO=NO Default: FORCEINFO=NO
   
   ,OBLOCKID=oblockid oblockid: RS-type address or register (2) - (12).
   
   MODE=SYNC Default: MODE=SYNC
   MODE=ASYNCNORESPONSE  
   MODE=SYNCECB  
   MODE=SYNCEXIT  
   
   ,REQDATA=reqdata reqdata: RS-type address or register (2) - (12).
   
   ,ECB=ecb ecb: RS-type address or register (2) - (12).
   
   ,DIAG=NO_DIAG Default: DIAG=NO_DIAG
   ,DIAG=NO  
   ,DIAG=YES  
   
   ,PLISTVER=IMPLIED_VERSION  
   ,PLISTVER=MAX Default: IMPLIED_VERSION
   ,PLISTVER=0  
   ,PLISTVER=1  
   
   ,RETCODE=retcode retcode: RS-type address or register (2) - (12).
   
   ,RSNCODE=rsncode rsncode: RS-type address or register (2) - (12).
   
   ,MF=S Default: MF=S
   ,MF=(L,list addr)  
   ,MF=(L,list addr,attr)  
   ,MF=(L,list addr,0D)  
   ,MF=(E,list addr)  
   ,MF=(E,list     addr,COMPLETE)  
   ,MF=(E,list addr,NOCHECK)  
   ,MF=(M,list addr)  
   ,MF=(M,list addr,COMPLETE)  
   ,MF=(M,list addr,NOCHECK)  
   

Parameters

The parameters are explained as follows:

,STREAMTOKEN=streamtoken
Specifies the name or address (using a register) of a required 16-byte input field containing the token for the log stream that you want to search. The stream token is returned by the IXGCONN service at connection to the log stream.
,BLOCKS=ALL
,BLOCKS=RANGE
Specifies whether all or just a subset of log blocks in a log stream be deleted.
  • BLOCKS=ALL: Specifies that all the log blocks in the specified log stream be deleted.
  • BLOCKS=RANGE: Specifies that the range of log blocks, older than the block specified on the BLOCKID parameter, be deleted. The BLOCKID parameter is required with BLOCKS=RANGE, See z/OS MVS Programming: Assembler Services Guide for more information on deleting a range of log blocks.
,BLOCKID=blockid
Specifies the name or address (using a register) of a 8-byte input field which contains a log block identifier. BLOCKID is required with the BLOCKS=RANGE parameter. All blocks in the log stream older than the block specified on BLOCKID will be deleted. Note that the block specified in BLOCKID is not deleted.

Block identifiers are returned in the RETBLOCKID field of the IXGWRITE service.

,ANSAREA=ansarea
Specifies the name (or address in a register) of an answer area containing information about this request. The answer area must be at least 40 bytes. To map this information, use the IXGANSAA macro.
,ANSLEN=anslen
Specifies the name (or address in a register) of the 4-byte field containing the answer area length. The length of the answer area must be at least 40 bytes and must be the same length as the field specified in ANSAREA.

To ascertain the optimal answer area length, look at the ANSAA_PREFERRED_SIZE field of the IXGANSAA macro.

,FORCE=NO
,FORCE=YES
Specifies whether this delete request can be overridden by a resource manager exit.

If you specify FORCE=NO, which is the default, the delete request can be overridden by the resource manager exit.

If you specify FORCE=YES, the delete request cannot be overridden by a delete exit.

,OBLOCKID=oblockid
Specifies the name or address (using a register) of an 8 character output field where the resource manager places the override block identifier.
,MODE=SYNC
,MODE=ASYNCNORESPONSE
,MODE=SYNCECB
,MODE=SYNCEXIT
Specifies that the request should be processed in one of the following ways:
  • MODE=SYNC: Specifies that the request process synchronously. Control is not returned to the caller until request processing is complete. If necessary, the calling program will be suspended until the request completes.
  • MODE=ASYNCNORESPONSE: Specifies that the request process asynchronously. The caller is not notified when the request completes and the answer area (ANSAREA) fields will not contain valid information.

    To use this parameter, the system where the application is running must be IPLed. The application must run in supervisor state, key 0-7 to use this parameter.

  • MODE=SYNCECB: Specifies that the request process synchronously if possible. If the request processes asynchronously, control returns to the caller before the request completes and the event control block (ECB) specified on the ECB parameter is posted when the request completes. The ECB parameter is required with MODE=SYNCECB.
  • MODE=SYNCEXIT: Specifies that the request process synchronously, if possible. If the request cannot be processed synchronously, your complete exit (specified on the COMPLETEEXIT parameter on the IXGCONN request) gets control when this request completes. Control returns to the caller with a return and reason code indicating that the request is not complete. The system passes the data specified on the REQDATA parameter, if specified, to the complete exit.

    When a MODE=SYNCEXIT request processes asynchronously, system logger maintains latent binds to the storage location specified by the answer area (ANSAREA) fields, and, if specified, to RETBLOCKID and TIMESTAMP.

    To use this parameter, the system where the application is running must be IPLed.The application must run in supervisor state, key 0-7 to use this parameters.

,REQDATA=reqdata
Specifies the name (or address in a register) of a 8-byte input field containing user-defined data to pass to the complete exit. REQDATA is only valid with the MODE=SYNCEXIT parameter.
ECB=ecb
Specifies the name or address (using a register) of a 4-byte input field that contains an event control block (ECB) to be posted when the request completes.
Before coding ECB, you must ensure that:
  • You initialize the ECB.
  • The ECB must reside in either common storage or the home address space where the IXGDELET request was issued.
  • The virtual storage area specified for the ECB must reside on a fullword boundary.
,DIAG=NO_DIAG
,DIAG=NO
,DIAG=YES
Specifies whether or not the DIAG option on the IXGCONN for this logstream will be in effect for this delete log data request. Refer to the DIAG keyword on the IXGINVNT, IXGCONN and IXGBRWSE macro services.

If you specify DIAG=NO_DIAG, which is the default, then the DIAG option on the IXGCONN for this logstream will be in effect for this delete log data request.

If you specify DIAG=NO, then Logger will not take additional diagnostic action as defined on the logstream definition DIAG parameter.

If you specify DIAG=YES, then Logger will take additional diagnostic action as defined on the logstream definition DIAG parameter providing the IXGCONN connect DIAG specification allows it.

,PLISTVER=IMPLIED_VERSION
,PLISTVER=MAX
,PLISTVER=0
,PLISTVER=1
An optional input parameter that specifies the version of the macro. PLISTVER determines which parameter list the system generates.
The values are:
  • IMPLIED_VERSION, which is the lowest version that allows all parameters specified on the request to be processed. If you omit the PLISTVER parameter, IMPLIED_VERSION is the default. Note that on the list form, the default will cause the smallest parameter list to be created.
  • MAX, if you want the parameter list to be the largest size currently possible. This size might grow from release to release and affect the amount of storage that your program needs.

    If you can tolerate the size change, IBM recommends that you always specify PLISTVER=MAX on the list form of the macro. Specifying MAX ensures that the list-form parameter list is always long enough to hold all the parameters you might specify on the execute form when both forms are assembled using the same level of the system. In this way, MAX ensures that the parameter list does not overwrite nearby storage.

  • 0, supports all parameters except those specifically referenced in higher versions.
  • 2, supports both the following parameters and parameters from version 0:
    • FORCE
    • OBLOCKID
    • REQDATA
To code: specify in this input parameter one of the following:
  • IMPLIED_VERSION
  • MAX
  • A decimal value of 0 or 1
,RETCODE=retcode
Specifies a name or address (using a register) of a 4-byte output field where the system will place the return code. The return code is also in general purpose register (GPR) 15.
,RSNCODE=rsncode
Specifies a name (or address in a register) of a 4-byte output field where the system will place the reason code. The reason code is also in general purpose register (GPR) 0, if you received a non-zero return code.
,MF=S
,MF=(L,list addr)
,MF=(L,list addr,attr)
,MF=(L,list addr,0D)
,MF=(E,list addr)
,MF=(E,list addr,COMPLETE)
,MF=(E,list addr,NOCHECK)
,MF=(M,list addr)
,MF=(M,list addr,COMPLETE)
,MF=(M,list addr,NOCHECK)
Use MF=S to specify the standard form of the macro, which builds an inline parameter list and generates the macro invocation to transfer control to the service. MF=S is the default.

Use MF=L to specify the list form of the macro. Use the list form together with the execute form of the macro for applications that require reentrant code. The list form defines an area of storage that the execute form uses to store the parameters. Only the PLISTVER parameter can be specified on the list form of the macro. IBM recommends that you always specify PLISTVER=MAX on the list form of the macro.

Use MF=E to specify the execute form of the macro. Use the execute form together with the list form of the macro for applications that require reentrant code. The execute form of the macro stores the parameters into the storage area defined by the list form, and generates the macro invocation to transfer control to the service.

Use MF=M together with the list and execute forms of the macro for service routines that need to provide different options according to user-provided input. Use the list form to define a storage area; use the modify form to set the appropriate options; then use the execute form to call the service.

IBM recommends that you use the modify and execute forms in the following order:
  • Use MF=(M,list_addr,COMPLETE), specifying appropriate parameters, including all required ones.
  • Use MF=(M,list_addr,NOCHECK), specifying the parameters you want to change.
  • Use MF=(E,list_addr,NOCHECK), to execute the macro.
,list addr
The name of a storage area to contain the parameters.
,attr
An optional 1- to 60-character input string, which can contain any value that is valid on an assembler DS pseudo-op. You can use this parameter to force boundary alignment of the parameter list. If you do not code attr, the system provides a value of 0D, which forces the parameter list to a doubleword boundary.
,COMPLETE
Specifies that the system is to check for required parameters and supply defaults for omitted optional parameters.
,NOCHECK
Specifies that the system is not to check for required parameters and is not to supply defaults for omitted optional parameters.

ABEND codes

None.

Return and reason codes

When IXGDELET macro returns control to your program, GPR 15 contains a return code and GPR 0 contains a reason code.

Note: A program invoking the IXGDELET service may indicate through the MODE parameter that requests which can not be completed synchronously should have control returned to the caller prior to the completion of the request. When the request does complete, the invoker will be notified and the return and reason codes are in the answer area mapped by IXGANSAA.
The IXGCON macro provides equate symbols for the return and reason codes. The equate symbols associated with each hexadecimal return code are as follows:
00
IXGRETCODEOK - Service completes successfully.
04
IXGRETCODEWARNING - Service completes with a warning.
08
IXGRETCODEERROR - Service does not complete.
0C
IXGRETCODECOMPERROR - Service does not complete.

The following table contains hexadecimal return and reason codes, the equate symbols associated with each reason code, and the meaning and suggested action for each return and reason code.

Table 1. Return and Reason Codes for the IXGDELET Macro
Return Code Reason Code Meaning and Action
00 xxxx0000 Equate Symbol: IxgRsnCodeOk

Explanation: Request processed successfully.

04 xxxx0401 Equate Symbol: IxgRsnCodeProcessedAsynch

Explanation: Program error. The program specified MODE=SYNCECB and the request must be processed asynchronously.

Action: Wait for the ECB specified on the ECB parameter to be posted, indicating that the request is complete. Check the ANSAA_ASYNCH_RETCODE and ANSAA_ASYNCH_RSNCODE fields, mapped by IXGANSAA, to determine whether the request completed successfully.

04 xxxx040B Equate Symbol: IxgRsnCodeRMNotConnected

Explanation: Program or environment error. The log stream is identified as being a source log stream managed by a resource manager (RMNAME is specified in the LOGR couple data set). However, at the time of the delete request, the resource manager was not connected to the log stream and FORCE=NO was specified on the request. Delete requests can only be honored on a resource manager managed system if the resource manager is connected to the log stream.

Action: Either:
  • Start the resource manager so that it can connect to the log stream.
  • Issue the IXGDELET request specifying FORCE=YES to delete the log block even though the resource manager is not connected to the source log stream.
04 xxxx040C Equate Symbol: IxgRsnCodeRMOverrideOK

Explanation: The caller's delete request was overridden by the associated resource manager. The override information was successfully processed.

04 xxxx040D Equate Symbol: IxgRsnCodeRMNoBlock

Explanation: Program error. The log block identifier on the IXGDELET request does not exist in the log stream. Either the block id never existed or was deleted in a previous IXGDELET request. This warning is issued only if a resource manager overrides the caller-specified block id.

Action: Make sure that the block id specified on the IXGDELET request is correct.

04 xxxx040E Equate Symbol: IxgRsnCodeRMBadGap

Explanation: Environment error. The IXGDELET request failed because the requested log data was unreadable. This problem is caused by either an I/O error while attempting to read a DASD log data set or a log data set was deleted using an interface other than IXGDELET. This reason code is issued only when a resource manager exit overrides the block identifier specified on the IXGDELET request.

Action: System logger returns the block identifier of the first readable log block (in the direction of youngest data) in the ANSAA_GAPS_NEXT_BLKID field of the answer area mapped by IXGANSAA. If appropriate, reissue the IXGDELET request using this block identifier.

04 xxxx040F Equate Symbol: IxgRsnCodeRMEOFGap

Explanation: Environment error. While processing the IXGDELET request, system logger prematurely reached the end or beginning of the log stream. The portion of the log stream from the requested log data to either the beginning or end of the log stream was unreadable. This problem is caused by either an I/O error while attempting to read a DASD log data set or a log data set was deleted using an interface other than IXGDELET. This reason code is issued only when a resource manager exit overrides the block identifier specified on the IXGDELET request.

Action: The action you take depends on whether your application can tolerate any loss of data. You can either:
  • Accept the loss of data and continue processing this log stream.
  • Stop using this log stream.
  • Correct the problem and re-issue the request.
04 xxxx0410 Equate Symbol: IxgRsnCodeRMLossOfDataGap

Explanation: Environment error. The log data you tried to delete is in a section of the log stream where data is permanently missing. This condition occurs when a system or coupling facility is in recovery from a failure and not all the log data could be recovered. This reason code is issued only when a resource manager exit overrides the block identifier specified on the IXGDELET request.

Action: If your application cannot tolerate any data loss, stop issuing system logger services to this log stream, disconnect from the log stream, and reconnect to a new, undamaged log stream. If your application can tolerate data loss, you can continue using the log stream.

04 xxxx0411 Equate Symbol: IxgRsnCodeRMAbended

Explanation: Program error. The resource manager abended and percolated to the system logger recovery environment. The IXGDELET request was not processed.

Action: Look for and correct the problem in your resource manager program or reissue the delete request, specifying FORCE=YES.

04 xxxx0412 Equate Symbol: IxgRsnCodeRMDisabled

Explanation: Environment error. The log stream is identified as being managed by a resource manager (RMNAME is specified in the LOGR couple data set). The resource manager is connected to the log stream, but is disabled due to an abend from which it did not recover successfully (by percolating to system logger recovery environment).

Action: Either:
  • Cancel the resource manager exit and then restart the resource manager address space.
  • Reissue the request, specifying FORCE=YES.
04 xxxx0414 Equate Symbol: IxgRsnCodeRMStoppedDelete

Explanation: The resource manager does not allow this IXGDELET request to delete any log blocks.

Action: Determine why the resource manager is prohibiting deletes. Specify FORCE=YES to stop the resource manager exit from stopping the delete request.

08 xxxx0801 Equate Symbol: IxgRsnCodeBadParmlist

Explanation: Program error. The parameter list could not be accessed.

Action: Ensure that the storage area for the parameter list is accessible to the system logger for the duration of the request. The parameter list storage must be addressable in the caller's primary address space and in the same key as the caller.

08 xxxx0802 Equate Symbol: IxgRsnCodeXESError

Explanation: System error. A severe cross-system extended services (XES) error has occurred.

Action: See ANSAA_DIAG1 for the XES return code and ANSAA_DIAG2 for the XES reason code.

08 xxxx0804 Equate Symbol: IxgRsnCodeNoBlock

Explanation: Program error. The block identifier or time stamp does not exist in the log stream. Either the value provided was never a valid location within the log stream or a prior IXGDELET request deleted the portion of the log stream it referenced.

Action: Ensure that the value provided references an existing portion of the log stream and issue the request again. Use the LIST LOGSTREAM DETAIL(YES) request on the IXCMIPU utility to display the range of valid block identifiers for the log stream.

08 xxxx0806 Equate Symbol: IxgRsnCodeBadStmToken
Explanation: Program error. One of the following occurred:
  • The stream token was not valid.
  • The specified request was issued from an address space other than the connector's address space.
Action: Do one of the following:
  • Make sure that the stream token specified is valid.
  • Ensure the request was issued from the connector's address space.
08 xxxx080A Equate Symbol: IxgRsnCodeRequestLocked

Explanation: Program error. The program issuing the request is holding a lock.

Action: Ensure that the program issuing the request is not holding a lock.

08 xxxx0814 Equate Symbol: IxgRsnCodeNotAvailForIPL

Explanation: Environment error. The system logger address space is not available for the remainder of this IPL. The system issues messages about this error during system logger initialization.

Action: See the explanation for system messages issued during system logger initialization.

08 xxxx0815 Equate Symbol: IxgRsnCodeNotEnabled

Explanation: Program error. The program issuing the request is not enabled for I/O and external interrupts, so the request fails.

Action: Make sure the program issuing the request is enabled for I/O and external interrupts.

08 xxxx0816 Equate Symbol: IxgRsnCodeBadAnslen

Explanation: Program error. The answer area length (ANSLEN parameter) is not large enough. The system logger returned the required size in the Ansaa_Preferred_Size field of the answer area, mapped by IXGANSAA macro.

Action: Re-issue the request, specifying an answer area of the required size.

08 xxxx0817 Equate Symbol: IxgRsnCodeBadAnsarea

Explanation: Program error. The storage area specified on the ANSAREA parameter cannot be accessed. This may occur after the system logger address space has terminated.

Action: Specify storage that is in the caller's primary address space and in the same key as the calling program at the time the system logger service was issued. This storage must be accessible until the request completes.

08 xxxx081C Equate Symbol: IxgRsnCodeNotAuthFunc

Explanation: Program error. The program connected to the log stream with the AUTH=READ parameter and then tried to delete or write data. You cannot write or delete data when connected with read authority.

Action: Issue the IXGCONN service with AUTH=WRITE authority and then re-issue this request.

08 xxxx081F Equate Symbol: IxgRsnCodeXcdsError

Explanation: System error. System logger encountered an internal problem while processing the LOGR couple data set.

Action: Contact the IBM Support Center. Provide the return and reason code and the contents of the answer area (ANSAREA field).

08 xxxx082D Equate Symbol: IxgRsnCodeExpiredStmToken

Explanation: Environment error. The stream token is no longer valid because the connector has been disconnected.

Action: Connect to the log stream again before issuing any functional requests.

08 xxxx0836 Equate Symbol: IxgRsnCodeBadGap

Explanation: Environment error. The request failed because the requested log data was unreadable. This condition could be caused by either an I/O error while attempting to read a log data set or a log data set deleted without using the IXGDELET interface.

Action: The block identifier of the first accessible block toward the youngest data in the log stream is returned in the ANSAA_GAPS_NEXT_BLKID field in the answer area mapped by the IXGANSAA macro. If appropriate, re-issue the IXGDELET request using this block identifier.

08 xxxx083D Equate Symbol: IxgRsnCodeBadECBStor

Explanation: Program error. The ECB storage area was not accessible to the system logger.

Action: Ensure that the storage area is accessible to the system logger for the duration of the request. The storage must be addressable in the caller's home address space and in the same key as the caller.

08 xxxx084A Equate Symbol: IxgRsnCodeEOFGap

Explanation: Environment error. The request prematurely reached the beginning or the end of the log stream. The portion of the log stream from the requested log data to either the beginning or the end of the log stream (depending on the direction of the read) was unreadable. This condition may be caused by either an I/O error while trying to read a log data set, or a log data set deleted without using the IXGDELET interface.

Action: The action necessary is completely up to the application depending on how critical your data is. You can do one of the following:
  • Accept this condition and continue reading.
  • Stop processing the log all together.
  • Attempt to get the problem rectified, if possible, and then try to re-issue the request.
08 xxxx084B Equate Symbol: IxgRsnCodeLossOfDataGap

Explanation: Environment error. The requested log data referenced a section of the log stream where log data is permanently missing. This condition occurs when a system or coupling facility is in recovery due to a failure, but not all of the log data in the log stream could be recovered.

Action: If your application cannot tolerate any data loss, stop issuing system logger services to this log stream, disconnect from the log stream, and reconnect to a new, undamaged log stream. You can continue using the log stream if your applications can tolerate data loss.

08 xxxx0861 Equate Symbol: IxgRsnCodeRebuildInProgress

Explanation: Environment error. No requests can be processed for this log stream because a coupling facility structure re-build is in progress for the structure associated with this log stream.

Action: Listen for ENF signal 48 that will indicate one of the following:
  • The log stream is available because the re-build completed successfully. Re-issue the request.
  • The re-build failed and the log stream is not available.
08 xxxx0862 Equate Symbol: IxgRsnCodeXESPurge

Explanation: Environment error. An cross-system extended services (XES) request has been purged due to re-build processing.

Action: Listen for ENF signal 48 that will indicate one of the following:
  • The log stream is available because the re-build completed successfully. Re-issue the request.
  • The re-build failed and the log stream is not available.
08 xxxx0863 Equate Symbol: IxgRsnCodeStructureFailed

Explanation: Environment error. Either the coupling facility structure associated with the log stream has failed or the coupling facility itself has failed.

Action: Listen for ENF signal 48 that will indicate one of the following:
  • The log stream is available because the re-build completed successfully. Re-issue the request.
  • The re-build failed and the log stream is not available.
08 xxxx0864 Equate Symbol: IxgRsnCodeNoConnectivity

Explanation: Environment error. No connectivity exists to the coupling facility associated with the log stream. The system logger will either attempt to re-build the log stream in another coupling facility or the log stream will be disconnected.

Action: Listen for ENF signal 48 that will indicate one of the following:
  • The log stream is available because the re-build completed successfully. Re-issue the request.
  • The re-build failed and the log stream is not available.
  • The log stream has been disconnected from this system.

If a re-build initiated because of a loss of connectivity previously failed, an ENF corresponding to this reason code might not be issued. Further action by the installation might be necessary to cause the change of the log stream status again. Check the log for messages IXG101I, IXG107I and related rebuild messages for information on resolving any outstanding issues.

08 xxxx0890 Equate Symbol: IxgRsnCodeAddrSpaceNotAvail

Explanation: System error. The system logger address space failed and is not available.

Action: Do not issue system logger requests.

08 xxxx0891 Equate Symbol: IxgRsnCodeAddrSpaceInitializing

Explanation: System error. The system logger address space is not available because it is IPLing.

Action: Listen for ENF signal 48, which will indicate when the system logger address space is available. Re-connect to the log stream, then re-issue this request. You can also listen for ENF signal 48, which will indicate if the system logger address space will not be available for the life of the IPL. In that case, do not issue system logger services.

08 xxxx08D0 Equate Symbol: IxgRsnCodeProblemState
Explanation: Environment error. The request was rejected because of one of the following:
  • The request was issued in SRB mode while the requestor was in problem program state.
  • The SYNCEXIT parameter was specified while the requestor's PSW key was in problem program key.

Action: Change the invoking environment to supervisor state.

08 xxxx08D1 Equate Symbol: IxgRsnCodeProgramKey
Explanation: Environment error. The request was rejected because of one of the following:
  • The request was issued in SRB mode while the requestor was in problem program key (key 8-F).
  • The SYNCEXIT parameter was specified while the requestor's PSW key was in problem program key.

Action: Change the invoking environment to a system key (key 0-7).

08 xxxx08D2 Equate Symbol: IxgRsnCodeNoCompleteExit

Explanation: Program error. MODE=SYNCEXIT was specified, but the connection request did not identify a complete exit.

Action: Either change this request to a different MODE option, or reconnect to the log stream with a complete exit specified on the COMPLETEXIT parameter.

08 xxxx085F Equate Symbol: IxgRsnPercToRequestor

Explanation: Environment error. Percolation to the service requestor's task occurred because of an abend during system logger processing. Retry was not allowed.

Action: Issue the request again. If the problem persists, contact the IBM Support Center.

0C xxxx0000 Equate Symbol: IxgRetCodeCompError
Explanation: User or System error. One of the following occurred:
  • You issued the FORCE IXGLOGR,ARM command to terminate the system logger address space.
  • System logger component error occurred.

Action: If this reason code is not the result of forcing the system logger address space, search problem reporting data bases for a fix for the problem. If no fix exists, contact the IBM Support Center. Provide the diagnostic data in the answer area (IXGANSAA) and any dumps or LOGREC entries from system logger.

Examples

Example 1 : Delete all data from the log stream.

          IXGDELET STREAMTOKEN=TOKEN,                                  X
               BLOCKS=ALL,                                             X
               MODE=SYNC,                                              X
               ANSAREA=ANSAREA,                                        X
               ANSLEN=ANSLEN,                                          X
               RSNCODE=RSNCODE,                                        X
               MF=S,                                                   X
               RETCODE=RETCODE
ANSLEN   DC    A(L'ANSAREA)           length of logger's answer area
TOKEN    DS    CL16                   stream token from connect
ANSAREA  DS    CL(ANSAA_LEN)          answer area for log requests
RETCODE  DS    F                      return code
RSNCODE  DS    F                      reason code
DATAREA  DSECT
         IXGANSAA LIST=YES            answer area

Example 2 : Delete a range of data from the log stream asynchronously, if synchronous processing is not possible.

          IXGDELET STREAMTOKEN=TOKEN,                                  X
               BLOCKS=RANGE,                                           X
               BLOCKID=BLOCKID,                                        X
               MODE=SYNCECB,                                           X
               ECB=ANECB,                                              X
               ANSAREA=ANSAREA,                                        X
               ANSLEN=ANSLEN,                                          X
               RSNCODE=RSNCODE,                                        X
               MF=S,                                                   X
               RETCODE=RETCODE
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*         If rsncode = '00000401'X then wait on
*         the ecb ANECB.
*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
ANSLEN   DC    A(L'ANSAREA)           length of logger's answer area
BLOCKID  DS    CL8                    block id from which to delete
TOKEN    DS    CL16                   stream token from connect
ANSAREA  DS    CL(ANSAA_LEN)          answer area for log requests
ANECB    DS    F                      ecb on which to wait
RETCODE  DS    F                      return code
RSNCODE  DS    F                      reason code
DATAREA  DSECT
         IXGANSAA LIST=YES            answer area

Example 3 : Delete all data from the log stream using registers with the macro.

          LA   R6,TOKEN              load stream token into register 6
          IXGDELET STREAMTOKEN=(6),                                    X
               BLOCKS=ALL,                                             X
               MODE=SYNC,                                              X
               ANSAREA=ANSAREA,                                        X
               ANSLEN=ANSLEN,                                          X
               RSNCODE=RSNCODE,                                        X
               MF=S,                                                   X
               RETCODE=RETCODE
ANSLEN   DC    A(L'ANSAREA)           length of logger's answer area
TOKEN    DS    CL16                   stream token from connect
ANSAREA  DS    CL(ANSAA_LEN)          answer area for log requests
RETCODE  DS    F                      return code
RSNCODE  DS    F                      reason code
DATAREA  DSECT
         IXGANSAA LIST=YES            answer area
R6       EQU   6