Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

FREE-VARIABLE Delete contents of variable

The FREE-VARIABLE command deletes the contents of one or more S variables.

The FREE-VARIABLE command can be used on simple and composed variables. One or more elements can be deleted from list variables with this command. For variables with a dynamic structure, not only the contents are deleted, but also the element itself.

FREE-VARIABLE

VARIABLE-NAME = <structured-name 1..20 with-wild(40)> / *LIST(...) /





list-poss(2000): <composed-name 1..255>


*LIST(...)




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




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




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

,DESTROY-CONTAINER-JV = *NO / *YES

Return codes

(SC2)

SC1

Maincode

Meaning/Guaranteed messages


0CMD0001No error
10CMD0001Warning: no elements deleted; variable has already been deleted

1CMD0202Syntax error

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

64SDP0091Semantic error Guaranteed messages: SDP1008

130SDP0099No further address space available