Previous Topic: HOLDFILE Command

Next Topic: INCLUDE Statement

IFSYS Statement

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

Syntax

IFSYS sysname

Operand

Explanation

sysname

Identifies one or more systems that should execute the commands or statements following IFSYS. Each name must match a system name 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