UPDATE MSPLINK command
Use the UPDATE MSPLINK command to set or change the MSC physical link attributes or to change the status of the specified physical links.
Subsections:
Environment
The following table lists the environments (DB/DC, DBCTL, and DCCTL) from which the UPDATE MSPLINK command and keywords can be issued.
Command / keywords | DB/DC | DBCTL | DCCTL |
---|---|---|---|
UPDATE MSPLINK | X | X | |
NAME | X | X | |
SET | X | X | |
START | X | X | |
STOP | X | X |
Syntax
.-,----------------. V | >>-+-UPDATE-+--MSPLINK--+-NAME(---+-msplinkname--+-+-)-+--------> '-UPD----' | '-msplinkname*-' | '-NAME(*)----------------------' >--+-START(-+-LOGON----------+-)--------------------------+---->< | +-GENLOGON-------+ | | '-LOGON,GENLOGON-' | +-STOP(-+-LOGON----------+-)---------------------------+ | +-GENLOGON-------+ | | '-LOGON,GENLOGON-' | | .-,-----------------------------------------. | | V | | '-SET(---+-ASR(-+-ON--+-)------------------------+-+-)-' | '-OFF-' | +-ICONPLKID(TCPIP_IMS_Connect_LCLPLKID)-+ +-IMSCON(TCPIP_local_IMS_Connect)-------+ +-MODETBL(-+---------------+-)----------+ | '-modetablename-' | +-MSPLINK(new_msplinkname)--------------+ +-NODE(VTAM_node_name)------------------+ '-RMTIMS(TCPIP_remote_IMS_ID)-----------'
Keywords
The following keywords are valid for the UPDATE MSPLINK command:
- NAME()
- Specifies the 1- to 8-character name of the MSC physical link that is processed. You can specify wildcards (*) in the name. NAME(*) and NAME(abc*) are examples of valid names.
- SET()
- Specifies the attribute values to be updated
or sets the resource state.
ASR(), MODETBL() and NODE() are VTAM® link specific parameters.
- ASR()
- The Automatic Session Restart (ASR) designation for each logical
link assigned to the specified VTAM physical
link changes when the Session Outage Notification facility of VTAM is used. The ASR parameter
allows you to override the system definition option that is defined
for the automatic session restart designation of a link.
You cannot change the designation of ASR for non-VTAM MSC links.
Stop the physical link and each assigned logical link before you change the ASR designation.
- ON
- Specifies that the logical link uses automatic session restart. Automatic session restart is not necessarily activated for a link if a status of ASR is displayed for that link. SONSCIP=YES must also be specified on the APPL definition statement for VTAM when defining the network to VTAM. ASR works only if both sides of the link use the ASR option.
- OFF
- Specifies that the logical link does not use automatic session restart.
- ICONPLKID()
- For TCP/IP physical links, defines a 1- to 8-character alphanumeric ID by which IMS™ Connect knows the MSC physical link. This ID must match the ID defined to IMS Connect on the LCLPLKID parameter of the MSC configuration statement that defines the physical link to IMS Connect.
- You can use the ICONPLKID keyword to modify the MSC physical link to reference a different IMS Connect MSC configuration statement.
- This ID can also be specified on the LCLPLKID keyword of the MSPLINK macro.
- IMSCON()
- For TCP/IP physical links, specifies the IMSplex name of the local IMS Connect instance that manages the TCP/IP connections for this physical link. IMSCON accepts a 1- to 8- alphanumeric value.
- You can use the IMSCON keyword to switch the IMS Connect instance that an MSC physical link uses.
- MODETBL()
- Changes the name of the default VTAM logon
mode table entry (logon mode table) for this physical link. This
changes the name for each logical link currently assigned to this
physical link. This name is usually established by system definition.
To reset this field to its null state (as if no mode table name was
specified at system definition), specify MODETBL().
You cannot use the SET(MODETBL) parameter for a non-VTAM MSC link.
The physical link and each assigned logical link must be stopped before changing the MODETBL.
- MSPLINK()
- Specifies the 1- to 8-alphanumeric new physical link name for
this physical link. This keyword also allows you to change the name
of a reserved link to a real name and activate it. The name specified
in MSPLINK() must be unique. If the command is successful, the old
physical link name specified on the NAME keyword is no longer valid.
Only one NAME parameter can be specified to change the MSPLINK name.
The physical link must be stopped before changing the MSPLINK.
- NODE()
- Specifies a 1- to 8-alphanumeric name for the remote VTAM node (APPLID) name for the VTAM line. This node is the VTAM node name of the remote IMS system at the other end of the link. This
node is the label on the VTAM APPL
statement for the remote IMS system.
For an MSC VTAM link communicating
with an XRF complex, the node name must be the VTAM USERVAR that is associated with the partner
XRF complex.
The physical link and each assigned logical link must be stopped before changing the NODE.
- RMTIMS()
- For TCP/IP physical links, defines the remote IMS system that this physical link connects to. Enter the 1- to 8- alphanumeric IMSID of the remote IMS system.
- You can use the RMTIMS keyword to change the remote IMS system that an MSC physical link references.
- START()
- Specifies the attributes to start.
- GENLOGON
- For IMS systems that participate
in a TCP/IP generic resource group, enables the IMS systems that process this command to resume
accepting logical link connection requests to the generic resource
group on the specified physical link.
START(GENLOGON) is independent of LOGON, which is used for links that do not use the TCP/IP generic resource group. If STOP(LOGON) has been previously issued, you must issue START(LOGON), either separately or with the GENLOGON parameter, before the IMS system can resume starting and accepting logical links that do not use TCP/IP generic resources.
- LOGON
- For MSC TCP/IP and VTAM physical link types only. For TCP/IP-type
links, START(LOGON) allows the starting of the logical links assigned
to the physical link. For VTAM-type links, START(LOGON) enables logical
links to logon to the physical link. START(LOGON) and STOP(LOGON)
are mutually exclusive.
START(LOGON) is independent of GENLOGON, which is used for links that use a TCP/IP generic resource group. If STOP(GENLOGON) has been previously issued, you must issue START(GENLOGON), either separately or with the LOGON parameter, before the IMS system can resume starting and accepting logical links that use TCP/IP generic resources.
- STOP()
- Specifies the attributes to stop.
- GENLOGON
- For IMS systems that participate
in a TCP/IP generic resource group, prevents the IMS systems that process this command from either
starting or accepting the specified TCP/IP physical link.
The STOP(GENLOGON) keyword is applicable only to TCP/IP-type physical links that are defined in IMS systems that participate in a TCP/IP generic resource group.
The STOP(GENLOGON) does not affect links that are already in session.
Use STOP(GENLOGON) to control where the restart message from a remote link restart is accepted within the local IMSplex. Issue STOP(GENLOGON) against every IMS system in the TCP/IP generic resource group, except the IMS system with which you need to establish link affinity.
After an UPDATE MSPLINK NAME(plnkname) STOP(GENLOGON) command is issued, the QUERY MSPLINK command displays a local status of STOGENLGN.
STOP(GENLOGON) does not prevent the IMS system from accepting links that do not use the generic resource group. GENLOGON is independent of LOGON and both can be specified together on the STOP() keyword to prevent the IMS system from starting or accepting all links, regardless of whether they use TCP/IP generic resources.
- LOGON
- For MSC TCP/IP and VTAM physical link types only.
For TCP/IP links, STOP(LOGON) prevents the IMS systems that process this command from starting of the physical link or accepting start requests for the physical link from a link partner. The LOGON keyword does not affect TCP/IP physical links that are used for TCP/IP generic resources.
The LOGON keyword is independent of the GENLOGON keyword that is used for physical links that are used with TCP/IP generic resources. Both keywords can be specified together on the STOP() keyword to prevent the IMS system from starting or accepting all links, regardless of whether they use TCP/IP generic resources.
For VTAM links, STOP(LOGON) prevents logons to the physical link. START(LOGON) and STOP(LOGON) are mutually exclusive.
After an UPDATE MSPLINK NAME(plnkname) STOP(LOGON) command is issued, the QUERY MSPLINK command displays a local status of STOLGN.
- The STOP(LOGON) does not affect links that are already in session.
Usage notes
You can issue this command only through the Operations Manager (OM) API. This command applies to DB/DC and DCCTL systems.
The syntax for this command is defined in XML and is available to automation programs that communicate with OM.
Equivalent IMS type-1 commands
The following table shows variations of the UPDATE MSPLINK command and the type-1 IMS commands that perform similar functions.
UPDATE MSPLINK command | Similar IMS type-1 command |
---|---|
UPDATE MSPLINK NAME(msplinkname) SET(ASR(ON | OFF)) | No similar type-1 IMS command exists. |
UPDATE MSPLINK NAME(msplinkname) SET(ICONPLKID(iconplkid)) | No similar type-1 IMS command exists. |
UPDATE MSPLINK NAMEmsplinkname) SET(IMSCON(imsconname)) | No similar type-1 IMS command exists. |
UPDATE MSPLINK NAME(msplinkname) SET(MODETBL(modetablename)) | No similar type-1 IMS command exists. |
UPDATE MSPLINK NAME(msplinkname) SET(MSPLINK(new_msplinkname)) | No similar type-1 IMS command exists. |
UPDATE MSPLINK NAME(msplinkname) SET(NODE(VTAM_node_name)) | No similar type-1 IMS command exists. |
UPDATE MSPLINK NAME(msplinkname) SET(RMTIMS(rmtims)) | No similar type-1 IMS command exists. |
UPDATE MSPLINK NAME(msplinkname | *) START(LOGON) | /RSTART MSPLINK msplinkname | ALL |
UPDATE MSPLINK NAME(msplinkname | *) STOP(LOGON) | /PSTOP MSPLINK mplinkname | ALL |
UPDATE MSPLINK NAME(msplinkname | *) START(GENLOGON) | No similar type-1 IMS command exists. |
UPDATE MSPLINK NAME(msplinkname | *) STOP(GENLOGON) | No similar type-1 IMS command exists. |
Output fields
- Short label
- Contains the short label that is generated in the XML output.
- Keyword
- Identifies keyword on the command that caused the field to be generated. error appears for output fields that can appear for a non-zero completion code. N/A (not applicable) appears for output fields that are always returned.
- Meaning
- Provides a brief description of the output field.
Short label | Keyword | Meaning |
---|---|---|
CC | N/A | Completion code. |
CCTXT | error | Completion code text that briefly explains the meaning of the non-zero completion code. |
MBR | N/A | IMSplex member that built the output line. |
MSPL | N/A | Physical link name. |
Return, reason, and completion codes
The return and reason codes that can be returned as a result of the UPDATE MSPLINK command are standard for all commands entered through the OM API.
The following table includes the return and reason codes and a brief explanation of the codes. The return or reason code returned for the command might also indicate an error from a CSL request.
Return code | Reason code | Meaning |
---|---|---|
X'00000000' | X'00000000' | The UPDATE MSPLINK command completed successfully. |
X'00000008' | X'00002040' | More than 1 filter value is specified on the UPDATE MSPLINK command. |
X'0000000C' | X'00003000' | Command was successful for some resources but failed for others. The command output contains a line for each resource, accompanied by its completion code. See the following table for details on completion codes. |
X'0000000C' | X'00003004' | Command was not successful for any of the resources. The command output contains a line for each resource, accompanied by its completion code. See the following table for details on completion codes. |
X'00000010' | X'0000400C' | Command is not valid on the XRF alternate. |
X'00000010' | X'00004014' | Command is not valid on the RSR tracker. |
X'00000014' | X'00005004' | The UPDATE MSPLINK command processing terminated because a DFSOCMD response buffer could not be obtained. |
X'00000014' | X'00005008' | DFSPOOL storage could not be obtained. |
Errors that are unique to the processing of this command are returned as completion codes. A completion code is returned for each action against an individual resource.
Completion code | Completion code text | Meaning |
---|---|---|
0 | The UPDATE MSPLINK command completed successfully for the resource. | |
10 | NO RESOURCES FOUND | MSPLINK name is invalid, or the specified wildcard parameter does not match any resource names. |
11 | The link name specified in MSPLINK() already exists as a physical link. | |
8D | The physical link is not stopped. The link must be stopped for the updates specified. | |
100 | INV SET KEYWORD FOR LINK TYPE | A keyword specified in SET() is invalid for the corresponding physical link type. |
10C | INVALID START/STOP FOR LINK TYPE | A keyword specified in START() or STOP() is invalid for the corresponding physical link type. |
Examples
The following are examples of the UPDATE MSPLINK command:
Example 1 for UPDATE MSPLINK command
UPD MSPLINK NAME(STAR1) SET(MODETBL(LOGON12B), NODE(APPL12B), ASR(ON))
TSO SPOC output:
MSName MbrName CC
STAR1 IMSA 0
Explanation: This UPDATE MSPLINK command is issued to do the following:
- Change the VTAM logon mode table entry to LOGON12B.
- Change the VTAM node name of the remote system at the other end of the link to APPL12B.
- Override the automatic session restart definitions established by system definition.
Example 2 for UPDATE MSPLINK command
UPD MSPLINK NAME(STAR1, STAR2, STAR2B*) START(LOGON)
MSName MbrName CC CCTEXT
STAR1 IMSA 0
STAR2 IMSA 10 NOT FOUND
STAR2B IMSA 0
STAR2B11 IMSA 0
STAR2B12 IMSA 0
Explanation: This command enables logon for the specified physical links: STAR1, STAR2B, STAR2B11, and STAR2B12. STAR2 is unknown.
Example 3 for UPDATE MSPLINK command
UPD MSPLINK NAME(PLNK12TA) STOP(LOGON,GENLOGON)
MSName MbrName CC CCTEXT
PLNK12TA IMS1 0
Explanation: This command prevents IMS1 from starting or accepting any and all logical links on the specified physical link PLNK12TA. The GENLOGON applies to links that use TCP/IP generic resources. The LOGON parameter applies to links that specify IMS1 explicitly.
MSPLink MbrName CC Type RmtIms LclImsCon LclPlkID LclStat
PLNK12TA IMS1 0 TCPIP IMS2 HWS1 MSC12 STOGENLGN
Example 4 for UPDATE MSPLINK command
UPD MSPLINK NAME(*) STOP(LOGON,GENLOGON)
MSPLink MbrName CC CCText
PLNK12C IMS1 10C INVALID START/STOP FOR LINK TYPE
PLNK12M IMS1 10C INVALID START/STOP FOR LINK TYPE
PLNK12TA IMS1 0
PLNK12V IMS1 0
- PLNK12C is a CTC link
- PLNK12M is an MTM link
- PLNK12TA is a TCPIP link
- PLNK12V is a VTAM link
MSPLink MbrName CC LclStat
PLNK12C IMS1 0
PLNK12M IMS1 0
PLNK12TA IMS1 0 STOGENLGN
PLNK12V IMS1 0 STOLGN