Abend in stored procedure when executing non-XPlink DLL on z/OS
2 years ago
Originally Published: 2007-09-13
Article Number
000061144
Applies To
Key Manager Client 1.5.x
OS/390
Issue
Abend in stored procedure when executing non-XPlink DLL on z/OS

Attempting to execute in a stored procedure address space on z/OS when an abend occurs.

Here is one of the messages related to the abend:

Initial condition code is EDC6006E The raise() function was issued for the signal SIGABRT.

Also GSKCMS31 is listed as an abending module.


Resolution

Enable the runtime POSIX option in order to successfully call the KMClient API.


Turn POSIX ON for only the Stored Procedure under consideration, via the RUN OPTIONS parameter.   For example:

CREATE PROCEDURE DEVL7083.RUNSTATP

( OUT UTILITIES_EX INTEGER

, OUT HIGHEST_RETCODE INTEGER

, OUT RETCODE INTEGER

, OUT MESSAGE VARCHAR(1331) CCSID EBCDIC)

RESULT SETS 1

EXTERNAL NAME RUNSTATP

LANGUAGE C

PARAMETER STYLE GENERAL WITH NULLS

MODIFIES SQL DATA

WLM ENVIRONMENT WLMENVR

STAY RESIDENT NO

COLLID DEVL7083

PROGRAM TYPE MAIN

RUN OPTIONS 'TRAP(OFF),STACK(,,ANY,),POSIX(ON)'

COMMIT ON RETURN NO

SECURITY USER

ASUTIME NO

LIMIT;