Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

OPER Read operand value from transfer area

&pagelevel(5)&pagelevel

The OPER function reads the value of an operand at a certain position from the standardized transfer area. The OPER call must be preceded by a TYPE or STRU call defining the operand type and operand length.

Call


CALL SDF('OPER',area,error,pos,val,lng[,lst])


Description of the parameter list

Parameter

Data type
(length)

Input/
output

Meaning

OPER

char(4)

in

Function name: keyword OPER

area

char()

in

Buffer in which the standardized transfer area was stored (see INIT)

error

integer

out

Return code

pos

integer

in

Position of the operand

val

char(lng)

inout

Address of a string in which the value is to be stored

lng

integer

in

Length of the val string must be greater than or equal to the value returned by TYPE or STRU for the lng parameter

lst

integer

in

Relevant only if the operand is an element in a list: position of the operand in the list

If the OPER function is called for an operand of the type STRUCTURE, it returns

the value of the operand introducing the structure, whose length and type were analyzed beforehand by the STRU function.