The data that is returned in the EDQ for the C and Q function codes has the following format:
Contains the jobname of the ENQ requestor or the jobname of the ENQ provider and requestor that is delimited with a slash.
Length: 17
Contains the system name of the ENQ requestor.
Length: 8
Contains the ENQ major name (QNAME).
Length: 8
Contains the scope of the ENQ request:
A scope of SYSTEM
A scope of SYSTEMS
A scope of STEP
Should never occur
Length: 4
Contains the global (G) or local (L) request.
Length: 1
Contains the ASID of ENQ requester or the ASID of ENQ provider and requestor that is delimited with a slash in hexadecimal format.
Length: 9
Contains the TCB address of ENQ requestor in hexadecimal format.
Length: 8
Contains the status of O = Owns the resource or W = Waiting for the resource.
Length: 1
Contains the type of S = Shared or E = Exclusive.
Length: 1
Contains the device number (if the request was a RESERVE request) or N/A.
Length: 1
Contains the ENQ minor name (RNAME).
Note: The minor name (RNAME) may contain embedded blanks; therefore, treat everything after the tenth word as part of the RNAME. Each record contains at least 11 words.
Length: 255
Examples: OPSENQ function in various scenarios
temp = OPSENQ(“E”,,”RESOURCEA”,”E”,”SYSTEM”,”HAVE”)
. . . OPS/REXX code that requires serialization . . . temp = OPSENQ(“D”,,”RESOURCEA”)
lines=OPSENQ('Q','SYSDSN','SYS1.OPS.SUPPRESS.RULES',,'SYSTEM')
lines=OPSENQ('Q','SPFEDIT','MYUID.*',,'ALL')
lines=OPSENQ('C','*','*',,'ALL')
CATALOG/T01403A CA11 SYSIGGV2 SYS L 001F/01E8 006DCBC8 O S 2E6A ICF.IDI.USERCAT2
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|