Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Delete System Manager Object (DLTSMGOBJ) command provides the capability of deleting an i5/OS object on a managed system.
Note:
A change request is automatically submitted which can be viewed to determine the status of this command. A message is returned identifying the name of the change request.
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OBJ | Object | Qualified object name | Required, Positional 1 |
Qualifier 1: Object | Name | ||
Qualifier 2: Library | Name, *CURLIB | ||
OBJTYPE | Object type | Character value | Required, Positional 2 |
MBR | Member | Name, *ALL, *FIRST, *LAST | Optional |
NODL | Managed systems node list | Element list | Optional |
Element 1: Node list |
Single values: *NONE Other values: Qualified object name |
||
Qualifier 1: Node list | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
CPNAME | Managed system node names | Single values: *NONE Other values (up to 50 repetitions): Element list |
Optional |
Element 1: Network identifier | Communications name, *NETATR | ||
Element 2: Control point | Communications name |
Top |
Specifies the qualified name that is to be deleted.
The possible library values are one of the following:
The possible object name value is:
Top |
Top |
Specifies the i5/OS file member name. It is ignored unless the object type is *FILE.
Top |
Specifies the node list name that contains a list of systems which are the destinations for the request. This parameter cannot be specified if the control point name (CPNAME parameter) is also specified.
The possible value is:
The possible values are:
The possible node list name value is:
Top |
Specifies the managed systems APPN control point names on which this request is to be performed. Control point names cannot be specified if the node list (NODL) parameter is specified.
The possible value is:
The possible values are:
The possible control point name value is:
Top |
Example 1: Delete Object from Systems in Node List
DLTSMGOBJ OBJ(PAYROLL/BACKUP) OBJTYPE(*FILE) NODL(MYLIB/ALLSYS)
This command deletes the payroll backup file on all systems listed in node list ALLSYS.
Example 2: Delete Object from Specific Systems
DLTSMGOBJ OBJ(PGMLIB/PROCPGM) OBJTYPE(*PGM) CPNAME((*NETATR SYS1) (*NETATR SYS2))
This command deletes the program PROCPGM from the library PGMLIB on systems SYS1 and SYS2 in the local network.
Top |
None
Top |