Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

SET-VARIABLE Assign value to variable

SET-VARIABLE can be used to assign values to simple as well as complex variables.

When assigning simple variables or variable elements, the data types must match. The structure of the variables must also match when assigning complex variables globally.

SET-VARIABLE Alias: STV

<composed-name1 1..255> = <text 0..1800 with-low expr> / <composed-name2 1..255> /





*STRING-TO-VARIABLE(...) / *LIST(...)


*STRING-TO-VARIABLE(...)




STRING = <text 0..1800 with-low expr>




,VALUE-TYPE = *STD / *STRING


*LIST(...)




LIST-NAME = <composed-name 1..255>




,FROM-INDEX = *FIRST / *LAST / <integer 1..2147483647>




,NUMBER-OF-ELEMENTS = 1 / *REST / <integer 1..2147483647>

,WRITE-MODE = *REPLACE / *MERGE / *EXTEND / *PREFIX

Return codes

During the assignment of structures, arrays or lists, it is possible that part of the command has been processed and executed when the error occurs. In this case, the result of the command is not guaranteed.

(SC2)

SC1

Maincode

Meaning/Guaranteed messages


0CMD0001No error

1CMD0202Syntax error

1SDP0118Command in false context

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

64SDP0091

Semantic error

Guaranteed messages: SDP1030


130SDP0099No further address space available