The IFSYS statement marks the beginning of a block of commands or statements that should be executed on a subset of the systems in your complex. It identifies the systems on which these commands or statements should be executed. IFSYS statements, which are used with ENDIF statements, let you conveniently share the same MIMPARMS and MIMMSGS data sets among systems in a multiple-system configuration.
This statement has the following format:
IFSYS sysid1[,sysid2,sysid3,...,sysidn]
Specifies the IDs of the systems on which the following commands or statements should be executed, to a maximum of 16 IDs. You can use system names, aliases, or index numbers to identify systems.
Usage Notes: IFSYS Statement
Example: IFSYS Statement
Suppose that the EDIPARMS member contains EDIF processing statements for systems SYS1 and SYS2 and that the EDITEMP member contains EDIF processing statements for SYS3. You would specify the following IFSYS/ENDIF statement block to make each system use the correct member:
IFSYS SYS1,SYS2 EDIINIT MEMBER=EDIPARMS ENDIF IFSYS SYS3 EDIINIT MEMBER=EDITEMP ENDIF
Copyright © 2014 CA.
All rights reserved.
|
|