MSLINK macro

Use the MSLINK macro statement to define a Multiple Systems Coupling (MSC) logical link to another system. The MSLINK macro can be followed by one or more macro statements that define the logical link paths if any are to be defined for this logical link.

Logical links are assigned to physical links during system definition (using the MSPLINK keyword) or dynamically with /MSASSIGN or UPDATE MSLINK commands.

You can define a maximum of 1018 logical links (MSLINK macros) in an IMS system.

Dynamic definition

Logical links can be defined dynamically with the CREATE MSLINK command, instead of defining them statically with the system definition MSLINK macro.

Supported environments

The MSLINK macro can be used in the DB/DC and DCCTL environments.

Syntax

Read syntax diagramSkip visual syntax diagram DFSL xxxxlabel MSLINKBACKUP=4XNO,MODETBL= mode table,MSPLINK= plink name,OPTIONS=(SYNCSESSFORCSESS,NOASR,ASR),PARTNER= partner-id

Label field

The label field specifies a 1- to 8-character link name that is used by the type-1 UPDATE and type-2 QUERY and UPDATE commands to identify the logical link. If you do not specify a name, a default name is assigned, DFSLxxxx, where xxxx is the logical link number that system generation assigns to the link. That name is used in the QUERY and UPDATE commands. The logical link name can be changed with the UPDATE MSLINK command.

Positional parameters

The MSLINK macro does not include positional parameters.