When the Latch_Create service returns control to your program,
return_code contains a hexadecimal return code. The following
table identifies return codes in hexadecimal and decimal (in parentheses),
the equate symbol associated with each return code, the meaning of
each return code, and a recommended action:
Table 1. ISGLCRT Return
CodesReturn code and Equate symbol |
Meaning and Action |
---|
00
(0)
ISGLCRT_SUCCESS
|
Meaning: The Latch_Create service
completed successfully. Action: None required.
|
04
(4)
ISGLCRT_DUPLICATE_NAME
|
Meaning: The specified latch_set_name
already exists, and is associated with a latch set that was created
by a program running in the current primary address space. The latch
manager does not create a new latch set. Action:
To create a new latch set, specify a unique name on the latch_set_name
parameter, then call the Latch_Create service again. Otherwise,
continue processing with the returned latch set token.
|
10
(16)
ISGLCRT_NO_STORAGE
|
Meaning: Environmental error. Not enough
storage was available to contain the requested number of latches.
The latch manager does not create a new latch set. Action:
Specify a smaller value on the number_of_latches parameter.
|