2. Routines for creation, destruction, enlargement#

CALL RSCRSD (names, types, border)

IN

nomsd

K8

data structure name RESULTAT

IN

typesd

K16

data structure type RESULTAT

IN

nbordr

I

order number number

Create a SD_RESULTAT structure (if this structure already exists, we destroy it). Modifying this routine makes it possible to create new types of SD_RESULTAT or to enrich existing ones.

CALL RSDLSD (names)

IN

nomsd

K8

data structure name RESULTAT

Destroy a structure SD_RESULTAT. This routine does not destroy the fields listed in SD_RESULTAT.

CALL RSRUSD (names, iorder)

IN

nomsd

K8

data structure name RESULTAT

IN

iordr

I

order number

In structure SD_RESULTAT, destroy fields starting from a given order number.

CALL RSAGSD (names, border)

IN

nomsd

K8

data structure name RESULTAT

IN

nbordr

I

new size of RESULTAT (the size is doubled if NBORDR = 0)

Expand a structure SD_RESULTAT.