Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

DELETE-STREAM Delete S variable stream

&pagelevel(4)&pagelevel

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)

  SC1

Maincode

Meaning


0CMD0001No error
20SDP0516Specified variable stream name does not exist, or the search pattern was not found; process continues
10SDP0518No match for wildcard. process continues
20SDP0535Warning from the server during deletion of a specified S variable steam; process continues

1CMD0202Syntax error

3CMD2203Incorrect syntax file

32CMD0221System error (internal error)

64CMD0216Do not have required privilege

64SDP0091Semantic error

64SDP0515Specified variable stream not created at the highest level

64SDP0536Server error; deletion of the specified S variable stream has been rejected

64SDP0537

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