Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Delete Distribution (DLTDST) command allows you to delete your own distributions or to delete distributions for another user. This command also allows system operators to delete damaged distribution objects and dangling distribution objects (distribution objects that are not controlled by a distribution tracking object).
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DSTID | Distribution identifier | Single values: *ERROBJ Other values (up to 50 repetitions): Character value |
Required, Positional 1 |
OPTION | Incoming or outgoing | *IN, *OUT, *ERR | Optional |
USRID | User identifier | Single values: *CURRENT Other values: Element list |
Optional |
Element 1: User ID | Character value | ||
Element 2: Address | Character value | ||
DSTIDEXN | Distribution ID extension | Values (up to 50 repetitions): 0-99, *NONE | Optional |
OBJ | Object | Single values: *NONE, *ALL Other values (up to 50 repetitions): Character value |
Optional |
CMDCHRID | Command character identifier | Single values: *SYSVAL, *DEVD Other values: Element list |
Optional |
Element 1: Graphic character set | Integer | ||
Element 2: Code page | Integer |
Top |
Specifies the unique identifier of the distribution. The identifier was assigned to the distribution by the system that originated it. Distribution identifiers can be found by using the Query Distribution (QRYDST) command. Identifiers are also returned from the Send Distribution (SNDDST) command.
You can enter multiple values for this parameter.
This is a required parameter.
Note: To delete a damaged or dangling distribution, a value must be specified also on the OBJ parameter.
Notes:
Top |
Specifies whether the distribution named on the Distribution identifier prompt (DSTID parameter) is an incoming distribution, an outgoing distribution, or an error distribution.
Top |
Specifies which user ID and user ID address should be associated with the request.
Top |
Specifies the extension of the distribution identifier (if any) specified on the Distribution identifier prompt (DSTID parameter). This extension uniquely identifies duplicate distributions. This extension is a 2-digit extension that ranging from 00 through 99.
Top |
Specifies the damaged or dangling distribution objects to be deleted.
The object named can be a local or remote object.
'NEWYORK SMITH 0204' or UADDRESSUSERIDID0099
The apostrophes are needed if there are blanks or special characters in the distribution identifier. The distribution identifier is specified this way because blank characters are valid in a user ID or address.
'QOSRDIST091112509152355'
where QOSRDIST is the remote system name, 0911125 is the system date (November 25, 1991), and 09152355 is the system time (9:15:23:55).
The distribution identifier for damaged or dangling distributions can be determined when the Save Document Library Object (SAVDLO) command is run and damaged or dangling distribution objects are identified.
A maximum of 50 objects can be named to be deleted.
Top |
Specifies the character identifier (graphic character set and code page) for the data being entered as command parameter values. The character identifier is related to the display device used to enter the command.
If the values specified on the Distribution identifier prompt (DSTID parameter) and User identifier prompt (USRID parameter) are being read from an output file created by the Query Distribution (QRYDST) command, specify '930 500' on this parameter.
Element 1: Graphic character set
Element 2: Code page
Top |
Example 1: Deleting Incoming Distribution Sent to User
DLTDST DSTID(('RCH38P BAKER 0019')) USRID(*CURRENT) DSTIDEXN(02)
This command deletes an incoming distribution sent to the user.
Example 2: Deleting Status of Outgoing Distribution
DLTDST DSTID(('SYSTEM20 BRUCE 1361')) USRID(*CURRENT) DSTIDEXN(00) OPTION(*OUT) CMDCHRID(101 37)
This command deletes the status associated with an outgoing distribution. The DSTID parameter value is encoded with a character identifier where the code page is 37 and the character set is 101. The system performs translation on the DSTID parameter value before trying to locate the distribution on the distribution recipient index.
Example 3: Deleting Incoming Distribution to Signed-On User
DLTDST DSTID(('CHICAGO JONES 0013'))
This command deletes an incoming distribution sent to a user who is signed on. The distribution extension defaults to '01' for incoming distributions. If duplicate distributions were sent, this command would only delete the first one.
Example 4: Deleting All Damaged Distributions
DLTDST DSTID(*ERROBJ) OBJ(*ALL)
This command deletes all damaged and dangling distributions on the system.
Top |
*ESCAPE Messages
Top |