Purpose: The SYSID command can be used to perform conditional command
execution when executing DIF commands from PARMLIB.
SYSID would typically be used in the DIFINIT and the
STARTnn members to conditionally start products or
establish log consolidation links based on the four character system identifier.
Syntax:
SYSID([INCLUDE(sysids)] [EXCLUDE(sysids)])
Comments: The systems included or excluded on the
SYSID command must
be placed on one control card. - sysids should be separated with blanks or commas.
- Wildcard characters are allowed (
*or?). - If both
INCLUDEandEXCLUDEare specified,EXCLUDEhas precedence.
SYSID section evaluates as true, all commands following the
SYSID are executed until another SYSID is encountered, or
conditional command processing is terminated with a SYSID() statement.
Examples: The following
DIFINIT member could be placed in
PARMLIB to use the system logger to perform log record consolidation.
Tip: In this example,
SYSA will be the
log server used for record consolidation.- The first
SYSIDsection executes on all systems exceptSYSAand would execute theDEFCONNcommands in memberLOGINITto establish connectors to route records to the system logger. - The second
SYSIDsection would only execute onSYSAand activates the log server to gather records from the system logger and write them to the target logs. - The last
SYSID()terminates conditional command processing.
SYSID(EXCLUDE(SYSA))
INITOPT EXEC(CONNECT(LOGINIT))
SYSID(INCLUDE(SYSA))
INITOPT LOGSERVER(LOGGER(DTS.STREAM))
SYSID()
Note: For more information about record consolidation,
examine “The System Logger Interface” on page 4-10 and “The MQSeries Interface” on page 4-17
in the Rules Language Programming Guide.