z/OS MVS System Codes
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


338

z/OS MVS System Codes
SA38-0665-00

338

Explanation

An unauthorized task attempted to use authorized options of the ENQ macro instruction during the processing of global resource serialization.

Register 15 may contain a reason code associated with this error:
Code
Explanation
xxxx0001
An unauthorized requester attempted to ENQ an authorized resource.

The list of authorized major names is described in z/OS MVS Programming: Authorized Assembler Services Reference EDT-IXG

xxxx0002
An ISGNQXIT exit specified an authorized resource name for an unauthorized ENQ request.

The list of authorized major names is described in z/OS MVS Programming: Authorized Assembler Services Reference EDT-IXG.

xxxx0003
An unauthorized requester attempted to RESERVE a device that is not allocated to the requesting task.
xxxx0004
An ISGNQXIT exit specified a UCB for a device that is not allocated to the requesting, unauthorized task.
xxxx0005
An unauthorized requester attempted to issue a MASID request.
xxxx0006
An unauthorized requester specified TCB or SMC.
xxxx0008
An unauthorized requester attempted to issue an ECB request.
xxxxyyyy
The reason code could also be associated with an ISGENQ Request=Obtain or Request=Change. Note that the ABEND reason codes for ISGENQ correspond to the same reason codes listed in the Return and Reason Codes section of the ISGENQ macro in z/OS MVS Programming: Authorized Assembler Services Reference EDT-IXG.

System action

The system writes an ABEND dump.

System programmer response

If the reason code is X'0002', check your ISGNQXIT installation exits to ensure that they are not coded to specify an authorized major name for unauthorized requests. If the reason code is X'0004', ensure that the installation exits do not modify the UCB to specify one that is not allocated to an unauthorized requests. Otherwise, if the problem persists, search problem reporting data bases for a fix for the problem. If no fix exists, contact the IBM® Support Center. Provide the ABEND dump.

Programmer response

Correct the macro instruction. Recompile and run the job step again.

If the problem persists, do the following:
  1. Obtain the address of the ENQ parameter list from register 1 in the UNIQUE-3 column of the SVC 30 or SVC 38 entry in the system trace.
  2. Check the parameter list against the SVC 30 or 38 mapping. When analyzing the parameter list, remember that the unit control block (UCB) pointer, if present, is the address of a field that, in turn, contains the address of the UCB.

    If the parameter list contains incorrect data, continue diagnosis in the program that issued the macro.

Source

Global resource serialization

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014