Domain: PROCEDURE
Command description
The DELETE-STREAM command deletes S variable streams. Their assignments will no longer be displayed by SHOW-STREAM-ASSIGNMENT.
The deletion is restricted to those streams which were created at the highest procedure level (in dialog mode). Any subsequent transmissions via the deleted stream will be rejected.
Variable streams in procedures are implicitly deleted on exiting from the procedure unless the setting in SET-PROCEDURE-OPTIONS is SYSTEM-FILE-CONTEXT=*SAME-AS-CALLER.
Variable streams with reserved names (SYSINF, SYSMSG, ...) can never be deleted.
Format
DELETE-STREAM |
STREAM-NAME = <composed-name 1..20 with-wild(40)> / list-poss(100): <structured-name 1..20> |
Operands
STREAM-NAME =
Name of the S variable stream to be deleted.
STREAM-NAME = <structured-name 1..20 with-wild(40)>
All S variable streams which match this search pattern are assigned to *DUMMY, and are suppressed.
STREAM-NAME = list-poss(100): <structured-name 1..20>
List of S variable stream names which are to be assigned to *DUMMY and suppressed.
Command return codes
(SC2) |
| Maincode | Meaning |
0 | CMD0001 | No error | |
2 | 0 | SDP0516 | Specified variable stream name does not exist, or the search pattern was not found; process continues |
1 | 0 | SDP0518 | No match for wildcard. process continues |
2 | 0 | SDP0535 | Warning from the server during deletion of a specified S variable steam; process continues |
1 | CMD0202 | Syntax error | |
3 | CMD2203 | Incorrect syntax file | |
32 | CMD0221 | System error (internal error) | |
64 | CMD0216 | Do not have required privilege | |
64 | SDP0091 | Semantic error | |
64 | SDP0515 | Specified variable stream not created at the highest level | |
64 | SDP0536 | Server error; deletion of the specified S variable stream has been rejected | |
64 | SDP0537 | Internal server error; deletion of the specified S variable stream has been rejected. Server link terminated following unexpected event or due to system resource shortage or error |