Close variable container
Component: | SDF-P-BASYS |
Functional area: | Procedures |
Domain: | PROCEDURE |
Privileges: | STD-PROCESSING |
Function
The CLOSE-VARIABLE-CONTAINER command closes the specified variable containers.
Note
If a variable container is closed before its scope ceases to exist, the variables remain declared but can no longer be accessed. All access attempts are rejected with error message SDP1030.
Format
CLOSE-VARIABLE-CONTAINER |
CONTAINER-NAME = <composed-name 1..64 with-wild(80)> / list-poss(2000): <composed-name 1..64> |
Operands
CONTAINER-NAME =
Name of the variable container.
CONTAINER-NAME = <composed-name 1..64 with-wild(80)>
Variable container whose name corresponds to the pattern string specified.
CONTAINER-NAME = list-poss(2000): <composed-name 1..64>
List of variable container names.
Return codes
(SC2) | SC1 | Maincode | Meaning |
---|---|---|---|
0 | CMD0001 | No error | |
1 | CMD0202 | Syntax error | |
3 | CMD2203 | Incorrect syntax file | |
32 | CMD0221 | System error (internal error) | |
64 | CMD0216 | User does not have required privilege | |
64 | SDP0091 | Semantic error | |
130 | SDP0099 | No more address space available |
Example
See the SHOW-VARIABLE-CONTAINER-ATTR command in the “SDF-P” manual [34].