Previous Topic: ELSE Statement

Next Topic: HOLDFILE Command

ENDIF Statement

The ENDIF statement marks the end of a block of commands or statements (that begins with IFSYS) that should be executed on only particular systems.

Syntax

ENDIF

There are no parameters for this statement.

Note: You can specify this statement in the CA-L‑Serv parameter data set.

Example

To execute an ATTACH FILESERVER SERVERTYPE(HOST) command only on system SYS01, specify these statements in the CA-L‑Serv partitioned data set:

IFSYS SYSO1
   ATTACH FILESERVER SERVERTYPE(HOST)
 ENDIF