GET_DTAARA

LANSA Composer

GET_DTAARA

This activity reads a value from a specified data area.  It is supported only on IBM i servers.

This activity can only read from data areas created with TYPE(*CHAR) and the starting position and length specified must be valid for the definition of the data area specified.  The data area must exist and the job running the activity must have the necessary authorities.

INPUT Parameters:

DTAARA : Required

This parameter specifies the name of the data area.

LIB : Optional

This parameter can specify the name of the library containing the data area.  If it is not specified, the processing sequence will use the library list to locate the data area.

START : Required

This parameter specifies the starting position in the data area from which to read the value.

LENGTH : Required

This parameter specifies the length of the value to be read.

OUTPUT Parameters:

STRINGOUT:

Upon successful completion, this parameter will contain the value read from the specified positions in the specified data area.