You can use positional and keyword operands in the same macro instruction.
Use a positional operand for a value that you change often, and a
keyword operand for a value that you change infrequently.
Positional and keyword parameters can be mixed freely in the macro prototype statement (see
1 in Figure 1). The same applies to the
positional and keyword operands of the macro instruction (see 2 in
Figure 1). Note, however, that the order in which the positional parameters
appear (see 3 in Figure 1) determines the order
in which the positional operands must appear. Interspersed keyword parameters and operands (see
4 in Figure 1) do not affect this order. Figure 1. Combining positional and keyword
parameters
&SYSLIST(n): The system variable
symbol &SYSLIST(n) refers only to the
positional operands in a macro instruction.