FSEG-SPI
FLAM Segment Store Exit (FSEG) Service Provider Interface (SPI) Version: 5.2.1-42969
FsegVls Struct Reference

Parameters for FSEG_FUNC_VLS. More...

#include <FSEG.h>

Data Fields

unsigned int uiVsnCnt
 [OUTPUT] Number of version entries in psVsnEnt.
unsigned int uiRes0
 [DUMMY] Reserved; set to 0.
TsFsegVsnEnt * psVsnEnt
 [OUTPUT] Pointer to allocated version entry array (caller frees).

Detailed Description

Parameters for FSEG_FUNC_VLS.

The provider allocates the version list array with malloc() and writes its address to psVsnEnt. FLAM frees the array with the standard free() function after use.

z/OS cross-DLL heap sharing
On z/OS, malloc() and free() in different DLLs operate on separate C runtime heaps by default. If the provider DLL and FLAM are linked against different runtime libraries, the free() call in FLAM will corrupt or crash the process. To avoid this:
  • Link both the provider DLL and FLAM against the LE shared runtime (CEEPLPKA) so they share a single C runtime heap.
  • Alternatively, the provider may set psVsnEnt to NULL and uiVsnCnt to 0 to signal "no versioning support", if the backend does not support version enumeration.

Field Documentation

◆ psVsnEnt

TsFsegVsnEnt* FsegVls::psVsnEnt

[OUTPUT] Pointer to allocated version entry array (caller frees).

◆ uiRes0

unsigned int FsegVls::uiRes0

[DUMMY] Reserved; set to 0.

◆ uiVsnCnt

unsigned int FsegVls::uiVsnCnt

[OUTPUT] Number of version entries in psVsnEnt.


The documentation for this struct was generated from the following file: