Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Delete Network File (DLTNETF) command deletes a file or files from a user's queue of arrived network files. A user with security officer authority can delete files sent to any user. A user other than the security officer can delete only those files that are sent to him or to his group profile.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
FILE | File | Character value | Required, Positional 1 |
MBR | Member | Character value, *ONLY, *ALL | Optional, Positional 2 |
NBR | File number | Integer, *LAST, *ONLY, *ALL | Optional, Positional 3 |
USER | User | Name, *CURRENT | Optional |
Top |
Specifies the name of the network file that has one or more members to be deleted.
This is a required parameter.
Top |
Specifies the name of the file member that is deleted.
Top |
Specifies the number of the network file member that is deleted. This number is used to identify the member deleted when there is more than one member of the same name in the file.
Note: The file member that arrived last at the user's system may not have been the last one sent by the sending user. The network does not guarantee the arrival sequence of separately sent files.
Top |
Specifies the user to whom the deleted files were sent.
Top |
Example 1: Deleting a Single Member
DLTNETF FILE(APPOINTMNT) MBR(FRIDAY)
This command deletes member FRIDAY of file APPOINTMNT.
Example 2: Deleting a File
DLTNETF FILE(SCHEDULE) USER(NETUSER1) NBR(708926)
This command deletes file SCHEDULE, number&rbl.708926, from the network files for user NETUSER1. This command is run only by NETUSER1, a member of the NETUSER1 group, or a user with security officer authority.
Example 3: Deleting All Members
DLTNETF FILE(OLDINFO) MBR(*ALL) NBR(*ALL)
This command deletes all available members for file OLDINFO, including all duplicated named members.
Top |
*ESCAPE Messages
Top |