The switch built-in function (%SWITCH) compares one or more of eight
switches with the eight switch settings already established for the job and
returns a logical value of '0' or '1'. The initial
values of the switches for the job are determined first by the Create Job
Description (CRTJOBD) command; the default value is
00000000.
syntax
example
- 0
- The corresponding job switch is to be tested for a 0 (off).
- 1
- The corresponding job switch is to be tested for a 1 (on).
- X
- The corresponding job switch is not to be tested
syntax
IF COND(%SWITCH(0X111XX0)) THEN(GOTO C)
refer
http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topi
c=/com.ibm.etools.iseries.pgmgd.doc/evfclmst53.htm
example
No comments:
Post a Comment