Subsystem Control Point (SCP) Management Programming Manual

Event Messages
Subsystem Control Point (SCP) Management Programming Manual520619-001
6-7
2 ZSCP-EVT-ALLOCSEGMENT-ERR
2 ZSCP-EVT-ALLOCSEGMENT-ERR
A call to the ALLOCATESEGMENT or SEGMENT_ALLOCATE_ procedure failed.
ZSCP-TKN-ERRCODE
contains the error code returned by the ALLOCATESEGMENT or
SEGMENT_ALLOCATE_ procedure.
Cause. The SCP process calls the ALLOCATESEGMENT or
SEGMENT_ALLOCATE_ procedure to allocate an extended data segment for
additional data storage in memory. The cause of the event is related to the specific error
returned by the procedure, which is contained in the token ZSCP-TKN-ERRCODE:
Effect. The SCP process issues this event message and calls the ABEND or
PROCESS_STOP_ procedure. The backup SCP process receives system message –101.
The backup process takes over.
If there is no backup process, the file system returns error 201 (nonexistent process) to
every application that has issued an uncompleted command message to the SCP process.
The process that created the SCP process receives system message –101, indicating
process abnormal deletion.
Recovery. If there is no backup process, direct command messages to another SCP
process or hold them until another SCP process is started. Errors –5 and –6 indicate a
data pages (memory) resource problem, which might mean that the system is
Tokens in Event Message
ZSCP-TKN-ERRCODE <1> token-type ZSPI-TYP-INT.
Message Text
ALLOCATESEGMENT failed: <1>
1 through 999 file-system error related to the creation or opening of the swap file
0 no error occurred
-1 invalid segment ID
-2 invalid segment size
-3 bounds violation on file name
-4 invalid combination of options
-5 inability to allocate segment space
-6 inability to allocate segment table page space
-7 security violation on attempt to share segment
-8 pin of cpu,pin does not exist
-9 pin of cpu,pin does not have the segment allocated
-10 trying to share segment with self