Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Send System Manager Object (SNDSMGOBJ) command provides the capability of sending an i5/OS object from the central site system to one or more managed systems.
Note: A change request is submitted that can be viewed to determine the status of this command. A message is returned identifying the name of the change request.
Restrictions:
None
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
OBJ | Object | Qualified object name | Required, Positional 1 |
Qualifier 1: Object | Name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB | ||
OBJTYPE | Object type | Character value | Required, Positional 2 |
MBR | Member | Name, *ALL, *FIRST, *LAST | Optional |
DATATYPE | Data type | *UNSPEC, *CL, *REXX | 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 | ||
TGTRLS | Target release | *CURRENT, *PRV, V5R2M0, V5R3M0, V5R4M0 | Optional |
REPLACE | Replace object | *NO, *YES | Optional |
DTACPR | Data compression | *NONE, *SNA | Optional |
RUNPGM | Run program | *NO, *YES | Optional |
PARM | Parameters | Values (up to 20 repetitions): Not restricted | Optional |
Top |
Specifies the qualified name to be sent.
The possible library values are one of the following:
The possible object name value is:
Top |
Specifies the object.
Top |
Specifies the i5/OS physical file member name. It is ignored unless the object type is *FILE or *FILEDATA.
Top |
Specifies the data type of the member. This parameter needs to be specified only when sending a source file that runs on the managed system. DATATYPE is specified only when running *FILEDATA.
Top |
Specifies the node list name contains a list of systems which are the destinations for the activities. This parameter cannot be specified if control point name (CPNAME) parameter is also specified.
The possible values are:
The possible library values are one of the following:
The possible node list name value is:
Top |
Specifies the managed systems APPN control point names on which this request is performed. Control point names cannot be specified if a node list is specified.
The possible control point name value is:
Top |
Specifies the release of the operating system on which you intend to use the object. This parameter is ignored for objects with global names that are in the SystemView distribution repository or for actions other than send or retrieve.
Valid values depend on the current version, release, and modification level, and they change with each new release.
Top |
Specifies that the object should be replaced if it already exists.
The possible values are:
Top |
Specifies that the data is compressed when sent. This parameter is valid only if the object type *FILEDATA is specified. SNA compression character or blank is performed.
Top |
Specifies running the program when it arrives at the managed system. This parameter can only be specified if the object type is *PGM or if the object type is *FILEDATA and the data type is *CL or *REXX.
Top |
Specifies the parameters to be passed when starting the program. Up to 20 parameters can be specified.
Top |
Example 1: Sending a Library to Systems in a Node List
SNDSMGOBJ OBJ(ACCTLIB) OBJTYPE(*LIB) NODL(SYSLIB/SALESOFC)
This command sends library ACCTLIB to 20 systems identified in node list SALESOFC.
Example 2: Sending a Program to All Systems in the Node List
SNDSMGOBJ OBJ(SALESLIB/GENRPTS) OBJTYPE(*PGM) NODL(SYSLIB/ALLSTORES) RUNPGM(*YES) PARM(SALES 'ONE DAY')
This command sends the program GENRPTS in library SYSLIB to all the systems listed in node list ALLSTORES in library SYSLIB. It then runs the program on each of those systems. Two parameters are passed as input to the program. The first has the value SALES and the second has the value 'ONE DAY'.
Top |
None
Top |