Previous Topic: HOLDFILE CommandNext Topic: INCLUDE Statement


IFSYS Statement

The IFSYS statement marks the beginning of a block of commands or statements that are executed only on particular systems.

Syntax

IFSYS sysname

Parameters

sysname

One or more systems that execute the commands or statements following IFSYS. Each name must match a system name that is defined on the SYSNAME parameter for the OPTIONS command. If you specify several system names, separate them with commas.

Note:

Example

To execute an ATTACH FILESERVER SERVERTYPE(REMOTE) command only on systems SYS02 and SYS03, specify these statements in the CA-L‑Serv partitioned data set:

IFSYS SYS02,SYS03
   ATTACH FILESERVER SERVERTYPE(REMOTE)
 ENDIF